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

Product data.

Attributes

  • attributes (GoogleApi.Manufacturers.V1.Model.Attributes.t): Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. Defaults to nil.
  • contentLanguage (String.t): The content language of the product as a two-letter ISO 639-1 language code (for example, en). Defaults to nil.
  • destinationStatuses (list(GoogleApi.Manufacturers.V1.Model.DestinationStatus.t)): The status of the destinations. Defaults to nil.
  • issues (list(GoogleApi.Manufacturers.V1.Model.Issue.t)): A server-generated list of issues associated with the product. Defaults to nil.
  • 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 `nil`.
  • parent (String.t): Parent ID in the format accounts/{account_id}.

account_id - The ID of the Manufacturer Center account. Defaults to nil.

  • productId (String.t): The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. Defaults to nil.
  • targetCountry (String.t): The target country of the product as a CLDR territory code (for example, US). Defaults to nil.

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: String.t(),
  destinationStatuses: [GoogleApi.Manufacturers.V1.Model.DestinationStatus.t()],
  issues: [GoogleApi.Manufacturers.V1.Model.Issue.t()],
  name: String.t(),
  parent: String.t(),
  productId: String.t(),
  targetCountry: String.t()
}

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.