google-apis-merchantapi_products_v1beta 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module MerchantapiProductsV1beta
18
+ # Version of the google-apis-merchantapi_products_v1beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.15.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20240611"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,656 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MerchantapiProductsV1beta
24
+
25
+ class Attributes
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Certification
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CloudExportAdditionalProperties
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CustomAttribute
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DestinationStatus
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Empty
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class FreeShippingThreshold
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Installment
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Interval
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ItemLevelIssue
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ListProductsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class LoyaltyPoints
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class LoyaltyProgram
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Price
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Product
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ProductChange
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ProductDetail
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ProductDimension
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ProductInput
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ProductStatus
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ProductStatusChangeMessage
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ProductStructuredDescription
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ProductStructuredTitle
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ProductWeight
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Shipping
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ShippingDimension
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ShippingWeight
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class SubscriptionCost
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Tax
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class UnitPricingBaseMeasure
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class UnitPricingMeasure
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Attributes
212
+ # @private
213
+ class Representation < Google::Apis::Core::JsonRepresentation
214
+ collection :additional_image_links, as: 'additionalImageLinks'
215
+ property :ads_grouping, as: 'adsGrouping'
216
+ collection :ads_labels, as: 'adsLabels'
217
+ property :ads_redirect, as: 'adsRedirect'
218
+ property :adult, as: 'adult'
219
+ property :age_group, as: 'ageGroup'
220
+ property :auto_pricing_min_price, as: 'autoPricingMinPrice', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
221
+
222
+ property :availability, as: 'availability'
223
+ property :availability_date, as: 'availabilityDate'
224
+ property :brand, as: 'brand'
225
+ property :canonical_link, as: 'canonicalLink'
226
+ collection :certifications, as: 'certifications', class: Google::Apis::MerchantapiProductsV1beta::Certification, decorator: Google::Apis::MerchantapiProductsV1beta::Certification::Representation
227
+
228
+ collection :cloud_export_additional_properties, as: 'cloudExportAdditionalProperties', class: Google::Apis::MerchantapiProductsV1beta::CloudExportAdditionalProperties, decorator: Google::Apis::MerchantapiProductsV1beta::CloudExportAdditionalProperties::Representation
229
+
230
+ property :color, as: 'color'
231
+ property :condition, as: 'condition'
232
+ property :cost_of_goods_sold, as: 'costOfGoodsSold', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
233
+
234
+ property :custom_label0, as: 'customLabel0'
235
+ property :custom_label1, as: 'customLabel1'
236
+ property :custom_label2, as: 'customLabel2'
237
+ property :custom_label3, as: 'customLabel3'
238
+ property :custom_label4, as: 'customLabel4'
239
+ property :description, as: 'description'
240
+ property :disclosure_date, as: 'disclosureDate'
241
+ property :display_ads_id, as: 'displayAdsId'
242
+ property :display_ads_link, as: 'displayAdsLink'
243
+ collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
244
+ property :display_ads_title, as: 'displayAdsTitle'
245
+ property :display_ads_value, as: 'displayAdsValue'
246
+ property :energy_efficiency_class, as: 'energyEfficiencyClass'
247
+ collection :excluded_destinations, as: 'excludedDestinations'
248
+ property :expiration_date, as: 'expirationDate'
249
+ property :external_seller_id, as: 'externalSellerId'
250
+ collection :free_shipping_threshold, as: 'freeShippingThreshold', class: Google::Apis::MerchantapiProductsV1beta::FreeShippingThreshold, decorator: Google::Apis::MerchantapiProductsV1beta::FreeShippingThreshold::Representation
251
+
252
+ property :gender, as: 'gender'
253
+ property :google_product_category, as: 'googleProductCategory'
254
+ property :gtin, as: 'gtin'
255
+ property :identifier_exists, as: 'identifierExists'
256
+ property :image_link, as: 'imageLink'
257
+ collection :included_destinations, as: 'includedDestinations'
258
+ property :installment, as: 'installment', class: Google::Apis::MerchantapiProductsV1beta::Installment, decorator: Google::Apis::MerchantapiProductsV1beta::Installment::Representation
259
+
260
+ property :is_bundle, as: 'isBundle'
261
+ property :item_group_id, as: 'itemGroupId'
262
+ collection :lifestyle_image_links, as: 'lifestyleImageLinks'
263
+ property :link, as: 'link'
264
+ property :link_template, as: 'linkTemplate'
265
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::MerchantapiProductsV1beta::LoyaltyPoints, decorator: Google::Apis::MerchantapiProductsV1beta::LoyaltyPoints::Representation
266
+
267
+ collection :loyalty_programs, as: 'loyaltyPrograms', class: Google::Apis::MerchantapiProductsV1beta::LoyaltyProgram, decorator: Google::Apis::MerchantapiProductsV1beta::LoyaltyProgram::Representation
268
+
269
+ property :material, as: 'material'
270
+ property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
271
+ property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
272
+ property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
273
+ property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
274
+ property :mobile_link, as: 'mobileLink'
275
+ property :mobile_link_template, as: 'mobileLinkTemplate'
276
+ property :mpn, as: 'mpn'
277
+ property :multipack, :numeric_string => true, as: 'multipack'
278
+ property :pattern, as: 'pattern'
279
+ property :pause, as: 'pause'
280
+ property :pickup_method, as: 'pickupMethod'
281
+ property :pickup_sla, as: 'pickupSla'
282
+ property :price, as: 'price', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
283
+
284
+ collection :product_details, as: 'productDetails', class: Google::Apis::MerchantapiProductsV1beta::ProductDetail, decorator: Google::Apis::MerchantapiProductsV1beta::ProductDetail::Representation
285
+
286
+ property :product_height, as: 'productHeight', class: Google::Apis::MerchantapiProductsV1beta::ProductDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ProductDimension::Representation
287
+
288
+ collection :product_highlights, as: 'productHighlights'
289
+ property :product_length, as: 'productLength', class: Google::Apis::MerchantapiProductsV1beta::ProductDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ProductDimension::Representation
290
+
291
+ collection :product_types, as: 'productTypes'
292
+ property :product_weight, as: 'productWeight', class: Google::Apis::MerchantapiProductsV1beta::ProductWeight, decorator: Google::Apis::MerchantapiProductsV1beta::ProductWeight::Representation
293
+
294
+ property :product_width, as: 'productWidth', class: Google::Apis::MerchantapiProductsV1beta::ProductDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ProductDimension::Representation
295
+
296
+ collection :promotion_ids, as: 'promotionIds'
297
+ property :sale_price, as: 'salePrice', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
298
+
299
+ property :sale_price_effective_date, as: 'salePriceEffectiveDate', class: Google::Apis::MerchantapiProductsV1beta::Interval, decorator: Google::Apis::MerchantapiProductsV1beta::Interval::Representation
300
+
301
+ property :sell_on_google_quantity, :numeric_string => true, as: 'sellOnGoogleQuantity'
302
+ collection :shipping, as: 'shipping', class: Google::Apis::MerchantapiProductsV1beta::Shipping, decorator: Google::Apis::MerchantapiProductsV1beta::Shipping::Representation
303
+
304
+ property :shipping_height, as: 'shippingHeight', class: Google::Apis::MerchantapiProductsV1beta::ShippingDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ShippingDimension::Representation
305
+
306
+ property :shipping_label, as: 'shippingLabel'
307
+ property :shipping_length, as: 'shippingLength', class: Google::Apis::MerchantapiProductsV1beta::ShippingDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ShippingDimension::Representation
308
+
309
+ property :shipping_weight, as: 'shippingWeight', class: Google::Apis::MerchantapiProductsV1beta::ShippingWeight, decorator: Google::Apis::MerchantapiProductsV1beta::ShippingWeight::Representation
310
+
311
+ property :shipping_width, as: 'shippingWidth', class: Google::Apis::MerchantapiProductsV1beta::ShippingDimension, decorator: Google::Apis::MerchantapiProductsV1beta::ShippingDimension::Representation
312
+
313
+ collection :shopping_ads_excluded_countries, as: 'shoppingAdsExcludedCountries'
314
+ property :size, as: 'size'
315
+ property :size_system, as: 'sizeSystem'
316
+ collection :size_types, as: 'sizeTypes'
317
+ property :structured_description, as: 'structuredDescription', class: Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription, decorator: Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription::Representation
318
+
319
+ property :structured_title, as: 'structuredTitle', class: Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle, decorator: Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle::Representation
320
+
321
+ property :subscription_cost, as: 'subscriptionCost', class: Google::Apis::MerchantapiProductsV1beta::SubscriptionCost, decorator: Google::Apis::MerchantapiProductsV1beta::SubscriptionCost::Representation
322
+
323
+ property :tax_category, as: 'taxCategory'
324
+ collection :taxes, as: 'taxes', class: Google::Apis::MerchantapiProductsV1beta::Tax, decorator: Google::Apis::MerchantapiProductsV1beta::Tax::Representation
325
+
326
+ property :title, as: 'title'
327
+ property :transit_time_label, as: 'transitTimeLabel'
328
+ property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::MerchantapiProductsV1beta::UnitPricingBaseMeasure, decorator: Google::Apis::MerchantapiProductsV1beta::UnitPricingBaseMeasure::Representation
329
+
330
+ property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::MerchantapiProductsV1beta::UnitPricingMeasure, decorator: Google::Apis::MerchantapiProductsV1beta::UnitPricingMeasure::Representation
331
+
332
+ property :virtual_model_link, as: 'virtualModelLink'
333
+ end
334
+ end
335
+
336
+ class Certification
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :certification_authority, as: 'certificationAuthority'
340
+ property :certification_code, as: 'certificationCode'
341
+ property :certification_name, as: 'certificationName'
342
+ property :certification_value, as: 'certificationValue'
343
+ end
344
+ end
345
+
346
+ class CloudExportAdditionalProperties
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :bool_value, as: 'boolValue'
350
+ collection :float_value, as: 'floatValue'
351
+ collection :int_value, as: 'intValue'
352
+ property :max_value, as: 'maxValue'
353
+ property :min_value, as: 'minValue'
354
+ property :property_name, as: 'propertyName'
355
+ collection :text_value, as: 'textValue'
356
+ property :unit_code, as: 'unitCode'
357
+ end
358
+ end
359
+
360
+ class CustomAttribute
361
+ # @private
362
+ class Representation < Google::Apis::Core::JsonRepresentation
363
+ collection :group_values, as: 'groupValues', class: Google::Apis::MerchantapiProductsV1beta::CustomAttribute, decorator: Google::Apis::MerchantapiProductsV1beta::CustomAttribute::Representation
364
+
365
+ property :name, as: 'name'
366
+ property :value, as: 'value'
367
+ end
368
+ end
369
+
370
+ class DestinationStatus
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ collection :approved_countries, as: 'approvedCountries'
374
+ collection :disapproved_countries, as: 'disapprovedCountries'
375
+ collection :pending_countries, as: 'pendingCountries'
376
+ property :reporting_context, as: 'reportingContext'
377
+ end
378
+ end
379
+
380
+ class Empty
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ end
384
+ end
385
+
386
+ class FreeShippingThreshold
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :country, as: 'country'
390
+ property :price_threshold, as: 'priceThreshold', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class Installment
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :amount, as: 'amount', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
399
+
400
+ property :credit_type, as: 'creditType'
401
+ property :downpayment, as: 'downpayment', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
402
+
403
+ property :months, :numeric_string => true, as: 'months'
404
+ end
405
+ end
406
+
407
+ class Interval
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :end_time, as: 'endTime'
411
+ property :start_time, as: 'startTime'
412
+ end
413
+ end
414
+
415
+ class ItemLevelIssue
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ collection :applicable_countries, as: 'applicableCountries'
419
+ property :attribute, as: 'attribute'
420
+ property :code, as: 'code'
421
+ property :description, as: 'description'
422
+ property :detail, as: 'detail'
423
+ property :documentation, as: 'documentation'
424
+ property :reporting_context, as: 'reportingContext'
425
+ property :resolution, as: 'resolution'
426
+ property :severity, as: 'severity'
427
+ end
428
+ end
429
+
430
+ class ListProductsResponse
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :next_page_token, as: 'nextPageToken'
434
+ collection :products, as: 'products', class: Google::Apis::MerchantapiProductsV1beta::Product, decorator: Google::Apis::MerchantapiProductsV1beta::Product::Representation
435
+
436
+ end
437
+ end
438
+
439
+ class LoyaltyPoints
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :name, as: 'name'
443
+ property :points_value, :numeric_string => true, as: 'pointsValue'
444
+ property :ratio, as: 'ratio'
445
+ end
446
+ end
447
+
448
+ class LoyaltyProgram
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :cashback_for_future_use, as: 'cashbackForFutureUse', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
452
+
453
+ property :loyalty_points, :numeric_string => true, as: 'loyaltyPoints'
454
+ property :price, as: 'price', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
455
+
456
+ property :program_label, as: 'programLabel'
457
+ property :tier_label, as: 'tierLabel'
458
+ end
459
+ end
460
+
461
+ class Price
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :amount_micros, :numeric_string => true, as: 'amountMicros'
465
+ property :currency_code, as: 'currencyCode'
466
+ end
467
+ end
468
+
469
+ class Product
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :attributes, as: 'attributes', class: Google::Apis::MerchantapiProductsV1beta::Attributes, decorator: Google::Apis::MerchantapiProductsV1beta::Attributes::Representation
473
+
474
+ property :channel, as: 'channel'
475
+ property :content_language, as: 'contentLanguage'
476
+ collection :custom_attributes, as: 'customAttributes', class: Google::Apis::MerchantapiProductsV1beta::CustomAttribute, decorator: Google::Apis::MerchantapiProductsV1beta::CustomAttribute::Representation
477
+
478
+ property :data_source, as: 'dataSource'
479
+ property :feed_label, as: 'feedLabel'
480
+ property :name, as: 'name'
481
+ property :offer_id, as: 'offerId'
482
+ property :product_status, as: 'productStatus', class: Google::Apis::MerchantapiProductsV1beta::ProductStatus, decorator: Google::Apis::MerchantapiProductsV1beta::ProductStatus::Representation
483
+
484
+ property :version_number, :numeric_string => true, as: 'versionNumber'
485
+ end
486
+ end
487
+
488
+ class ProductChange
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :new_value, as: 'newValue'
492
+ property :old_value, as: 'oldValue'
493
+ property :region_code, as: 'regionCode'
494
+ property :reporting_context, as: 'reportingContext'
495
+ end
496
+ end
497
+
498
+ class ProductDetail
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :attribute_name, as: 'attributeName'
502
+ property :attribute_value, as: 'attributeValue'
503
+ property :section_name, as: 'sectionName'
504
+ end
505
+ end
506
+
507
+ class ProductDimension
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :unit, as: 'unit'
511
+ property :value, as: 'value'
512
+ end
513
+ end
514
+
515
+ class ProductInput
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :attributes, as: 'attributes', class: Google::Apis::MerchantapiProductsV1beta::Attributes, decorator: Google::Apis::MerchantapiProductsV1beta::Attributes::Representation
519
+
520
+ property :channel, as: 'channel'
521
+ property :content_language, as: 'contentLanguage'
522
+ collection :custom_attributes, as: 'customAttributes', class: Google::Apis::MerchantapiProductsV1beta::CustomAttribute, decorator: Google::Apis::MerchantapiProductsV1beta::CustomAttribute::Representation
523
+
524
+ property :feed_label, as: 'feedLabel'
525
+ property :name, as: 'name'
526
+ property :offer_id, as: 'offerId'
527
+ property :product, as: 'product'
528
+ property :version_number, :numeric_string => true, as: 'versionNumber'
529
+ end
530
+ end
531
+
532
+ class ProductStatus
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :creation_date, as: 'creationDate'
536
+ collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::MerchantapiProductsV1beta::DestinationStatus, decorator: Google::Apis::MerchantapiProductsV1beta::DestinationStatus::Representation
537
+
538
+ property :google_expiration_date, as: 'googleExpirationDate'
539
+ collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::MerchantapiProductsV1beta::ItemLevelIssue, decorator: Google::Apis::MerchantapiProductsV1beta::ItemLevelIssue::Representation
540
+
541
+ property :last_update_date, as: 'lastUpdateDate'
542
+ end
543
+ end
544
+
545
+ class ProductStatusChangeMessage
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :account, as: 'account'
549
+ property :attribute, as: 'attribute'
550
+ collection :changes, as: 'changes', class: Google::Apis::MerchantapiProductsV1beta::ProductChange, decorator: Google::Apis::MerchantapiProductsV1beta::ProductChange::Representation
551
+
552
+ property :managing_account, as: 'managingAccount'
553
+ property :resource, as: 'resource'
554
+ property :resource_id, as: 'resourceId'
555
+ property :resource_type, as: 'resourceType'
556
+ end
557
+ end
558
+
559
+ class ProductStructuredDescription
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :content, as: 'content'
563
+ property :digital_source_type, as: 'digitalSourceType'
564
+ end
565
+ end
566
+
567
+ class ProductStructuredTitle
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :content, as: 'content'
571
+ property :digital_source_type, as: 'digitalSourceType'
572
+ end
573
+ end
574
+
575
+ class ProductWeight
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ property :unit, as: 'unit'
579
+ property :value, as: 'value'
580
+ end
581
+ end
582
+
583
+ class Shipping
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :country, as: 'country'
587
+ property :location_group_name, as: 'locationGroupName'
588
+ property :location_id, :numeric_string => true, as: 'locationId'
589
+ property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
590
+ property :max_transit_time, :numeric_string => true, as: 'maxTransitTime'
591
+ property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
592
+ property :min_transit_time, :numeric_string => true, as: 'minTransitTime'
593
+ property :postal_code, as: 'postalCode'
594
+ property :price, as: 'price', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
595
+
596
+ property :region, as: 'region'
597
+ property :service, as: 'service'
598
+ end
599
+ end
600
+
601
+ class ShippingDimension
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :unit, as: 'unit'
605
+ property :value, as: 'value'
606
+ end
607
+ end
608
+
609
+ class ShippingWeight
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :unit, as: 'unit'
613
+ property :value, as: 'value'
614
+ end
615
+ end
616
+
617
+ class SubscriptionCost
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :amount, as: 'amount', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
621
+
622
+ property :period, as: 'period'
623
+ property :period_length, :numeric_string => true, as: 'periodLength'
624
+ end
625
+ end
626
+
627
+ class Tax
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :country, as: 'country'
631
+ property :location_id, :numeric_string => true, as: 'locationId'
632
+ property :postal_code, as: 'postalCode'
633
+ property :rate, as: 'rate'
634
+ property :region, as: 'region'
635
+ property :tax_ship, as: 'taxShip'
636
+ end
637
+ end
638
+
639
+ class UnitPricingBaseMeasure
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :unit, as: 'unit'
643
+ property :value, :numeric_string => true, as: 'value'
644
+ end
645
+ end
646
+
647
+ class UnitPricingMeasure
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ property :unit, as: 'unit'
651
+ property :value, as: 'value'
652
+ end
653
+ end
654
+ end
655
+ end
656
+ end