View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProduct (google_api_content_warehouse v0.4.0)

A product that can be purchased.

Attributes

  • catalogId (type: String.t, default: nil) - The shopping catalog identifier.
  • maxPrice (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney.t, default: nil) - The highes price this product is available for.
  • mediaProduct (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductMediaProduct.t, default: nil) - TODO(ppoudyal) Add logging for media_product.
  • mid (type: String.t, default: nil) - Optional. Knowledge Graph identifier for the product.
  • minPrice (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney.t, default: nil) - The lowest price this product is available for.
  • title (type: String.t, default: nil) - Title of the product. Example: Moto X Blue 64GB Note: This refers to only the catalog title not user specified phrase

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProduct{
    catalogId: String.t() | nil,
    maxPrice:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney.t()
      | nil,
    mediaProduct:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductMediaProduct.t()
      | nil,
    mid: String.t() | nil,
    minPrice:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney.t()
      | nil,
    title: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.