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

Product data.

Attributes

  • attributes (type: GoogleApi.Manufacturers.V1.Model.Attributes.t, default: nil) - Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account.

  • contentLanguage (type: String.t, default: nil) - The content language of the product as a two-letter ISO 639-1 language code (for example, en).

  • destinationStatuses (type: list(GoogleApi.Manufacturers.V1.Model.DestinationStatus.t), default: nil) - The status of the destinations.

  • issues (type: list(GoogleApi.Manufacturers.V1.Model.Issue.t), default: nil) - A server-generated list of issues associated with the product.

  • name (type: String.t, default: nil) - 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.
  • parent (type: String.t, default: nil) - Parent ID in the format accounts/{account_id}.

    account_id - The ID of the Manufacturer Center account.

  • productId (type: String.t, default: nil) - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.

  • targetCountry (type: String.t, default: nil) - The target country of the product as a CLDR territory code (for example, US).

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.