google-api-client 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/api_names.yaml +395 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +39 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
- data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
- 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 +32 -37
- data/generated/google/apis/bigquery_v2/service.rb +10 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +205 -0
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
- data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
- data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
- data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
- data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
- data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
- data/generated/google/apis/cloudkms_v1/service.rb +228 -228
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
- data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +116 -0
- data/generated/google/apis/compute_beta/representations.rb +48 -0
- data/generated/google/apis/compute_beta/service.rb +46 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
- data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
- data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
- data/generated/google/apis/dataproc_v1/representations.rb +255 -253
- data/generated/google/apis/dataproc_v1/service.rb +100 -100
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- 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 +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +3 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +959 -959
- data/generated/google/apis/genomics_v1/representations.rb +238 -238
- data/generated/google/apis/genomics_v1/service.rb +996 -996
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +170 -173
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +427 -427
- data/generated/google/apis/language_v1beta1/representations.rb +113 -113
- data/generated/google/apis/language_v1beta1/service.rb +25 -24
- data/generated/google/apis/licensing_v1.rb +2 -2
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +261 -261
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
- data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
- data/generated/google/apis/manufacturers_v1/service.rb +11 -11
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +668 -670
- data/generated/google/apis/monitoring_v3/representations.rb +140 -140
- data/generated/google/apis/monitoring_v3/service.rb +208 -208
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +505 -505
- data/generated/google/apis/partners_v2/representations.rb +118 -118
- data/generated/google/apis/partners_v2/service.rb +275 -275
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +1037 -1031
- data/generated/google/apis/people_v1/representations.rb +247 -246
- data/generated/google/apis/people_v1/service.rb +20 -20
- 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 +392 -392
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +131 -132
- data/generated/google/apis/pubsub_v1/representations.rb +35 -35
- data/generated/google/apis/pubsub_v1/service.rb +399 -408
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +9 -0
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +110 -110
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
- data/generated/google/apis/sheets_v4/representations.rb +856 -856
- data/generated/google/apis/sheets_v4/service.rb +106 -106
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2923 -2841
- data/generated/google/apis/slides_v1/representations.rb +722 -691
- data/generated/google/apis/slides_v1/service.rb +58 -15
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
- data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
- data/generated/google/apis/speech_v1beta1/service.rb +70 -70
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +151 -0
- data/generated/google/apis/storage_v1/representations.rb +45 -0
- data/generated/google/apis/storage_v1/service.rb +248 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1227 -1221
- data/generated/google/apis/vision_v1/representations.rb +217 -215
- 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 +78 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/manufacturers/
|
26
26
|
module ManufacturersV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170322'
|
29
29
|
|
30
30
|
# Manage your product listings for Google Manufacturer Center
|
31
31
|
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
|
@@ -22,32 +22,20 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ManufacturersV1
|
24
24
|
|
25
|
-
#
|
26
|
-
|
25
|
+
# The number of products in a single package. For more information, see
|
26
|
+
# https://support.google.com/manufacturers/answer/6124116#count.
|
27
|
+
class Count
|
27
28
|
include Google::Apis::Core::Hashable
|
28
29
|
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :description
|
33
|
-
|
34
|
-
# The server-generated type of the issue, for example,
|
35
|
-
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
36
|
-
# Corresponds to the JSON property `type`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :type
|
39
|
-
|
40
|
-
# If present, the attribute that triggered the issue. For more information
|
41
|
-
# about attributes, see
|
42
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
43
|
-
# Corresponds to the JSON property `attribute`
|
30
|
+
# The numeric value of the number of products in a package.
|
31
|
+
# Corresponds to the JSON property `value`
|
44
32
|
# @return [String]
|
45
|
-
attr_accessor :
|
33
|
+
attr_accessor :value
|
46
34
|
|
47
|
-
# The
|
48
|
-
# Corresponds to the JSON property `
|
35
|
+
# The unit in which these products are counted.
|
36
|
+
# Corresponds to the JSON property `unit`
|
49
37
|
# @return [String]
|
50
|
-
attr_accessor :
|
38
|
+
attr_accessor :unit
|
51
39
|
|
52
40
|
def initialize(**args)
|
53
41
|
update!(**args)
|
@@ -55,10 +43,8 @@ module Google
|
|
55
43
|
|
56
44
|
# Update properties of this object
|
57
45
|
def update!(**args)
|
58
|
-
@
|
59
|
-
@
|
60
|
-
@attribute = args[:attribute] if args.key?(:attribute)
|
61
|
-
@severity = args[:severity] if args.key?(:severity)
|
46
|
+
@value = args[:value] if args.key?(:value)
|
47
|
+
@unit = args[:unit] if args.key?(:unit)
|
62
48
|
end
|
63
49
|
end
|
64
50
|
|
@@ -66,6 +52,33 @@ module Google
|
|
66
52
|
class Product
|
67
53
|
include Google::Apis::Core::Hashable
|
68
54
|
|
55
|
+
# The target country of the product as a CLDR territory code (for example,
|
56
|
+
# US).
|
57
|
+
# @OutputOnly
|
58
|
+
# Corresponds to the JSON property `targetCountry`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :target_country
|
61
|
+
|
62
|
+
# The content language of the product as a two-letter ISO 639-1 language code
|
63
|
+
# (for example, en).
|
64
|
+
# @OutputOnly
|
65
|
+
# Corresponds to the JSON property `contentLanguage`
|
66
|
+
# @return [String]
|
67
|
+
attr_accessor :content_language
|
68
|
+
|
69
|
+
# Name in the format ``target_country`:`content_language`:`product_id``.
|
70
|
+
# `target_country` - The target country of the product as a CLDR territory
|
71
|
+
# code (for example, US).
|
72
|
+
# `content_language` - The content language of the product as a two-letter
|
73
|
+
# ISO 639-1 language code (for example, en).
|
74
|
+
# `product_id` - The ID of the product. For more information, see
|
75
|
+
# https://support.google.com/manufacturers/answer/6124116#
|
76
|
+
# id.
|
77
|
+
# @OutputOnly
|
78
|
+
# Corresponds to the JSON property `name`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :name
|
81
|
+
|
69
82
|
# Names of the attributes of the product deleted manually via the
|
70
83
|
# Manufacturer Center UI.
|
71
84
|
# @OutputOnly
|
@@ -111,32 +124,233 @@ module Google
|
|
111
124
|
# @return [Google::Apis::ManufacturersV1::Attributes]
|
112
125
|
attr_accessor :manually_provided_attributes
|
113
126
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
127
|
+
def initialize(**args)
|
128
|
+
update!(**args)
|
129
|
+
end
|
130
|
+
|
131
|
+
# Update properties of this object
|
132
|
+
def update!(**args)
|
133
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
134
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
135
|
+
@name = args[:name] if args.key?(:name)
|
136
|
+
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
137
|
+
@issues = args[:issues] if args.key?(:issues)
|
138
|
+
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
139
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
140
|
+
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
141
|
+
@parent = args[:parent] if args.key?(:parent)
|
142
|
+
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
# The capacity of a product. For more information, see
|
147
|
+
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
148
|
+
class Capacity
|
149
|
+
include Google::Apis::Core::Hashable
|
150
|
+
|
151
|
+
# The numeric value of the capacity.
|
152
|
+
# Corresponds to the JSON property `value`
|
118
153
|
# @return [String]
|
119
|
-
attr_accessor :
|
154
|
+
attr_accessor :value
|
120
155
|
|
121
|
-
# The
|
122
|
-
#
|
156
|
+
# The unit of the capacity, i.e., MB, GB, or TB.
|
157
|
+
# Corresponds to the JSON property `unit`
|
158
|
+
# @return [String]
|
159
|
+
attr_accessor :unit
|
160
|
+
|
161
|
+
def initialize(**args)
|
162
|
+
update!(**args)
|
163
|
+
end
|
164
|
+
|
165
|
+
# Update properties of this object
|
166
|
+
def update!(**args)
|
167
|
+
@value = args[:value] if args.key?(:value)
|
168
|
+
@unit = args[:unit] if args.key?(:unit)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
#
|
173
|
+
class ListProductsResponse
|
174
|
+
include Google::Apis::Core::Hashable
|
175
|
+
|
176
|
+
# List of the products.
|
177
|
+
# Corresponds to the JSON property `products`
|
178
|
+
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
179
|
+
attr_accessor :products
|
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
|
+
|
186
|
+
def initialize(**args)
|
187
|
+
update!(**args)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Update properties of this object
|
191
|
+
def update!(**args)
|
192
|
+
@products = args[:products] if args.key?(:products)
|
193
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# A product detail of the product. For more information, see
|
198
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
199
|
+
class ProductDetail
|
200
|
+
include Google::Apis::Core::Hashable
|
201
|
+
|
202
|
+
# The value of the attribute.
|
203
|
+
# Corresponds to the JSON property `attributeValue`
|
204
|
+
# @return [String]
|
205
|
+
attr_accessor :attribute_value
|
206
|
+
|
207
|
+
# A short section name that can be reused between multiple product details.
|
208
|
+
# Corresponds to the JSON property `sectionName`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :section_name
|
211
|
+
|
212
|
+
# The name of the attribute.
|
213
|
+
# Corresponds to the JSON property `attributeName`
|
214
|
+
# @return [String]
|
215
|
+
attr_accessor :attribute_name
|
216
|
+
|
217
|
+
def initialize(**args)
|
218
|
+
update!(**args)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Update properties of this object
|
222
|
+
def update!(**args)
|
223
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
224
|
+
@section_name = args[:section_name] if args.key?(:section_name)
|
225
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
226
|
+
end
|
227
|
+
end
|
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
|
+
|
261
|
+
# Product issue.
|
262
|
+
class Issue
|
263
|
+
include Google::Apis::Core::Hashable
|
264
|
+
|
265
|
+
# The timestamp when this issue appeared.
|
266
|
+
# Corresponds to the JSON property `timestamp`
|
267
|
+
# @return [String]
|
268
|
+
attr_accessor :timestamp
|
269
|
+
|
270
|
+
# The severity of the issue.
|
271
|
+
# Corresponds to the JSON property `severity`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :severity
|
274
|
+
|
275
|
+
# Description of the issue.
|
276
|
+
# Corresponds to the JSON property `description`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :description
|
279
|
+
|
280
|
+
# The server-generated type of the issue, for example,
|
281
|
+
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
282
|
+
# Corresponds to the JSON property `type`
|
283
|
+
# @return [String]
|
284
|
+
attr_accessor :type
|
285
|
+
|
286
|
+
# If present, the attribute that triggered the issue. For more information
|
287
|
+
# about attributes, see
|
288
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
289
|
+
# Corresponds to the JSON property `attribute`
|
290
|
+
# @return [String]
|
291
|
+
attr_accessor :attribute
|
292
|
+
|
293
|
+
def initialize(**args)
|
294
|
+
update!(**args)
|
295
|
+
end
|
296
|
+
|
297
|
+
# Update properties of this object
|
298
|
+
def update!(**args)
|
299
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
300
|
+
@severity = args[:severity] if args.key?(:severity)
|
301
|
+
@description = args[:description] if args.key?(:description)
|
302
|
+
@type = args[:type] if args.key?(:type)
|
303
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# A price.
|
308
|
+
class Price
|
309
|
+
include Google::Apis::Core::Hashable
|
310
|
+
|
311
|
+
# The numeric value of the price.
|
312
|
+
# Corresponds to the JSON property `amount`
|
313
|
+
# @return [String]
|
314
|
+
attr_accessor :amount
|
315
|
+
|
316
|
+
# The currency in which the price is denoted.
|
317
|
+
# Corresponds to the JSON property `currency`
|
318
|
+
# @return [String]
|
319
|
+
attr_accessor :currency
|
320
|
+
|
321
|
+
def initialize(**args)
|
322
|
+
update!(**args)
|
323
|
+
end
|
324
|
+
|
325
|
+
# Update properties of this object
|
326
|
+
def update!(**args)
|
327
|
+
@amount = args[:amount] if args.key?(:amount)
|
328
|
+
@currency = args[:currency] if args.key?(:currency)
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
# An image.
|
333
|
+
class Image
|
334
|
+
include Google::Apis::Core::Hashable
|
335
|
+
|
336
|
+
# The type of the image, i.e., crawled or uploaded.
|
123
337
|
# @OutputOnly
|
124
|
-
# Corresponds to the JSON property `
|
338
|
+
# Corresponds to the JSON property `type`
|
125
339
|
# @return [String]
|
126
|
-
attr_accessor :
|
340
|
+
attr_accessor :type
|
127
341
|
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
|
134
|
-
|
135
|
-
#
|
342
|
+
# The URL of the image. For crawled images, this is the provided URL. For
|
343
|
+
# uploaded images, this is a serving URL from Google if the image has been
|
344
|
+
# processed successfully.
|
345
|
+
# Corresponds to the JSON property `imageUrl`
|
346
|
+
# @return [String]
|
347
|
+
attr_accessor :image_url
|
348
|
+
|
349
|
+
# The status of the image.
|
136
350
|
# @OutputOnly
|
137
|
-
# Corresponds to the JSON property `
|
351
|
+
# Corresponds to the JSON property `status`
|
138
352
|
# @return [String]
|
139
|
-
attr_accessor :
|
353
|
+
attr_accessor :status
|
140
354
|
|
141
355
|
def initialize(**args)
|
142
356
|
update!(**args)
|
@@ -144,16 +358,9 @@ module Google
|
|
144
358
|
|
145
359
|
# Update properties of this object
|
146
360
|
def update!(**args)
|
147
|
-
@
|
148
|
-
@
|
149
|
-
@
|
150
|
-
@product_id = args[:product_id] if args.key?(:product_id)
|
151
|
-
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
152
|
-
@parent = args[:parent] if args.key?(:parent)
|
153
|
-
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
154
|
-
@target_country = args[:target_country] if args.key?(:target_country)
|
155
|
-
@content_language = args[:content_language] if args.key?(:content_language)
|
156
|
-
@name = args[:name] if args.key?(:name)
|
361
|
+
@type = args[:type] if args.key?(:type)
|
362
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
363
|
+
@status = args[:status] if args.key?(:status)
|
157
364
|
end
|
158
365
|
end
|
159
366
|
|
@@ -162,11 +369,87 @@ module Google
|
|
162
369
|
class Attributes
|
163
370
|
include Google::Apis::Core::Hashable
|
164
371
|
|
165
|
-
# The
|
166
|
-
#
|
167
|
-
# Corresponds to the JSON property `
|
372
|
+
# The size system of the product. For more information, see
|
373
|
+
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
|
374
|
+
# Corresponds to the JSON property `sizeSystem`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :size_system
|
377
|
+
|
378
|
+
# The theme of the product. For more information, see
|
379
|
+
# https://support.google.com/manufacturers/answer/6124116#theme.
|
380
|
+
# Corresponds to the JSON property `theme`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :theme
|
383
|
+
|
384
|
+
# The pattern of the product. For more information, see
|
385
|
+
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
386
|
+
# Corresponds to the JSON property `pattern`
|
387
|
+
# @return [String]
|
388
|
+
attr_accessor :pattern
|
389
|
+
|
390
|
+
# An image.
|
391
|
+
# Corresponds to the JSON property `imageLink`
|
392
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
393
|
+
attr_accessor :image_link
|
394
|
+
|
395
|
+
# The category of the product. For more information, see
|
396
|
+
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
397
|
+
# Corresponds to the JSON property `productType`
|
168
398
|
# @return [Array<String>]
|
169
|
-
attr_accessor :
|
399
|
+
attr_accessor :product_type
|
400
|
+
|
401
|
+
# The format of the product. For more information, see
|
402
|
+
# https://support.google.com/manufacturers/answer/6124116#format.
|
403
|
+
# Corresponds to the JSON property `format`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :format
|
406
|
+
|
407
|
+
# The additional images of the product. For more information, see
|
408
|
+
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
409
|
+
# Corresponds to the JSON property `additionalImageLink`
|
410
|
+
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
411
|
+
attr_accessor :additional_image_link
|
412
|
+
|
413
|
+
# The videos of the product. For more information, see
|
414
|
+
# https://support.google.com/manufacturers/answer/6124116#video.
|
415
|
+
# Corresponds to the JSON property `videoLink`
|
416
|
+
# @return [Array<String>]
|
417
|
+
attr_accessor :video_link
|
418
|
+
|
419
|
+
# The color of the product. For more information, see
|
420
|
+
# https://support.google.com/manufacturers/answer/6124116#color.
|
421
|
+
# Corresponds to the JSON property `color`
|
422
|
+
# @return [String]
|
423
|
+
attr_accessor :color
|
424
|
+
|
425
|
+
# The canonical name of the product. For more information, see
|
426
|
+
# https://support.google.com/manufacturers/answer/6124116#productname.
|
427
|
+
# Corresponds to the JSON property `productName`
|
428
|
+
# @return [String]
|
429
|
+
attr_accessor :product_name
|
430
|
+
|
431
|
+
# The size type of the product. For more information, see
|
432
|
+
# https://support.google.com/manufacturers/answer/6124116#sizetype.
|
433
|
+
# Corresponds to the JSON property `sizeType`
|
434
|
+
# @return [String]
|
435
|
+
attr_accessor :size_type
|
436
|
+
|
437
|
+
# A price.
|
438
|
+
# Corresponds to the JSON property `suggestedRetailPrice`
|
439
|
+
# @return [Google::Apis::ManufacturersV1::Price]
|
440
|
+
attr_accessor :suggested_retail_price
|
441
|
+
|
442
|
+
# The rich format description of the product. For more information, see
|
443
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
444
|
+
# Corresponds to the JSON property `featureDescription`
|
445
|
+
# @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
|
446
|
+
attr_accessor :feature_description
|
447
|
+
|
448
|
+
# The size of the product. For more information, see
|
449
|
+
# https://support.google.com/manufacturers/answer/6124116#size.
|
450
|
+
# Corresponds to the JSON property `size`
|
451
|
+
# @return [String]
|
452
|
+
attr_accessor :size
|
170
453
|
|
171
454
|
# The title of the product. For more information, see
|
172
455
|
# https://support.google.com/manufacturers/answer/6124116#title.
|
@@ -174,12 +457,11 @@ module Google
|
|
174
457
|
# @return [String]
|
175
458
|
attr_accessor :title
|
176
459
|
|
177
|
-
# The
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
|
182
|
-
attr_accessor :product_line
|
460
|
+
# The number of products in a single package. For more information, see
|
461
|
+
# https://support.google.com/manufacturers/answer/6124116#count.
|
462
|
+
# Corresponds to the JSON property `count`
|
463
|
+
# @return [Google::Apis::ManufacturersV1::Count]
|
464
|
+
attr_accessor :count
|
183
465
|
|
184
466
|
# The brand name of the product. For more information, see
|
185
467
|
# https://support.google.com/manufacturers/answer/6124116#brand.
|
@@ -187,17 +469,47 @@ module Google
|
|
187
469
|
# @return [String]
|
188
470
|
attr_accessor :brand
|
189
471
|
|
190
|
-
# The
|
191
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
192
|
-
# Corresponds to the JSON property `
|
472
|
+
# The disclosure date of the product. For more information, see
|
473
|
+
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
474
|
+
# Corresponds to the JSON property `disclosureDate`
|
193
475
|
# @return [String]
|
194
|
-
attr_accessor :
|
476
|
+
attr_accessor :disclosure_date
|
195
477
|
|
196
|
-
# The
|
197
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
198
|
-
# Corresponds to the JSON property `
|
199
|
-
# @return [
|
200
|
-
attr_accessor :
|
478
|
+
# The material of the product. For more information, see
|
479
|
+
# https://support.google.com/manufacturers/answer/6124116#material.
|
480
|
+
# Corresponds to the JSON property `material`
|
481
|
+
# @return [String]
|
482
|
+
attr_accessor :material
|
483
|
+
|
484
|
+
# The scent of the product. For more information, see
|
485
|
+
# https://support.google.com/manufacturers/answer/6124116#scent.
|
486
|
+
# Corresponds to the JSON property `scent`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :scent
|
489
|
+
|
490
|
+
# The target age group of the product. For more information, see
|
491
|
+
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
492
|
+
# Corresponds to the JSON property `ageGroup`
|
493
|
+
# @return [String]
|
494
|
+
attr_accessor :age_group
|
495
|
+
|
496
|
+
# The details of the product. For more information, see
|
497
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
498
|
+
# Corresponds to the JSON property `productDetail`
|
499
|
+
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
500
|
+
attr_accessor :product_detail
|
501
|
+
|
502
|
+
# The flavor of the product. For more information, see
|
503
|
+
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
504
|
+
# Corresponds to the JSON property `flavor`
|
505
|
+
# @return [String]
|
506
|
+
attr_accessor :flavor
|
507
|
+
|
508
|
+
# The URL of the detail page of the product. For more information, see
|
509
|
+
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
510
|
+
# Corresponds to the JSON property `productPageUrl`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :product_page_url
|
201
513
|
|
202
514
|
# The Manufacturer Part Number (MPN) of the product. For more information,
|
203
515
|
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
@@ -205,43 +517,48 @@ module Google
|
|
205
517
|
# @return [String]
|
206
518
|
attr_accessor :mpn
|
207
519
|
|
208
|
-
# The
|
209
|
-
#
|
210
|
-
#
|
211
|
-
# Corresponds to the JSON property `productPageUrl`
|
520
|
+
# The release date of the product. For more information, see
|
521
|
+
# https://support.google.com/manufacturers/answer/6124116#release.
|
522
|
+
# Corresponds to the JSON property `releaseDate`
|
212
523
|
# @return [String]
|
213
|
-
attr_accessor :
|
524
|
+
attr_accessor :release_date
|
214
525
|
|
215
|
-
|
216
|
-
|
217
|
-
|
526
|
+
# The Global Trade Item Number (GTIN) of the product. For more information,
|
527
|
+
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
528
|
+
# Corresponds to the JSON property `gtin`
|
529
|
+
# @return [Array<String>]
|
530
|
+
attr_accessor :gtin
|
218
531
|
|
219
|
-
#
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
@brand = args[:brand] if args.key?(:brand)
|
225
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
226
|
-
@product_type = args[:product_type] if args.key?(:product_type)
|
227
|
-
@mpn = args[:mpn] if args.key?(:mpn)
|
228
|
-
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
229
|
-
end
|
230
|
-
end
|
532
|
+
# The item group id of the product. For more information, see
|
533
|
+
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
|
534
|
+
# Corresponds to the JSON property `itemGroupId`
|
535
|
+
# @return [String]
|
536
|
+
attr_accessor :item_group_id
|
231
537
|
|
232
|
-
|
233
|
-
|
234
|
-
|
538
|
+
# The name of the group of products related to the product. For more
|
539
|
+
# information, see
|
540
|
+
# https://support.google.com/manufacturers/answer/6124116#productline.
|
541
|
+
# Corresponds to the JSON property `productLine`
|
542
|
+
# @return [String]
|
543
|
+
attr_accessor :product_line
|
235
544
|
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
|
545
|
+
# The capacity of a product. For more information, see
|
546
|
+
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
547
|
+
# Corresponds to the JSON property `capacity`
|
548
|
+
# @return [Google::Apis::ManufacturersV1::Capacity]
|
549
|
+
attr_accessor :capacity
|
240
550
|
|
241
|
-
# The
|
242
|
-
#
|
551
|
+
# The description of the product. For more information, see
|
552
|
+
# https://support.google.com/manufacturers/answer/6124116#description.
|
553
|
+
# Corresponds to the JSON property `description`
|
243
554
|
# @return [String]
|
244
|
-
attr_accessor :
|
555
|
+
attr_accessor :description
|
556
|
+
|
557
|
+
# The target gender of the product. For more information, see
|
558
|
+
# https://support.google.com/manufacturers/answer/6124116#gender.
|
559
|
+
# Corresponds to the JSON property `gender`
|
560
|
+
# @return [String]
|
561
|
+
attr_accessor :gender
|
245
562
|
|
246
563
|
def initialize(**args)
|
247
564
|
update!(**args)
|
@@ -249,8 +566,38 @@ module Google
|
|
249
566
|
|
250
567
|
# Update properties of this object
|
251
568
|
def update!(**args)
|
252
|
-
@
|
253
|
-
@
|
569
|
+
@size_system = args[:size_system] if args.key?(:size_system)
|
570
|
+
@theme = args[:theme] if args.key?(:theme)
|
571
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
572
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
573
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
574
|
+
@format = args[:format] if args.key?(:format)
|
575
|
+
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
576
|
+
@video_link = args[:video_link] if args.key?(:video_link)
|
577
|
+
@color = args[:color] if args.key?(:color)
|
578
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
579
|
+
@size_type = args[:size_type] if args.key?(:size_type)
|
580
|
+
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
581
|
+
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
582
|
+
@size = args[:size] if args.key?(:size)
|
583
|
+
@title = args[:title] if args.key?(:title)
|
584
|
+
@count = args[:count] if args.key?(:count)
|
585
|
+
@brand = args[:brand] if args.key?(:brand)
|
586
|
+
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
587
|
+
@material = args[:material] if args.key?(:material)
|
588
|
+
@scent = args[:scent] if args.key?(:scent)
|
589
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
590
|
+
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
591
|
+
@flavor = args[:flavor] if args.key?(:flavor)
|
592
|
+
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
593
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
594
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
595
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
596
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
597
|
+
@product_line = args[:product_line] if args.key?(:product_line)
|
598
|
+
@capacity = args[:capacity] if args.key?(:capacity)
|
599
|
+
@description = args[:description] if args.key?(:description)
|
600
|
+
@gender = args[:gender] if args.key?(:gender)
|
254
601
|
end
|
255
602
|
end
|
256
603
|
end
|