| 
									
										
										
										
											2017-01-28 03:38:40 +00:00
										 |  |  | # Copyright 2015 Google Inc. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | # you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | # You may obtain a copy of the License at | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #      http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | # distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | # See the License for the specific language governing permissions and | 
					
						
							|  |  |  | # limitations under the License. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require 'date' | 
					
						
							|  |  |  | require 'google/apis/core/base_service' | 
					
						
							|  |  |  | require 'google/apis/core/json_representation' | 
					
						
							|  |  |  | require 'google/apis/core/hashable' | 
					
						
							|  |  |  | require 'google/apis/errors' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Google | 
					
						
							|  |  |  |   module Apis | 
					
						
							|  |  |  |     module ManufacturersV1 | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # Attributes of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |       # com/manufacturers/answer/6124116. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class Attributes | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The additional images of the product. For more information, see https:// | 
					
						
							|  |  |  |         # support.google.com/manufacturers/answer/6124116#addlimage. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `additionalImageLink` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::Image>] | 
					
						
							|  |  |  |         attr_accessor :additional_image_link | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The target age group of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#agegroup. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `ageGroup` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :age_group | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The brand name of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#brand. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `brand` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :brand | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The capacity of a product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#capacity. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `capacity` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Capacity] | 
					
						
							|  |  |  |         attr_accessor :capacity | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The color of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#color. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `color` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :color | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The number of products in a single package. For more information, see https:// | 
					
						
							|  |  |  |         # support.google.com/manufacturers/answer/6124116#count. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `count` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Count] | 
					
						
							|  |  |  |         attr_accessor :count | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The description of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#description. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `description` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :description | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The disclosure date of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#disclosure. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `disclosureDate` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :disclosure_date | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # A list of excluded destinations. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `excludedDestination` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :excluded_destination | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The rich format description of the product. For more information, see https:// | 
					
						
							|  |  |  |         # support.google.com/manufacturers/answer/6124116#featuredesc. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `featureDescription` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>] | 
					
						
							|  |  |  |         attr_accessor :feature_description | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The flavor of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#flavor. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `flavor` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :flavor | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The format of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#format. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `format` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :format | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The target gender of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#gender. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `gender` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :gender | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The Global Trade Item Number (GTIN) of the product. For more information, see | 
					
						
							|  |  |  |         # https://support.google.com/manufacturers/answer/6124116#gtin. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `gtin` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :gtin | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # An image. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `imageLink` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Image] | 
					
						
							|  |  |  |         attr_accessor :image_link | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # A list of included destinations. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `includedDestination` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :included_destination | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The item group id of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#itemgroupid. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `itemGroupId` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :item_group_id | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The material of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#material. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `material` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :material | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The Manufacturer Part Number (MPN) of the product. For more information, see | 
					
						
							|  |  |  |         # https://support.google.com/manufacturers/answer/6124116#mpn. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `mpn` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :mpn | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The pattern of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#pattern. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `pattern` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :pattern | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The details of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#productdetail. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productDetail` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::ProductDetail>] | 
					
						
							|  |  |  |         attr_accessor :product_detail | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The name of the group of products related to the product. For more information, | 
					
						
							|  |  |  |         # see https://support.google.com/manufacturers/answer/6124116#productline. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productLine` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :product_line | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The canonical name of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#productname. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productName` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :product_name | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The URL of the detail page of the product. For more information, see https:// | 
					
						
							|  |  |  |         # support.google.com/manufacturers/answer/6124116#productpage. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productPageUrl` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :product_page_url | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The type or category of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#producttype. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productType` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :product_type | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The release date of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#release. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `releaseDate` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :release_date | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # Rich product content. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/9389865 | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |         # Corresponds to the JSON property `richProductContent` | 
					
						
							| 
									
										
										
										
											2020-03-10 00:38:14 +00:00
										 |  |  |         # @return [Array<String>] | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |         attr_accessor :rich_product_content | 
					
						
							| 
									
										
										
										
											2020-03-10 00:38:14 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The scent of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#scent. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `scent` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :scent | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The size of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#size. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `size` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :size | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The size system of the product. For more information, see https://support. | 
					
						
							|  |  |  |         # google.com/manufacturers/answer/6124116#sizesystem. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `sizeSystem` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :size_system | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The size type of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#sizetype. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `sizeType` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :size_type | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # A price. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `suggestedRetailPrice` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Price] | 
					
						
							|  |  |  |         attr_accessor :suggested_retail_price | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The target client id. Should only be used in the accounts of the data partners. | 
					
						
							| 
									
										
										
										
											2017-10-11 00:34:58 +00:00
										 |  |  |         # Corresponds to the JSON property `targetClientId` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :target_client_id | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The theme of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#theme. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `theme` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :theme | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The title of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#title. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `title` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :title | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The videos of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116#video. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `videoLink` | 
					
						
							|  |  |  |         # @return [Array<String>] | 
					
						
							|  |  |  |         attr_accessor :video_link | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @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) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @excluded_destination = args[:excluded_destination] if args.key?(:excluded_destination) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @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) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @included_destination = args[:included_destination] if args.key?(:included_destination) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @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_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) | 
					
						
							| 
									
										
										
										
											2020-04-13 16:49:10 +00:00
										 |  |  |           @rich_product_content = args[:rich_product_content] if args.key?(:rich_product_content) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @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) | 
					
						
							| 
									
										
										
										
											2017-10-11 00:34:58 +00:00
										 |  |  |           @target_client_id = args[:target_client_id] if args.key?(:target_client_id) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @theme = args[:theme] if args.key?(:theme) | 
					
						
							|  |  |  |           @title = args[:title] if args.key?(:title) | 
					
						
							|  |  |  |           @video_link = args[:video_link] if args.key?(:video_link) | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # The capacity of a product. For more information, see https://support.google. | 
					
						
							|  |  |  |       # com/manufacturers/answer/6124116#capacity. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class Capacity | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The unit of the capacity, i.e., MB, GB, or TB. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `unit` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :unit | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The numeric value of the capacity. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `value` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :value | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @unit = args[:unit] if args.key?(:unit) | 
					
						
							|  |  |  |           @value = args[:value] if args.key?(:value) | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # The number of products in a single package. For more information, see https:// | 
					
						
							|  |  |  |       # support.google.com/manufacturers/answer/6124116#count. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class Count | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The unit in which these products are counted. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `unit` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :unit | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The numeric value of the number of products in a package. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `value` | 
					
						
							|  |  |  |         # @return [Fixnum] | 
					
						
							|  |  |  |         attr_accessor :value | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @unit = args[:unit] if args.key?(:unit) | 
					
						
							|  |  |  |           @value = args[:value] if args.key?(:value) | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |       # The destination status. | 
					
						
							|  |  |  |       class DestinationStatus | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The name of the destination. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `destination` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :destination | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The status of the destination. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `status` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :status | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @destination = args[:destination] if args.key?(:destination) | 
					
						
							|  |  |  |           @status = args[:status] if args.key?(:status) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # A generic empty message that you can re-use to avoid defining duplicated empty | 
					
						
							|  |  |  |       # messages in your APIs. A typical example is to use it as the request or the | 
					
						
							|  |  |  |       # response type of an API method. For instance: service Foo ` rpc Bar(google. | 
					
						
							|  |  |  |       # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for | 
					
						
							|  |  |  |       # `Empty` is empty JSON object ````. | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |       class Empty | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # A feature description of the product. For more information, see https:// | 
					
						
							|  |  |  |       # support.google.com/manufacturers/answer/6124116#featuredesc. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class FeatureDescription | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # A short description of the feature. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `headline` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :headline | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # An image. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `image` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Image] | 
					
						
							|  |  |  |         attr_accessor :image | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # A detailed description of the feature. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `text` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :text | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @headline = args[:headline] if args.key?(:headline) | 
					
						
							|  |  |  |           @image = args[:image] if args.key?(:image) | 
					
						
							|  |  |  |           @text = args[:text] if args.key?(:text) | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |       # An image. | 
					
						
							|  |  |  |       class Image | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The URL of the image. For crawled images, this is the provided URL. For | 
					
						
							|  |  |  |         # uploaded images, this is a serving URL from Google if the image has been | 
					
						
							|  |  |  |         # processed successfully. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `imageUrl` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :image_url | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The status of the image. @OutputOnly | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         # Corresponds to the JSON property `status` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :status | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The type of the image, i.e., crawled or uploaded. @OutputOnly | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |         # Corresponds to the JSON property `type` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :type | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @image_url = args[:image_url] if args.key?(:image_url) | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |           @status = args[:status] if args.key?(:status) | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |           @type = args[:type] if args.key?(:type) | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       # Product issue. | 
					
						
							|  |  |  |       class Issue | 
					
						
							| 
									
										
										
										
											2017-04-03 20:18:48 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # If present, the attribute that triggered the issue. For more information about | 
					
						
							|  |  |  |         # attributes, see https://support.google.com/manufacturers/answer/6124116. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `attribute` | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :attribute | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-02-08 00:36:11 +00:00
										 |  |  |         # Longer description of the issue focused on how to resolve it. | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         # Corresponds to the JSON property `description` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :description | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # The destination this issue applies to. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `destination` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :destination | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # What needs to happen to resolve the issue. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `resolution` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :resolution | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The severity of the issue. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `severity` | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :severity | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The timestamp when this issue appeared. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `timestamp` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :timestamp | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # Short title describing the nature of the issue. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `title` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :title | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The server-generated type of the issue, for example, “ | 
					
						
							|  |  |  |         # INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `type` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :type | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @attribute = args[:attribute] if args.key?(:attribute) | 
					
						
							|  |  |  |           @description = args[:description] if args.key?(:description) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @destination = args[:destination] if args.key?(:destination) | 
					
						
							|  |  |  |           @resolution = args[:resolution] if args.key?(:resolution) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @severity = args[:severity] if args.key?(:severity) | 
					
						
							|  |  |  |           @timestamp = args[:timestamp] if args.key?(:timestamp) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @title = args[:title] if args.key?(:title) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @type = args[:type] if args.key?(:type) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       #  | 
					
						
							|  |  |  |       class ListProductsResponse | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The token for the retrieval of the next page of product statuses. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `nextPageToken` | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :next_page_token | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # List of the products. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `products` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::Product>] | 
					
						
							|  |  |  |         attr_accessor :products | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @next_page_token = args[:next_page_token] if args.key?(:next_page_token) | 
					
						
							|  |  |  |           @products = args[:products] if args.key?(:products) | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       # A price. | 
					
						
							|  |  |  |       class Price | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The numeric value of the price. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `amount` | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         attr_accessor :amount | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # The currency in which the price is denoted. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `currency` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :currency | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @amount = args[:amount] if args.key?(:amount) | 
					
						
							|  |  |  |           @currency = args[:currency] if args.key?(:currency) | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |       # Product data. | 
					
						
							|  |  |  |       class Product | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # Attributes of the product. For more information, see https://support.google. | 
					
						
							|  |  |  |         # com/manufacturers/answer/6124116. | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # Corresponds to the JSON property `attributes` | 
					
						
							|  |  |  |         # @return [Google::Apis::ManufacturersV1::Attributes] | 
					
						
							|  |  |  |         attr_accessor :attributes | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The content language of the product as a two-letter ISO 639-1 language code ( | 
					
						
							|  |  |  |         # for example, en). | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `contentLanguage` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :content_language | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |         # The status of the destinations. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `destinationStatuses` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::DestinationStatus>] | 
					
						
							|  |  |  |         attr_accessor :destination_statuses | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # A server-generated list of issues associated with the product. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `issues` | 
					
						
							|  |  |  |         # @return [Array<Google::Apis::ManufacturersV1::Issue>] | 
					
						
							|  |  |  |         attr_accessor :issues | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # 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. | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |         # Corresponds to the JSON property `name` | 
					
						
							| 
									
										
										
										
											2017-05-26 16:44:32 +00:00
										 |  |  |         # @return [String] | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |         attr_accessor :name | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # Parent ID in the format `accounts/`account_id``. `account_id` - The ID of the | 
					
						
							|  |  |  |         # Manufacturer Center account. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `parent` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :parent | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The ID of the product. For more information, see https://support.google.com/ | 
					
						
							|  |  |  |         # manufacturers/answer/6124116#id. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `productId` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :product_id | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |         # The target country of the product as a CLDR territory code (for example, US). | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |         # Corresponds to the JSON property `targetCountry` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :target_country | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @attributes = args[:attributes] if args.key?(:attributes) | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |           @content_language = args[:content_language] if args.key?(:content_language) | 
					
						
							| 
									
										
										
										
											2018-04-06 00:35:48 +00:00
										 |  |  |           @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses) | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |           @issues = args[:issues] if args.key?(:issues) | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |           @name = args[:name] if args.key?(:name) | 
					
						
							|  |  |  |           @parent = args[:parent] if args.key?(:parent) | 
					
						
							|  |  |  |           @product_id = args[:product_id] if args.key?(:product_id) | 
					
						
							|  |  |  |           @target_country = args[:target_country] if args.key?(:target_country) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2020-08-11 00:38:09 +00:00
										 |  |  |       # A product detail of the product. For more information, see https://support. | 
					
						
							|  |  |  |       # google.com/manufacturers/answer/6124116#productdetail. | 
					
						
							| 
									
										
										
										
											2017-08-25 19:54:22 +00:00
										 |  |  |       class ProductDetail | 
					
						
							|  |  |  |         include Google::Apis::Core::Hashable | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The name of the attribute. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `attributeName` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :attribute_name | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # The value of the attribute. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `attributeValue` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :attribute_value | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # A short section name that can be reused between multiple product details. | 
					
						
							|  |  |  |         # Corresponds to the JSON property `sectionName` | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         attr_accessor :section_name | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         def initialize(**args) | 
					
						
							|  |  |  |            update!(**args) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         # Update properties of this object | 
					
						
							|  |  |  |         def update!(**args) | 
					
						
							|  |  |  |           @attribute_name = args[:attribute_name] if args.key?(:attribute_name) | 
					
						
							|  |  |  |           @attribute_value = args[:attribute_value] if args.key?(:attribute_value) | 
					
						
							|  |  |  |           @section_name = args[:section_name] if args.key?(:section_name) | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2017-01-28 03:38:40 +00:00
										 |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |