google_api_manufacturers v0.2.0 GoogleApi.Manufacturers.V1.Model.Product View Source

Product data.

Attributes

  • attributes (Attributes): Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. Defaults to: null.
  • contentLanguage (String.t): The content language of the product as a two-letter ISO 639-1 language code (for example, en). Defaults to: null.
  • destinationStatuses ([DestinationStatus]): The status of the destinations. Defaults to: null.
  • issues ([Issue]): A server-generated list of issues associated with the product. Defaults to: null.
  • name (String.t): Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. Defaults to: null.
  • parent (String.t): Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. Defaults to: null.
  • productId (String.t): The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. Defaults to: null.
  • targetCountry (String.t): The target country of the product as a CLDR territory code (for example, US). Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Manufacturers.V1.Model.Product{
  attributes: GoogleApi.Manufacturers.V1.Model.Attributes.t(),
  contentLanguage: any(),
  destinationStatuses: [GoogleApi.Manufacturers.V1.Model.DestinationStatus.t()],
  issues: [GoogleApi.Manufacturers.V1.Model.Issue.t()],
  name: any(),
  parent: any(),
  productId: any(),
  targetCountry: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.