class Google::Apis::ManufacturersV1::Attributes

Attributes of the product. For more information, see support.google. com/manufacturers/answer/6124116.

Attributes

age_group[RW]

The target age group of the product. For more information, see support. google.com/manufacturers/answer/6124116#agegroup. Corresponds to the JSON property `ageGroup` @return [String]

brand[RW]

The brand name of the product. For more information, see support. google.com/manufacturers/answer/6124116#brand. Corresponds to the JSON property `brand` @return [String]

capacity[RW]

The capacity of a product. For more information, see support.google. com/manufacturers/answer/6124116#capacity. Corresponds to the JSON property `capacity` @return [Google::Apis::ManufacturersV1::Capacity]

color[RW]

The color of the product. For more information, see support.google.com/ manufacturers/answer/6124116#color. Corresponds to the JSON property `color` @return [String]

count[RW]

The number of products in a single package. For more information, see https:// support.google.com/manufacturers/answer/6124116#count. Corresponds to the JSON property `count` @return [Google::Apis::ManufacturersV1::Count]

description[RW]

The description of the product. For more information, see support. google.com/manufacturers/answer/6124116#description. Corresponds to the JSON property `description` @return [String]

disclosure_date[RW]

The disclosure date of the product. For more information, see support. google.com/manufacturers/answer/6124116#disclosure. Corresponds to the JSON property `disclosureDate` @return [String]

excluded_destination[RW]

A list of excluded destinations. Corresponds to the JSON property `excludedDestination` @return [Array<String>]

feature_description[RW]

The rich format description of the product. For more information, see https:// support.google.com/manufacturers/answer/6124116#featuredesc. Corresponds to the JSON property `featureDescription` @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]

flavor[RW]

The flavor of the product. For more information, see support.google. com/manufacturers/answer/6124116#flavor. Corresponds to the JSON property `flavor` @return [String]

format[RW]

The format of the product. For more information, see support.google. com/manufacturers/answer/6124116#format. Corresponds to the JSON property `format` @return [String]

gender[RW]

The target gender of the product. For more information, see support. google.com/manufacturers/answer/6124116#gender. Corresponds to the JSON property `gender` @return [String]

gtin[RW]

The Global Trade Item Number (GTIN) of the product. For more information, see support.google.com/manufacturers/answer/6124116#gtin. Corresponds to the JSON property `gtin` @return [Array<String>]

included_destination[RW]

A list of included destinations. Corresponds to the JSON property `includedDestination` @return [Array<String>]

item_group_id[RW]

The item group id of the product. For more information, see support. google.com/manufacturers/answer/6124116#itemgroupid. Corresponds to the JSON property `itemGroupId` @return [String]

material[RW]

The material of the product. For more information, see support.google. com/manufacturers/answer/6124116#material. Corresponds to the JSON property `material` @return [String]

mpn[RW]

The Manufacturer Part Number (MPN) of the product. For more information, see support.google.com/manufacturers/answer/6124116#mpn. Corresponds to the JSON property `mpn` @return [String]

pattern[RW]

The pattern of the product. For more information, see support.google. com/manufacturers/answer/6124116#pattern. Corresponds to the JSON property `pattern` @return [String]

product_detail[RW]

The details of the product. For more information, see support.google. com/manufacturers/answer/6124116#productdetail. Corresponds to the JSON property `productDetail` @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]

product_highlight[RW]

The product highlights. For more information, see support.google.com/ manufacturers/answer/10066942 Corresponds to the JSON property `productHighlight` @return [Array<String>]

product_line[RW]

The name of the group of products related to the product. For more information, see support.google.com/manufacturers/answer/6124116#productline. Corresponds to the JSON property `productLine` @return [String]

product_name[RW]

The canonical name of the product. For more information, see support. google.com/manufacturers/answer/6124116#productname. Corresponds to the JSON property `productName` @return [String]

product_page_url[RW]

The URL of the detail page of the product. For more information, see https:// support.google.com/manufacturers/answer/6124116#productpage. Corresponds to the JSON property `productPageUrl` @return [String]

product_type[RW]

The type or category of the product. For more information, see support. google.com/manufacturers/answer/6124116#producttype. Corresponds to the JSON property `productType` @return [Array<String>]

release_date[RW]

The release date of the product. For more information, see support. google.com/manufacturers/answer/6124116#release. Corresponds to the JSON property `releaseDate` @return [String]

rich_product_content[RW]

Rich product content. For more information, see support.google.com/ manufacturers/answer/9389865 Corresponds to the JSON property `richProductContent` @return [Array<String>]

scent[RW]

The scent of the product. For more information, see support.google.com/ manufacturers/answer/6124116#scent. Corresponds to the JSON property `scent` @return [String]

size[RW]

The size of the product. For more information, see support.google.com/ manufacturers/answer/6124116#size. Corresponds to the JSON property `size` @return [String]

size_system[RW]

The size system of the product. For more information, see support. google.com/manufacturers/answer/6124116#sizesystem. Corresponds to the JSON property `sizeSystem` @return [String]

size_type[RW]

The size type of the product. For more information, see support.google. com/manufacturers/answer/6124116#sizetype. Corresponds to the JSON property `sizeType` @return [Array<String>]

suggested_retail_price[RW]

A price. Corresponds to the JSON property `suggestedRetailPrice` @return [Google::Apis::ManufacturersV1::Price]

target_client_id[RW]

The target client id. Should only be used in the accounts of the data partners. Corresponds to the JSON property `targetClientId` @return [String]

theme[RW]

The theme of the product. For more information, see support.google.com/ manufacturers/answer/6124116#theme. Corresponds to the JSON property `theme` @return [String]

title[RW]

The title of the product. For more information, see support.google.com/ manufacturers/answer/6124116#title. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/manufacturers_v1/classes.rb, line 247
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/manufacturers_v1/classes.rb, line 252
def update!(**args)
  @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
  @age_group = args[:age_group] if args.key?(:age_group)
  @brand = args[:brand] if args.key?(:brand)
  @capacity = args[:capacity] if args.key?(:capacity)
  @color = args[:color] if args.key?(:color)
  @count = args[:count] if args.key?(:count)
  @description = args[:description] if args.key?(:description)
  @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
  @excluded_destination = args[:excluded_destination] if args.key?(:excluded_destination)
  @feature_description = args[:feature_description] if args.key?(:feature_description)
  @flavor = args[:flavor] if args.key?(:flavor)
  @format = args[:format] if args.key?(:format)
  @gender = args[:gender] if args.key?(:gender)
  @gtin = args[:gtin] if args.key?(:gtin)
  @image_link = args[:image_link] if args.key?(:image_link)
  @included_destination = args[:included_destination] if args.key?(:included_destination)
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
  @material = args[:material] if args.key?(:material)
  @mpn = args[:mpn] if args.key?(:mpn)
  @pattern = args[:pattern] if args.key?(:pattern)
  @product_detail = args[:product_detail] if args.key?(:product_detail)
  @product_highlight = args[:product_highlight] if args.key?(:product_highlight)
  @product_line = args[:product_line] if args.key?(:product_line)
  @product_name = args[:product_name] if args.key?(:product_name)
  @product_page_url = args[:product_page_url] if args.key?(:product_page_url)
  @product_type = args[:product_type] if args.key?(:product_type)
  @release_date = args[:release_date] if args.key?(:release_date)
  @rich_product_content = args[:rich_product_content] if args.key?(:rich_product_content)
  @scent = args[:scent] if args.key?(:scent)
  @size = args[:size] if args.key?(:size)
  @size_system = args[:size_system] if args.key?(:size_system)
  @size_type = args[:size_type] if args.key?(:size_type)
  @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
  @target_client_id = args[:target_client_id] if args.key?(:target_client_id)
  @theme = args[:theme] if args.key?(:theme)
  @title = args[:title] if args.key?(:title)
  @video_link = args[:video_link] if args.key?(:video_link)
end