google-api-client 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
|
@@ -22,243 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ManufacturersV1
|
|
24
24
|
|
|
25
|
-
# Attributes of the product. For more information, see
|
|
26
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
27
|
-
class Attributes
|
|
28
|
-
include Google::Apis::Core::Hashable
|
|
29
|
-
|
|
30
|
-
# The size type of the product. For more information, see
|
|
31
|
-
# https://support.google.com/manufacturers/answer/6124116#sizetype.
|
|
32
|
-
# Corresponds to the JSON property `sizeType`
|
|
33
|
-
# @return [String]
|
|
34
|
-
attr_accessor :size_type
|
|
35
|
-
|
|
36
|
-
# A price.
|
|
37
|
-
# Corresponds to the JSON property `suggestedRetailPrice`
|
|
38
|
-
# @return [Google::Apis::ManufacturersV1::Price]
|
|
39
|
-
attr_accessor :suggested_retail_price
|
|
40
|
-
|
|
41
|
-
# The rich format description of the product. For more information, see
|
|
42
|
-
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
43
|
-
# Corresponds to the JSON property `featureDescription`
|
|
44
|
-
# @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
|
|
45
|
-
attr_accessor :feature_description
|
|
46
|
-
|
|
47
|
-
# The size of the product. For more information, see
|
|
48
|
-
# https://support.google.com/manufacturers/answer/6124116#size.
|
|
49
|
-
# Corresponds to the JSON property `size`
|
|
50
|
-
# @return [String]
|
|
51
|
-
attr_accessor :size
|
|
52
|
-
|
|
53
|
-
# The title of the product. For more information, see
|
|
54
|
-
# https://support.google.com/manufacturers/answer/6124116#title.
|
|
55
|
-
# Corresponds to the JSON property `title`
|
|
56
|
-
# @return [String]
|
|
57
|
-
attr_accessor :title
|
|
58
|
-
|
|
59
|
-
# The number of products in a single package. For more information, see
|
|
60
|
-
# https://support.google.com/manufacturers/answer/6124116#count.
|
|
61
|
-
# Corresponds to the JSON property `count`
|
|
62
|
-
# @return [Google::Apis::ManufacturersV1::Count]
|
|
63
|
-
attr_accessor :count
|
|
64
|
-
|
|
65
|
-
# The brand name of the product. For more information, see
|
|
66
|
-
# https://support.google.com/manufacturers/answer/6124116#brand.
|
|
67
|
-
# Corresponds to the JSON property `brand`
|
|
68
|
-
# @return [String]
|
|
69
|
-
attr_accessor :brand
|
|
70
|
-
|
|
71
|
-
# The disclosure date of the product. For more information, see
|
|
72
|
-
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
|
73
|
-
# Corresponds to the JSON property `disclosureDate`
|
|
74
|
-
# @return [String]
|
|
75
|
-
attr_accessor :disclosure_date
|
|
76
|
-
|
|
77
|
-
# The material of the product. For more information, see
|
|
78
|
-
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
79
|
-
# Corresponds to the JSON property `material`
|
|
80
|
-
# @return [String]
|
|
81
|
-
attr_accessor :material
|
|
82
|
-
|
|
83
|
-
# The scent of the product. For more information, see
|
|
84
|
-
# https://support.google.com/manufacturers/answer/6124116#scent.
|
|
85
|
-
# Corresponds to the JSON property `scent`
|
|
86
|
-
# @return [String]
|
|
87
|
-
attr_accessor :scent
|
|
88
|
-
|
|
89
|
-
# The flavor of the product. For more information, see
|
|
90
|
-
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
|
91
|
-
# Corresponds to the JSON property `flavor`
|
|
92
|
-
# @return [String]
|
|
93
|
-
attr_accessor :flavor
|
|
94
|
-
|
|
95
|
-
# The details of the product. For more information, see
|
|
96
|
-
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
97
|
-
# Corresponds to the JSON property `productDetail`
|
|
98
|
-
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
|
99
|
-
attr_accessor :product_detail
|
|
100
|
-
|
|
101
|
-
# The target age group of the product. For more information, see
|
|
102
|
-
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
|
103
|
-
# Corresponds to the JSON property `ageGroup`
|
|
104
|
-
# @return [String]
|
|
105
|
-
attr_accessor :age_group
|
|
106
|
-
|
|
107
|
-
# The Manufacturer Part Number (MPN) of the product. For more information,
|
|
108
|
-
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
|
109
|
-
# Corresponds to the JSON property `mpn`
|
|
110
|
-
# @return [String]
|
|
111
|
-
attr_accessor :mpn
|
|
112
|
-
|
|
113
|
-
# The URL of the detail page of the product. For more information, see
|
|
114
|
-
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
|
115
|
-
# Corresponds to the JSON property `productPageUrl`
|
|
116
|
-
# @return [String]
|
|
117
|
-
attr_accessor :product_page_url
|
|
118
|
-
|
|
119
|
-
# The release date of the product. For more information, see
|
|
120
|
-
# https://support.google.com/manufacturers/answer/6124116#release.
|
|
121
|
-
# Corresponds to the JSON property `releaseDate`
|
|
122
|
-
# @return [String]
|
|
123
|
-
attr_accessor :release_date
|
|
124
|
-
|
|
125
|
-
# The Global Trade Item Number (GTIN) of the product. For more information,
|
|
126
|
-
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
|
127
|
-
# Corresponds to the JSON property `gtin`
|
|
128
|
-
# @return [Array<String>]
|
|
129
|
-
attr_accessor :gtin
|
|
130
|
-
|
|
131
|
-
# The item group id of the product. For more information, see
|
|
132
|
-
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
|
|
133
|
-
# Corresponds to the JSON property `itemGroupId`
|
|
134
|
-
# @return [String]
|
|
135
|
-
attr_accessor :item_group_id
|
|
136
|
-
|
|
137
|
-
# The name of the group of products related to the product. For more
|
|
138
|
-
# information, see
|
|
139
|
-
# https://support.google.com/manufacturers/answer/6124116#productline.
|
|
140
|
-
# Corresponds to the JSON property `productLine`
|
|
141
|
-
# @return [String]
|
|
142
|
-
attr_accessor :product_line
|
|
143
|
-
|
|
144
|
-
# The capacity of a product. For more information, see
|
|
145
|
-
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
|
146
|
-
# Corresponds to the JSON property `capacity`
|
|
147
|
-
# @return [Google::Apis::ManufacturersV1::Capacity]
|
|
148
|
-
attr_accessor :capacity
|
|
149
|
-
|
|
150
|
-
# The description of the product. For more information, see
|
|
151
|
-
# https://support.google.com/manufacturers/answer/6124116#description.
|
|
152
|
-
# Corresponds to the JSON property `description`
|
|
153
|
-
# @return [String]
|
|
154
|
-
attr_accessor :description
|
|
155
|
-
|
|
156
|
-
# The target gender of the product. For more information, see
|
|
157
|
-
# https://support.google.com/manufacturers/answer/6124116#gender.
|
|
158
|
-
# Corresponds to the JSON property `gender`
|
|
159
|
-
# @return [String]
|
|
160
|
-
attr_accessor :gender
|
|
161
|
-
|
|
162
|
-
# The size system of the product. For more information, see
|
|
163
|
-
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
|
|
164
|
-
# Corresponds to the JSON property `sizeSystem`
|
|
165
|
-
# @return [String]
|
|
166
|
-
attr_accessor :size_system
|
|
167
|
-
|
|
168
|
-
# The theme of the product. For more information, see
|
|
169
|
-
# https://support.google.com/manufacturers/answer/6124116#theme.
|
|
170
|
-
# Corresponds to the JSON property `theme`
|
|
171
|
-
# @return [String]
|
|
172
|
-
attr_accessor :theme
|
|
173
|
-
|
|
174
|
-
# The pattern of the product. For more information, see
|
|
175
|
-
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
176
|
-
# Corresponds to the JSON property `pattern`
|
|
177
|
-
# @return [String]
|
|
178
|
-
attr_accessor :pattern
|
|
179
|
-
|
|
180
|
-
# An image.
|
|
181
|
-
# Corresponds to the JSON property `imageLink`
|
|
182
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
183
|
-
attr_accessor :image_link
|
|
184
|
-
|
|
185
|
-
# The category of the product. For more information, see
|
|
186
|
-
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
187
|
-
# Corresponds to the JSON property `productType`
|
|
188
|
-
# @return [Array<String>]
|
|
189
|
-
attr_accessor :product_type
|
|
190
|
-
|
|
191
|
-
# The format of the product. For more information, see
|
|
192
|
-
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
193
|
-
# Corresponds to the JSON property `format`
|
|
194
|
-
# @return [String]
|
|
195
|
-
attr_accessor :format
|
|
196
|
-
|
|
197
|
-
# The additional images of the product. For more information, see
|
|
198
|
-
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
199
|
-
# Corresponds to the JSON property `additionalImageLink`
|
|
200
|
-
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
201
|
-
attr_accessor :additional_image_link
|
|
202
|
-
|
|
203
|
-
# The videos of the product. For more information, see
|
|
204
|
-
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
205
|
-
# Corresponds to the JSON property `videoLink`
|
|
206
|
-
# @return [Array<String>]
|
|
207
|
-
attr_accessor :video_link
|
|
208
|
-
|
|
209
|
-
# The color of the product. For more information, see
|
|
210
|
-
# https://support.google.com/manufacturers/answer/6124116#color.
|
|
211
|
-
# Corresponds to the JSON property `color`
|
|
212
|
-
# @return [String]
|
|
213
|
-
attr_accessor :color
|
|
214
|
-
|
|
215
|
-
# The canonical name of the product. For more information, see
|
|
216
|
-
# https://support.google.com/manufacturers/answer/6124116#productname.
|
|
217
|
-
# Corresponds to the JSON property `productName`
|
|
218
|
-
# @return [String]
|
|
219
|
-
attr_accessor :product_name
|
|
220
|
-
|
|
221
|
-
def initialize(**args)
|
|
222
|
-
update!(**args)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
# Update properties of this object
|
|
226
|
-
def update!(**args)
|
|
227
|
-
@size_type = args[:size_type] if args.key?(:size_type)
|
|
228
|
-
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
|
229
|
-
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
|
230
|
-
@size = args[:size] if args.key?(:size)
|
|
231
|
-
@title = args[:title] if args.key?(:title)
|
|
232
|
-
@count = args[:count] if args.key?(:count)
|
|
233
|
-
@brand = args[:brand] if args.key?(:brand)
|
|
234
|
-
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
|
235
|
-
@material = args[:material] if args.key?(:material)
|
|
236
|
-
@scent = args[:scent] if args.key?(:scent)
|
|
237
|
-
@flavor = args[:flavor] if args.key?(:flavor)
|
|
238
|
-
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
|
239
|
-
@age_group = args[:age_group] if args.key?(:age_group)
|
|
240
|
-
@mpn = args[:mpn] if args.key?(:mpn)
|
|
241
|
-
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
|
242
|
-
@release_date = args[:release_date] if args.key?(:release_date)
|
|
243
|
-
@gtin = args[:gtin] if args.key?(:gtin)
|
|
244
|
-
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
245
|
-
@product_line = args[:product_line] if args.key?(:product_line)
|
|
246
|
-
@capacity = args[:capacity] if args.key?(:capacity)
|
|
247
|
-
@description = args[:description] if args.key?(:description)
|
|
248
|
-
@gender = args[:gender] if args.key?(:gender)
|
|
249
|
-
@size_system = args[:size_system] if args.key?(:size_system)
|
|
250
|
-
@theme = args[:theme] if args.key?(:theme)
|
|
251
|
-
@pattern = args[:pattern] if args.key?(:pattern)
|
|
252
|
-
@image_link = args[:image_link] if args.key?(:image_link)
|
|
253
|
-
@product_type = args[:product_type] if args.key?(:product_type)
|
|
254
|
-
@format = args[:format] if args.key?(:format)
|
|
255
|
-
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
256
|
-
@video_link = args[:video_link] if args.key?(:video_link)
|
|
257
|
-
@color = args[:color] if args.key?(:color)
|
|
258
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
|
259
|
-
end
|
|
260
|
-
end
|
|
261
|
-
|
|
262
25
|
# The number of products in a single package. For more information, see
|
|
263
26
|
# https://support.google.com/manufacturers/answer/6124116#count.
|
|
264
27
|
class Count
|
|
@@ -289,19 +52,6 @@ module Google
|
|
|
289
52
|
class Product
|
|
290
53
|
include Google::Apis::Core::Hashable
|
|
291
54
|
|
|
292
|
-
# Attributes of the product. For more information, see
|
|
293
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
294
|
-
# Corresponds to the JSON property `uploadedAttributes`
|
|
295
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
296
|
-
attr_accessor :uploaded_attributes
|
|
297
|
-
|
|
298
|
-
# Parent ID in the format `accounts/`account_id``.
|
|
299
|
-
# `account_id` - The ID of the Manufacturer Center account.
|
|
300
|
-
# @OutputOnly
|
|
301
|
-
# Corresponds to the JSON property `parent`
|
|
302
|
-
# @return [String]
|
|
303
|
-
attr_accessor :parent
|
|
304
|
-
|
|
305
55
|
# Attributes of the product. For more information, see
|
|
306
56
|
# https://support.google.com/manufacturers/answer/6124116.
|
|
307
57
|
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
|
@@ -361,14 +111,25 @@ module Google
|
|
|
361
111
|
# @return [String]
|
|
362
112
|
attr_accessor :product_id
|
|
363
113
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
114
|
+
# Attributes of the product. For more information, see
|
|
115
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
116
|
+
# Corresponds to the JSON property `uploadedAttributes`
|
|
117
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
118
|
+
attr_accessor :uploaded_attributes
|
|
119
|
+
|
|
120
|
+
# Parent ID in the format `accounts/`account_id``.
|
|
121
|
+
# `account_id` - The ID of the Manufacturer Center account.
|
|
122
|
+
# @OutputOnly
|
|
123
|
+
# Corresponds to the JSON property `parent`
|
|
124
|
+
# @return [String]
|
|
125
|
+
attr_accessor :parent
|
|
126
|
+
|
|
127
|
+
def initialize(**args)
|
|
128
|
+
update!(**args)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Update properties of this object
|
|
132
|
+
def update!(**args)
|
|
372
133
|
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
|
373
134
|
@content_language = args[:content_language] if args.key?(:content_language)
|
|
374
135
|
@target_country = args[:target_country] if args.key?(:target_country)
|
|
@@ -377,6 +138,8 @@ module Google
|
|
|
377
138
|
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
|
378
139
|
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
|
379
140
|
@product_id = args[:product_id] if args.key?(:product_id)
|
|
141
|
+
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
|
142
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
380
143
|
end
|
|
381
144
|
end
|
|
382
145
|
|
|
@@ -410,24 +173,24 @@ module Google
|
|
|
410
173
|
class ListProductsResponse
|
|
411
174
|
include Google::Apis::Core::Hashable
|
|
412
175
|
|
|
413
|
-
# The token for the retrieval of the next page of product statuses.
|
|
414
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
415
|
-
# @return [String]
|
|
416
|
-
attr_accessor :next_page_token
|
|
417
|
-
|
|
418
176
|
# List of the products.
|
|
419
177
|
# Corresponds to the JSON property `products`
|
|
420
178
|
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
|
421
179
|
attr_accessor :products
|
|
422
180
|
|
|
181
|
+
# The token for the retrieval of the next page of product statuses.
|
|
182
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
183
|
+
# @return [String]
|
|
184
|
+
attr_accessor :next_page_token
|
|
185
|
+
|
|
423
186
|
def initialize(**args)
|
|
424
187
|
update!(**args)
|
|
425
188
|
end
|
|
426
189
|
|
|
427
190
|
# Update properties of this object
|
|
428
191
|
def update!(**args)
|
|
429
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
430
192
|
@products = args[:products] if args.key?(:products)
|
|
193
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
431
194
|
end
|
|
432
195
|
end
|
|
433
196
|
|
|
@@ -463,10 +226,53 @@ module Google
|
|
|
463
226
|
end
|
|
464
227
|
end
|
|
465
228
|
|
|
229
|
+
# A feature description of the product. For more information, see
|
|
230
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
231
|
+
class FeatureDescription
|
|
232
|
+
include Google::Apis::Core::Hashable
|
|
233
|
+
|
|
234
|
+
# A detailed description of the feature.
|
|
235
|
+
# Corresponds to the JSON property `text`
|
|
236
|
+
# @return [String]
|
|
237
|
+
attr_accessor :text
|
|
238
|
+
|
|
239
|
+
# An image.
|
|
240
|
+
# Corresponds to the JSON property `image`
|
|
241
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
242
|
+
attr_accessor :image
|
|
243
|
+
|
|
244
|
+
# A short description of the feature.
|
|
245
|
+
# Corresponds to the JSON property `headline`
|
|
246
|
+
# @return [String]
|
|
247
|
+
attr_accessor :headline
|
|
248
|
+
|
|
249
|
+
def initialize(**args)
|
|
250
|
+
update!(**args)
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# Update properties of this object
|
|
254
|
+
def update!(**args)
|
|
255
|
+
@text = args[:text] if args.key?(:text)
|
|
256
|
+
@image = args[:image] if args.key?(:image)
|
|
257
|
+
@headline = args[:headline] if args.key?(:headline)
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
|
|
466
261
|
# Product issue.
|
|
467
262
|
class Issue
|
|
468
263
|
include Google::Apis::Core::Hashable
|
|
469
264
|
|
|
265
|
+
# Description of the issue.
|
|
266
|
+
# Corresponds to the JSON property `description`
|
|
267
|
+
# @return [String]
|
|
268
|
+
attr_accessor :description
|
|
269
|
+
|
|
270
|
+
# The server-generated type of the issue, for example,
|
|
271
|
+
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
272
|
+
# Corresponds to the JSON property `type`
|
|
273
|
+
# @return [String]
|
|
274
|
+
attr_accessor :type
|
|
275
|
+
|
|
470
276
|
# If present, the attribute that triggered the issue. For more information
|
|
471
277
|
# about attributes, see
|
|
472
278
|
# https://support.google.com/manufacturers/answer/6124116.
|
|
@@ -484,50 +290,33 @@ module Google
|
|
|
484
290
|
# @return [String]
|
|
485
291
|
attr_accessor :severity
|
|
486
292
|
|
|
487
|
-
# Description of the issue.
|
|
488
|
-
# Corresponds to the JSON property `description`
|
|
489
|
-
# @return [String]
|
|
490
|
-
attr_accessor :description
|
|
491
|
-
|
|
492
|
-
# The server-generated type of the issue, for example,
|
|
493
|
-
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
494
|
-
# Corresponds to the JSON property `type`
|
|
495
|
-
# @return [String]
|
|
496
|
-
attr_accessor :type
|
|
497
|
-
|
|
498
293
|
def initialize(**args)
|
|
499
294
|
update!(**args)
|
|
500
295
|
end
|
|
501
296
|
|
|
502
297
|
# Update properties of this object
|
|
503
298
|
def update!(**args)
|
|
299
|
+
@description = args[:description] if args.key?(:description)
|
|
300
|
+
@type = args[:type] if args.key?(:type)
|
|
504
301
|
@attribute = args[:attribute] if args.key?(:attribute)
|
|
505
302
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
506
303
|
@severity = args[:severity] if args.key?(:severity)
|
|
507
|
-
@description = args[:description] if args.key?(:description)
|
|
508
|
-
@type = args[:type] if args.key?(:type)
|
|
509
304
|
end
|
|
510
305
|
end
|
|
511
306
|
|
|
512
|
-
# A
|
|
513
|
-
|
|
514
|
-
class FeatureDescription
|
|
307
|
+
# A price.
|
|
308
|
+
class Price
|
|
515
309
|
include Google::Apis::Core::Hashable
|
|
516
310
|
|
|
517
|
-
#
|
|
518
|
-
# Corresponds to the JSON property `
|
|
311
|
+
# The numeric value of the price.
|
|
312
|
+
# Corresponds to the JSON property `amount`
|
|
519
313
|
# @return [String]
|
|
520
|
-
attr_accessor :
|
|
314
|
+
attr_accessor :amount
|
|
521
315
|
|
|
522
|
-
#
|
|
523
|
-
# Corresponds to the JSON property `
|
|
316
|
+
# The currency in which the price is denoted.
|
|
317
|
+
# Corresponds to the JSON property `currency`
|
|
524
318
|
# @return [String]
|
|
525
|
-
attr_accessor :
|
|
526
|
-
|
|
527
|
-
# An image.
|
|
528
|
-
# Corresponds to the JSON property `image`
|
|
529
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
530
|
-
attr_accessor :image
|
|
319
|
+
attr_accessor :currency
|
|
531
320
|
|
|
532
321
|
def initialize(**args)
|
|
533
322
|
update!(**args)
|
|
@@ -535,25 +324,33 @@ module Google
|
|
|
535
324
|
|
|
536
325
|
# Update properties of this object
|
|
537
326
|
def update!(**args)
|
|
538
|
-
@
|
|
539
|
-
@
|
|
540
|
-
@image = args[:image] if args.key?(:image)
|
|
327
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
328
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
541
329
|
end
|
|
542
330
|
end
|
|
543
331
|
|
|
544
|
-
#
|
|
545
|
-
class
|
|
332
|
+
# An image.
|
|
333
|
+
class Image
|
|
546
334
|
include Google::Apis::Core::Hashable
|
|
547
335
|
|
|
548
|
-
# The
|
|
549
|
-
#
|
|
336
|
+
# The status of the image.
|
|
337
|
+
# @OutputOnly
|
|
338
|
+
# Corresponds to the JSON property `status`
|
|
550
339
|
# @return [String]
|
|
551
|
-
attr_accessor :
|
|
340
|
+
attr_accessor :status
|
|
552
341
|
|
|
553
|
-
# The
|
|
554
|
-
#
|
|
342
|
+
# The type of the image, i.e., crawled or uploaded.
|
|
343
|
+
# @OutputOnly
|
|
344
|
+
# Corresponds to the JSON property `type`
|
|
555
345
|
# @return [String]
|
|
556
|
-
attr_accessor :
|
|
346
|
+
attr_accessor :type
|
|
347
|
+
|
|
348
|
+
# The URL of the image. For crawled images, this is the provided URL. For
|
|
349
|
+
# uploaded images, this is a serving URL from Google if the image has been
|
|
350
|
+
# processed successfully.
|
|
351
|
+
# Corresponds to the JSON property `imageUrl`
|
|
352
|
+
# @return [String]
|
|
353
|
+
attr_accessor :image_url
|
|
557
354
|
|
|
558
355
|
def initialize(**args)
|
|
559
356
|
update!(**args)
|
|
@@ -561,33 +358,207 @@ module Google
|
|
|
561
358
|
|
|
562
359
|
# Update properties of this object
|
|
563
360
|
def update!(**args)
|
|
564
|
-
@
|
|
565
|
-
@
|
|
361
|
+
@status = args[:status] if args.key?(:status)
|
|
362
|
+
@type = args[:type] if args.key?(:type)
|
|
363
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
|
566
364
|
end
|
|
567
365
|
end
|
|
568
366
|
|
|
569
|
-
#
|
|
570
|
-
|
|
367
|
+
# Attributes of the product. For more information, see
|
|
368
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
369
|
+
class Attributes
|
|
571
370
|
include Google::Apis::Core::Hashable
|
|
572
371
|
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
|
|
372
|
+
# An image.
|
|
373
|
+
# Corresponds to the JSON property `imageLink`
|
|
374
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
375
|
+
attr_accessor :image_link
|
|
376
|
+
|
|
377
|
+
# The category of the product. For more information, see
|
|
378
|
+
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
379
|
+
# Corresponds to the JSON property `productType`
|
|
380
|
+
# @return [Array<String>]
|
|
381
|
+
attr_accessor :product_type
|
|
382
|
+
|
|
383
|
+
# The format of the product. For more information, see
|
|
384
|
+
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
385
|
+
# Corresponds to the JSON property `format`
|
|
577
386
|
# @return [String]
|
|
578
|
-
attr_accessor :
|
|
387
|
+
attr_accessor :format
|
|
579
388
|
|
|
580
|
-
# The
|
|
581
|
-
#
|
|
582
|
-
# Corresponds to the JSON property `
|
|
389
|
+
# The additional images of the product. For more information, see
|
|
390
|
+
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
391
|
+
# Corresponds to the JSON property `additionalImageLink`
|
|
392
|
+
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
393
|
+
attr_accessor :additional_image_link
|
|
394
|
+
|
|
395
|
+
# The videos of the product. For more information, see
|
|
396
|
+
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
397
|
+
# Corresponds to the JSON property `videoLink`
|
|
398
|
+
# @return [Array<String>]
|
|
399
|
+
attr_accessor :video_link
|
|
400
|
+
|
|
401
|
+
# The color of the product. For more information, see
|
|
402
|
+
# https://support.google.com/manufacturers/answer/6124116#color.
|
|
403
|
+
# Corresponds to the JSON property `color`
|
|
583
404
|
# @return [String]
|
|
584
|
-
attr_accessor :
|
|
405
|
+
attr_accessor :color
|
|
585
406
|
|
|
586
|
-
# The
|
|
587
|
-
#
|
|
588
|
-
# Corresponds to the JSON property `
|
|
407
|
+
# The canonical name of the product. For more information, see
|
|
408
|
+
# https://support.google.com/manufacturers/answer/6124116#productname.
|
|
409
|
+
# Corresponds to the JSON property `productName`
|
|
589
410
|
# @return [String]
|
|
590
|
-
attr_accessor :
|
|
411
|
+
attr_accessor :product_name
|
|
412
|
+
|
|
413
|
+
# The size type of the product. For more information, see
|
|
414
|
+
# https://support.google.com/manufacturers/answer/6124116#sizetype.
|
|
415
|
+
# Corresponds to the JSON property `sizeType`
|
|
416
|
+
# @return [String]
|
|
417
|
+
attr_accessor :size_type
|
|
418
|
+
|
|
419
|
+
# A price.
|
|
420
|
+
# Corresponds to the JSON property `suggestedRetailPrice`
|
|
421
|
+
# @return [Google::Apis::ManufacturersV1::Price]
|
|
422
|
+
attr_accessor :suggested_retail_price
|
|
423
|
+
|
|
424
|
+
# The rich format description of the product. For more information, see
|
|
425
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
426
|
+
# Corresponds to the JSON property `featureDescription`
|
|
427
|
+
# @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
|
|
428
|
+
attr_accessor :feature_description
|
|
429
|
+
|
|
430
|
+
# The size of the product. For more information, see
|
|
431
|
+
# https://support.google.com/manufacturers/answer/6124116#size.
|
|
432
|
+
# Corresponds to the JSON property `size`
|
|
433
|
+
# @return [String]
|
|
434
|
+
attr_accessor :size
|
|
435
|
+
|
|
436
|
+
# The title of the product. For more information, see
|
|
437
|
+
# https://support.google.com/manufacturers/answer/6124116#title.
|
|
438
|
+
# Corresponds to the JSON property `title`
|
|
439
|
+
# @return [String]
|
|
440
|
+
attr_accessor :title
|
|
441
|
+
|
|
442
|
+
# The number of products in a single package. For more information, see
|
|
443
|
+
# https://support.google.com/manufacturers/answer/6124116#count.
|
|
444
|
+
# Corresponds to the JSON property `count`
|
|
445
|
+
# @return [Google::Apis::ManufacturersV1::Count]
|
|
446
|
+
attr_accessor :count
|
|
447
|
+
|
|
448
|
+
# The brand name of the product. For more information, see
|
|
449
|
+
# https://support.google.com/manufacturers/answer/6124116#brand.
|
|
450
|
+
# Corresponds to the JSON property `brand`
|
|
451
|
+
# @return [String]
|
|
452
|
+
attr_accessor :brand
|
|
453
|
+
|
|
454
|
+
# The disclosure date of the product. For more information, see
|
|
455
|
+
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
|
456
|
+
# Corresponds to the JSON property `disclosureDate`
|
|
457
|
+
# @return [String]
|
|
458
|
+
attr_accessor :disclosure_date
|
|
459
|
+
|
|
460
|
+
# The material of the product. For more information, see
|
|
461
|
+
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
462
|
+
# Corresponds to the JSON property `material`
|
|
463
|
+
# @return [String]
|
|
464
|
+
attr_accessor :material
|
|
465
|
+
|
|
466
|
+
# The scent of the product. For more information, see
|
|
467
|
+
# https://support.google.com/manufacturers/answer/6124116#scent.
|
|
468
|
+
# Corresponds to the JSON property `scent`
|
|
469
|
+
# @return [String]
|
|
470
|
+
attr_accessor :scent
|
|
471
|
+
|
|
472
|
+
# The target age group of the product. For more information, see
|
|
473
|
+
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
|
474
|
+
# Corresponds to the JSON property `ageGroup`
|
|
475
|
+
# @return [String]
|
|
476
|
+
attr_accessor :age_group
|
|
477
|
+
|
|
478
|
+
# The details of the product. For more information, see
|
|
479
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
480
|
+
# Corresponds to the JSON property `productDetail`
|
|
481
|
+
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
|
482
|
+
attr_accessor :product_detail
|
|
483
|
+
|
|
484
|
+
# The flavor of the product. For more information, see
|
|
485
|
+
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
|
486
|
+
# Corresponds to the JSON property `flavor`
|
|
487
|
+
# @return [String]
|
|
488
|
+
attr_accessor :flavor
|
|
489
|
+
|
|
490
|
+
# The Manufacturer Part Number (MPN) of the product. For more information,
|
|
491
|
+
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
|
492
|
+
# Corresponds to the JSON property `mpn`
|
|
493
|
+
# @return [String]
|
|
494
|
+
attr_accessor :mpn
|
|
495
|
+
|
|
496
|
+
# The URL of the detail page of the product. For more information, see
|
|
497
|
+
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
|
498
|
+
# Corresponds to the JSON property `productPageUrl`
|
|
499
|
+
# @return [String]
|
|
500
|
+
attr_accessor :product_page_url
|
|
501
|
+
|
|
502
|
+
# The release date of the product. For more information, see
|
|
503
|
+
# https://support.google.com/manufacturers/answer/6124116#release.
|
|
504
|
+
# Corresponds to the JSON property `releaseDate`
|
|
505
|
+
# @return [String]
|
|
506
|
+
attr_accessor :release_date
|
|
507
|
+
|
|
508
|
+
# The item group id of the product. For more information, see
|
|
509
|
+
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
|
|
510
|
+
# Corresponds to the JSON property `itemGroupId`
|
|
511
|
+
# @return [String]
|
|
512
|
+
attr_accessor :item_group_id
|
|
513
|
+
|
|
514
|
+
# The Global Trade Item Number (GTIN) of the product. For more information,
|
|
515
|
+
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
|
516
|
+
# Corresponds to the JSON property `gtin`
|
|
517
|
+
# @return [Array<String>]
|
|
518
|
+
attr_accessor :gtin
|
|
519
|
+
|
|
520
|
+
# The name of the group of products related to the product. For more
|
|
521
|
+
# information, see
|
|
522
|
+
# https://support.google.com/manufacturers/answer/6124116#productline.
|
|
523
|
+
# Corresponds to the JSON property `productLine`
|
|
524
|
+
# @return [String]
|
|
525
|
+
attr_accessor :product_line
|
|
526
|
+
|
|
527
|
+
# The capacity of a product. For more information, see
|
|
528
|
+
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
|
529
|
+
# Corresponds to the JSON property `capacity`
|
|
530
|
+
# @return [Google::Apis::ManufacturersV1::Capacity]
|
|
531
|
+
attr_accessor :capacity
|
|
532
|
+
|
|
533
|
+
# The description of the product. For more information, see
|
|
534
|
+
# https://support.google.com/manufacturers/answer/6124116#description.
|
|
535
|
+
# Corresponds to the JSON property `description`
|
|
536
|
+
# @return [String]
|
|
537
|
+
attr_accessor :description
|
|
538
|
+
|
|
539
|
+
# The target gender of the product. For more information, see
|
|
540
|
+
# https://support.google.com/manufacturers/answer/6124116#gender.
|
|
541
|
+
# Corresponds to the JSON property `gender`
|
|
542
|
+
# @return [String]
|
|
543
|
+
attr_accessor :gender
|
|
544
|
+
|
|
545
|
+
# The size system of the product. For more information, see
|
|
546
|
+
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
|
|
547
|
+
# Corresponds to the JSON property `sizeSystem`
|
|
548
|
+
# @return [String]
|
|
549
|
+
attr_accessor :size_system
|
|
550
|
+
|
|
551
|
+
# The theme of the product. For more information, see
|
|
552
|
+
# https://support.google.com/manufacturers/answer/6124116#theme.
|
|
553
|
+
# Corresponds to the JSON property `theme`
|
|
554
|
+
# @return [String]
|
|
555
|
+
attr_accessor :theme
|
|
556
|
+
|
|
557
|
+
# The pattern of the product. For more information, see
|
|
558
|
+
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
559
|
+
# Corresponds to the JSON property `pattern`
|
|
560
|
+
# @return [String]
|
|
561
|
+
attr_accessor :pattern
|
|
591
562
|
|
|
592
563
|
def initialize(**args)
|
|
593
564
|
update!(**args)
|
|
@@ -595,9 +566,38 @@ module Google
|
|
|
595
566
|
|
|
596
567
|
# Update properties of this object
|
|
597
568
|
def update!(**args)
|
|
598
|
-
@
|
|
599
|
-
@
|
|
600
|
-
@
|
|
569
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
570
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
|
571
|
+
@format = args[:format] if args.key?(:format)
|
|
572
|
+
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
573
|
+
@video_link = args[:video_link] if args.key?(:video_link)
|
|
574
|
+
@color = args[:color] if args.key?(:color)
|
|
575
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
|
576
|
+
@size_type = args[:size_type] if args.key?(:size_type)
|
|
577
|
+
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
|
578
|
+
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
|
579
|
+
@size = args[:size] if args.key?(:size)
|
|
580
|
+
@title = args[:title] if args.key?(:title)
|
|
581
|
+
@count = args[:count] if args.key?(:count)
|
|
582
|
+
@brand = args[:brand] if args.key?(:brand)
|
|
583
|
+
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
|
584
|
+
@material = args[:material] if args.key?(:material)
|
|
585
|
+
@scent = args[:scent] if args.key?(:scent)
|
|
586
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
|
587
|
+
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
|
588
|
+
@flavor = args[:flavor] if args.key?(:flavor)
|
|
589
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
590
|
+
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
|
591
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
|
592
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
593
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
594
|
+
@product_line = args[:product_line] if args.key?(:product_line)
|
|
595
|
+
@capacity = args[:capacity] if args.key?(:capacity)
|
|
596
|
+
@description = args[:description] if args.key?(:description)
|
|
597
|
+
@gender = args[:gender] if args.key?(:gender)
|
|
598
|
+
@size_system = args[:size_system] if args.key?(:size_system)
|
|
599
|
+
@theme = args[:theme] if args.key?(:theme)
|
|
600
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
601
601
|
end
|
|
602
602
|
end
|
|
603
603
|
end
|