Class: Google::Apis::ManufacturersV1::Attributes
- Inherits:
-
Object
- Object
- Google::Apis::ManufacturersV1::Attributes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manufacturers_v1/classes.rb,
generated/google/apis/manufacturers_v1/representations.rb,
generated/google/apis/manufacturers_v1/representations.rb
Overview
Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.
Instance Attribute Summary collapse
-
#additional_image_link ⇒ Array<Google::Apis::ManufacturersV1::Image>
The additional images of the product.
-
#age_group ⇒ String
The target age group of the product.
-
#brand ⇒ String
The brand name of the product.
-
#capacity ⇒ Google::Apis::ManufacturersV1::Capacity
The capacity of a product.
-
#color ⇒ String
The color of the product.
-
#count ⇒ Google::Apis::ManufacturersV1::Count
The number of products in a single package.
-
#description ⇒ String
The description of the product.
-
#disclosure_date ⇒ String
The disclosure date of the product.
-
#feature_description ⇒ Array<Google::Apis::ManufacturersV1::FeatureDescription>
The rich format description of the product.
-
#flavor ⇒ String
The flavor of the product.
-
#format ⇒ String
The format of the product.
-
#gender ⇒ String
The target gender of the product.
-
#gtin ⇒ Array<String>
The Global Trade Item Number (GTIN) of the product.
-
#image_link ⇒ Google::Apis::ManufacturersV1::Image
An image.
-
#item_group_id ⇒ String
The item group id of the product.
-
#material ⇒ String
The material of the product.
-
#mpn ⇒ String
The Manufacturer Part Number (MPN) of the product.
-
#pattern ⇒ String
The pattern of the product.
-
#product_detail ⇒ Array<Google::Apis::ManufacturersV1::ProductDetail>
The details of the product.
-
#product_line ⇒ String
The name of the group of products related to the product.
-
#product_name ⇒ String
The canonical name of the product.
-
#product_page_url ⇒ String
The URL of the detail page of the product.
-
#product_type ⇒ Array<String>
The category of the product.
-
#release_date ⇒ String
The release date of the product.
-
#scent ⇒ String
The scent of the product.
-
#size ⇒ String
The size of the product.
-
#size_system ⇒ String
The size system of the product.
-
#size_type ⇒ String
The size type of the product.
-
#suggested_retail_price ⇒ Google::Apis::ManufacturersV1::Price
A price.
-
#theme ⇒ String
The theme of the product.
-
#title ⇒ String
The title of the product.
-
#video_link ⇒ Array<String>
The videos of the product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attributes
constructor
A new instance of Attributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Attributes
Returns a new instance of Attributes
563 564 565 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_image_link ⇒ Array<Google::Apis::ManufacturersV1::Image>
The additional images of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#addlimage.
Corresponds to the JSON property additionalImageLink
393 394 395 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 393 def additional_image_link @additional_image_link end |
#age_group ⇒ String
The target age group of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#agegroup.
Corresponds to the JSON property ageGroup
476 477 478 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 476 def age_group @age_group end |
#brand ⇒ String
The brand name of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#brand.
Corresponds to the JSON property brand
452 453 454 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 452 def brand @brand end |
#capacity ⇒ Google::Apis::ManufacturersV1::Capacity
The capacity of a product. For more information, see
https://support.google.com/manufacturers/answer/6124116#capacity.
Corresponds to the JSON property capacity
531 532 533 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 531 def capacity @capacity end |
#color ⇒ String
The color of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#color.
Corresponds to the JSON property color
405 406 407 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 405 def color @color end |
#count ⇒ Google::Apis::ManufacturersV1::Count
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
446 447 448 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 446 def count @count end |
#description ⇒ String
The description of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#description.
Corresponds to the JSON property description
537 538 539 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 537 def description @description end |
#disclosure_date ⇒ String
The disclosure date of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#disclosure.
Corresponds to the JSON property disclosureDate
458 459 460 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 458 def disclosure_date @disclosure_date end |
#feature_description ⇒ Array<Google::Apis::ManufacturersV1::FeatureDescription>
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
428 429 430 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 428 def feature_description @feature_description end |
#flavor ⇒ String
The flavor of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#flavor.
Corresponds to the JSON property flavor
488 489 490 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 488 def flavor @flavor end |
#format ⇒ String
The format of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#format.
Corresponds to the JSON property format
387 388 389 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 387 def format @format end |
#gender ⇒ String
The target gender of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#gender.
Corresponds to the JSON property gender
543 544 545 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 543 def gender @gender end |
#gtin ⇒ Array<String>
The Global Trade Item Number (GTIN) of the product. For more information,
see https://support.google.com/manufacturers/answer/6124116#gtin.
Corresponds to the JSON property gtin
518 519 520 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 518 def gtin @gtin end |
#image_link ⇒ Google::Apis::ManufacturersV1::Image
An image.
Corresponds to the JSON property imageLink
375 376 377 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 375 def image_link @image_link end |
#item_group_id ⇒ String
The item group id of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#itemgroupid.
Corresponds to the JSON property itemGroupId
512 513 514 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 512 def item_group_id @item_group_id end |
#material ⇒ String
The material of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#material.
Corresponds to the JSON property material
464 465 466 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 464 def material @material end |
#mpn ⇒ String
The Manufacturer Part Number (MPN) of the product. For more information,
see https://support.google.com/manufacturers/answer/6124116#mpn.
Corresponds to the JSON property mpn
494 495 496 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 494 def mpn @mpn end |
#pattern ⇒ String
The pattern of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#pattern.
Corresponds to the JSON property pattern
561 562 563 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 561 def pattern @pattern end |
#product_detail ⇒ Array<Google::Apis::ManufacturersV1::ProductDetail>
The details of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#productdetail.
Corresponds to the JSON property productDetail
482 483 484 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 482 def product_detail @product_detail end |
#product_line ⇒ String
The name of the group of products related to the product. For more
information, see
https://support.google.com/manufacturers/answer/6124116#productline.
Corresponds to the JSON property productLine
525 526 527 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 525 def product_line @product_line end |
#product_name ⇒ String
The canonical name of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#productname.
Corresponds to the JSON property productName
411 412 413 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 411 def product_name @product_name end |
#product_page_url ⇒ String
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
500 501 502 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 500 def product_page_url @product_page_url end |
#product_type ⇒ Array<String>
The category of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#producttype.
Corresponds to the JSON property productType
381 382 383 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 381 def product_type @product_type end |
#release_date ⇒ String
The release date of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#release.
Corresponds to the JSON property releaseDate
506 507 508 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 506 def release_date @release_date end |
#scent ⇒ String
The scent of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#scent.
Corresponds to the JSON property scent
470 471 472 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 470 def scent @scent end |
#size ⇒ String
The size of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#size.
Corresponds to the JSON property size
434 435 436 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 434 def size @size end |
#size_system ⇒ String
The size system of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#sizesystem.
Corresponds to the JSON property sizeSystem
549 550 551 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 549 def size_system @size_system end |
#size_type ⇒ String
The size type of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#sizetype.
Corresponds to the JSON property sizeType
417 418 419 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 417 def size_type @size_type end |
#suggested_retail_price ⇒ Google::Apis::ManufacturersV1::Price
A price.
Corresponds to the JSON property suggestedRetailPrice
422 423 424 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 422 def suggested_retail_price @suggested_retail_price end |
#theme ⇒ String
The theme of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#theme.
Corresponds to the JSON property theme
555 556 557 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 555 def theme @theme end |
#title ⇒ String
The title of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#title.
Corresponds to the JSON property title
440 441 442 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 440 def title @title end |
#video_link ⇒ Array<String>
The videos of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#video.
Corresponds to the JSON property videoLink
399 400 401 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 399 def video_link @video_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 568 def update!(**args) @image_link = args[:image_link] if args.key?(:image_link) @product_type = args[:product_type] if args.key?(:product_type) @format = args[:format] if args.key?(:format) @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link) @video_link = args[:video_link] if args.key?(:video_link) @color = args[:color] if args.key?(:color) @product_name = args[:product_name] if args.key?(:product_name) @size_type = args[:size_type] if args.key?(:size_type) @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price) @feature_description = args[:feature_description] if args.key?(:feature_description) @size = args[:size] if args.key?(:size) @title = args[:title] if args.key?(:title) @count = args[:count] if args.key?(:count) @brand = args[:brand] if args.key?(:brand) @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) @material = args[:material] if args.key?(:material) @scent = args[:scent] if args.key?(:scent) @age_group = args[:age_group] if args.key?(:age_group) @product_detail = args[:product_detail] if args.key?(:product_detail) @flavor = args[:flavor] if args.key?(:flavor) @mpn = args[:mpn] if args.key?(:mpn) @product_page_url = args[:product_page_url] if args.key?(:product_page_url) @release_date = args[:release_date] if args.key?(:release_date) @item_group_id = args[:item_group_id] if args.key?(:item_group_id) @gtin = args[:gtin] if args.key?(:gtin) @product_line = args[:product_line] if args.key?(:product_line) @capacity = args[:capacity] if args.key?(:capacity) @description = args[:description] if args.key?(:description) @gender = args[:gender] if args.key?(:gender) @size_system = args[:size_system] if args.key?(:size_system) @theme = args[:theme] if args.key?(:theme) @pattern = args[:pattern] if args.key?(:pattern) end |