google-apis-content_v2_1 0.17.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentV2_1
18
18
  # Version of the google-apis-content_v2_1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210707"
25
+ REVISION = "20210911"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,18 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class CaptureOrderRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class CaptureOrderResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
301
313
  class CarrierRate
302
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
315
 
@@ -502,6 +514,18 @@ module Google
502
514
  include Google::Apis::Core::JsonObjectSupport
503
515
  end
504
516
 
517
+ class FreeListingsProgramStatus
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class FreeListingsProgramStatusRegionStatus
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
505
529
  class GmbAccounts
506
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
531
 
@@ -1528,6 +1552,12 @@ module Google
1528
1552
  include Google::Apis::Core::JsonObjectSupport
1529
1553
  end
1530
1554
 
1555
+ class ProductDimension
1556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1557
+
1558
+ include Google::Apis::Core::JsonObjectSupport
1559
+ end
1560
+
1531
1561
  class ProductProductDetail
1532
1562
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1563
 
@@ -1594,6 +1624,12 @@ module Google
1594
1624
  include Google::Apis::Core::JsonObjectSupport
1595
1625
  end
1596
1626
 
1627
+ class ProductWeight
1628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1629
+
1630
+ include Google::Apis::Core::JsonObjectSupport
1631
+ end
1632
+
1597
1633
  class ProductsCustomBatchRequest
1598
1634
  class Representation < Google::Apis::Core::JsonRepresentation; end
1599
1635
 
@@ -1654,6 +1690,12 @@ module Google
1654
1690
  include Google::Apis::Core::JsonObjectSupport
1655
1691
  end
1656
1692
 
1693
+ class Promotion
1694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1695
+
1696
+ include Google::Apis::Core::JsonObjectSupport
1697
+ end
1698
+
1657
1699
  class PubsubNotificationSettings
1658
1700
  class Representation < Google::Apis::Core::JsonRepresentation; end
1659
1701
 
@@ -1810,12 +1852,36 @@ module Google
1810
1852
  include Google::Apis::Core::JsonObjectSupport
1811
1853
  end
1812
1854
 
1855
+ class RequestPhoneVerificationRequest
1856
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1857
+
1858
+ include Google::Apis::Core::JsonObjectSupport
1859
+ end
1860
+
1861
+ class RequestPhoneVerificationResponse
1862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1863
+
1864
+ include Google::Apis::Core::JsonObjectSupport
1865
+ end
1866
+
1813
1867
  class RequestReviewBuyOnGoogleProgramRequest
1814
1868
  class Representation < Google::Apis::Core::JsonRepresentation; end
1815
1869
 
1816
1870
  include Google::Apis::Core::JsonObjectSupport
1817
1871
  end
1818
1872
 
1873
+ class RequestReviewFreeListingsRequest
1874
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1875
+
1876
+ include Google::Apis::Core::JsonObjectSupport
1877
+ end
1878
+
1879
+ class RequestReviewShoppingAdsRequest
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1819
1885
  class ReturnAddress
1820
1886
  class Representation < Google::Apis::Core::JsonRepresentation; end
1821
1887
 
@@ -2104,6 +2170,18 @@ module Google
2104
2170
  include Google::Apis::Core::JsonObjectSupport
2105
2171
  end
2106
2172
 
2173
+ class ShoppingAdsProgramStatus
2174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2175
+
2176
+ include Google::Apis::Core::JsonObjectSupport
2177
+ end
2178
+
2179
+ class ShoppingAdsProgramStatusRegionStatus
2180
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2181
+
2182
+ include Google::Apis::Core::JsonObjectSupport
2183
+ end
2184
+
2107
2185
  class Table
2108
2186
  class Representation < Google::Apis::Core::JsonRepresentation; end
2109
2187
 
@@ -2200,6 +2278,18 @@ module Google
2200
2278
  include Google::Apis::Core::JsonObjectSupport
2201
2279
  end
2202
2280
 
2281
+ class VerifyPhoneNumberRequest
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2287
+ class VerifyPhoneNumberResponse
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2203
2293
  class WarehouseBasedDeliveryTime
2204
2294
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2295
 
@@ -2264,6 +2354,7 @@ module Google
2264
2354
 
2265
2355
  property :customer_service, as: 'customerService', class: Google::Apis::ContentV2_1::AccountCustomerService, decorator: Google::Apis::ContentV2_1::AccountCustomerService::Representation
2266
2356
 
2357
+ property :korean_business_registration_number, as: 'koreanBusinessRegistrationNumber'
2267
2358
  property :phone_number, as: 'phoneNumber'
2268
2359
  end
2269
2360
  end
@@ -2680,12 +2771,31 @@ module Google
2680
2771
  class BuyOnGoogleProgramStatus
2681
2772
  # @private
2682
2773
  class Representation < Google::Apis::Core::JsonRepresentation
2774
+ collection :business_model, as: 'businessModel'
2683
2775
  property :customer_service_pending_email, as: 'customerServicePendingEmail'
2776
+ property :customer_service_pending_phone_number, as: 'customerServicePendingPhoneNumber'
2777
+ property :customer_service_pending_phone_region_code, as: 'customerServicePendingPhoneRegionCode'
2684
2778
  property :customer_service_verified_email, as: 'customerServiceVerifiedEmail'
2779
+ property :customer_service_verified_phone_number, as: 'customerServiceVerifiedPhoneNumber'
2780
+ property :customer_service_verified_phone_region_code, as: 'customerServiceVerifiedPhoneRegionCode'
2781
+ property :online_sales_channel, as: 'onlineSalesChannel'
2685
2782
  property :participation_stage, as: 'participationStage'
2686
2783
  end
2687
2784
  end
2688
2785
 
2786
+ class CaptureOrderRequest
2787
+ # @private
2788
+ class Representation < Google::Apis::Core::JsonRepresentation
2789
+ end
2790
+ end
2791
+
2792
+ class CaptureOrderResponse
2793
+ # @private
2794
+ class Representation < Google::Apis::Core::JsonRepresentation
2795
+ property :execution_status, as: 'executionStatus'
2796
+ end
2797
+ end
2798
+
2689
2799
  class CarrierRate
2690
2800
  # @private
2691
2801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3075,6 +3185,28 @@ module Google
3075
3185
  end
3076
3186
  end
3077
3187
 
3188
+ class FreeListingsProgramStatus
3189
+ # @private
3190
+ class Representation < Google::Apis::Core::JsonRepresentation
3191
+ collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus::Representation
3192
+
3193
+ property :state, as: 'state'
3194
+ end
3195
+ end
3196
+
3197
+ class FreeListingsProgramStatusRegionStatus
3198
+ # @private
3199
+ class Representation < Google::Apis::Core::JsonRepresentation
3200
+ property :disapproval_date, as: 'disapprovalDate'
3201
+ property :eligibility_status, as: 'eligibilityStatus'
3202
+ property :enhanced_eligibility_status, as: 'enhancedEligibilityStatus'
3203
+ property :ineligibility_reason, as: 'ineligibilityReason'
3204
+ collection :region_codes, as: 'regionCodes'
3205
+ property :review_eligibility_status, as: 'reviewEligibilityStatus'
3206
+ collection :review_issues, as: 'reviewIssues'
3207
+ end
3208
+ end
3209
+
3078
3210
  class GmbAccounts
3079
3211
  # @private
3080
3212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4964,8 +5096,16 @@ module Google
4964
5096
 
4965
5097
  collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
4966
5098
 
5099
+ property :product_height, as: 'productHeight', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5100
+
4967
5101
  collection :product_highlights, as: 'productHighlights'
5102
+ property :product_length, as: 'productLength', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5103
+
4968
5104
  collection :product_types, as: 'productTypes'
5105
+ property :product_weight, as: 'productWeight', class: Google::Apis::ContentV2_1::ProductWeight, decorator: Google::Apis::ContentV2_1::ProductWeight::Representation
5106
+
5107
+ property :product_width, as: 'productWidth', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5108
+
4969
5109
  collection :promotion_ids, as: 'promotionIds'
4970
5110
  property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
4971
5111
 
@@ -5014,6 +5154,14 @@ module Google
5014
5154
  end
5015
5155
  end
5016
5156
 
5157
+ class ProductDimension
5158
+ # @private
5159
+ class Representation < Google::Apis::Core::JsonRepresentation
5160
+ property :unit, as: 'unit'
5161
+ property :value, as: 'value'
5162
+ end
5163
+ end
5164
+
5017
5165
  class ProductProductDetail
5018
5166
  # @private
5019
5167
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5138,6 +5286,14 @@ module Google
5138
5286
  end
5139
5287
  end
5140
5288
 
5289
+ class ProductWeight
5290
+ # @private
5291
+ class Representation < Google::Apis::Core::JsonRepresentation
5292
+ property :unit, as: 'unit'
5293
+ property :value, as: 'value'
5294
+ end
5295
+ end
5296
+
5141
5297
  class ProductsCustomBatchRequest
5142
5298
  # @private
5143
5299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5242,6 +5398,49 @@ module Google
5242
5398
  end
5243
5399
  end
5244
5400
 
5401
+ class Promotion
5402
+ # @private
5403
+ class Representation < Google::Apis::Core::JsonRepresentation
5404
+ collection :brand, as: 'brand'
5405
+ collection :brand_exclusion, as: 'brandExclusion'
5406
+ property :content_language, as: 'contentLanguage'
5407
+ property :coupon_value_type, as: 'couponValueType'
5408
+ property :free_gift_description, as: 'freeGiftDescription'
5409
+ property :free_gift_item_id, as: 'freeGiftItemId'
5410
+ property :free_gift_value, as: 'freeGiftValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5411
+
5412
+ property :generic_redemption_code, as: 'genericRedemptionCode'
5413
+ property :get_this_quantity_discounted, as: 'getThisQuantityDiscounted'
5414
+ property :id, as: 'id'
5415
+ collection :item_group_id, as: 'itemGroupId'
5416
+ collection :item_group_id_exclusion, as: 'itemGroupIdExclusion'
5417
+ collection :item_id, as: 'itemId'
5418
+ collection :item_id_exclusion, as: 'itemIdExclusion'
5419
+ property :limit_quantity, as: 'limitQuantity'
5420
+ property :limit_value, as: 'limitValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5421
+
5422
+ property :long_title, as: 'longTitle'
5423
+ property :minimum_purchase_amount, as: 'minimumPurchaseAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5424
+
5425
+ property :minimum_purchase_quantity, as: 'minimumPurchaseQuantity'
5426
+ property :money_budget, as: 'moneyBudget', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5427
+
5428
+ property :money_off_amount, as: 'moneyOffAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5429
+
5430
+ property :offer_type, as: 'offerType'
5431
+ property :order_limit, as: 'orderLimit'
5432
+ property :percent_off, as: 'percentOff'
5433
+ property :product_applicability, as: 'productApplicability'
5434
+ collection :promotion_destination_ids, as: 'promotionDestinationIds'
5435
+ property :promotion_display_dates, as: 'promotionDisplayDates'
5436
+ property :promotion_effective_dates, as: 'promotionEffectiveDates'
5437
+ property :promotion_id, as: 'promotionId'
5438
+ collection :redemption_channel, as: 'redemptionChannel'
5439
+ collection :shipping_service_names, as: 'shippingServiceNames'
5440
+ property :target_country, as: 'targetCountry'
5441
+ end
5442
+ end
5443
+
5245
5444
  class PubsubNotificationSettings
5246
5445
  # @private
5247
5446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5529,12 +5728,43 @@ module Google
5529
5728
  end
5530
5729
  end
5531
5730
 
5731
+ class RequestPhoneVerificationRequest
5732
+ # @private
5733
+ class Representation < Google::Apis::Core::JsonRepresentation
5734
+ property :language_code, as: 'languageCode'
5735
+ property :phone_number, as: 'phoneNumber'
5736
+ property :phone_region_code, as: 'phoneRegionCode'
5737
+ property :phone_verification_method, as: 'phoneVerificationMethod'
5738
+ end
5739
+ end
5740
+
5741
+ class RequestPhoneVerificationResponse
5742
+ # @private
5743
+ class Representation < Google::Apis::Core::JsonRepresentation
5744
+ property :verification_id, as: 'verificationId'
5745
+ end
5746
+ end
5747
+
5532
5748
  class RequestReviewBuyOnGoogleProgramRequest
5533
5749
  # @private
5534
5750
  class Representation < Google::Apis::Core::JsonRepresentation
5535
5751
  end
5536
5752
  end
5537
5753
 
5754
+ class RequestReviewFreeListingsRequest
5755
+ # @private
5756
+ class Representation < Google::Apis::Core::JsonRepresentation
5757
+ property :region_code, as: 'regionCode'
5758
+ end
5759
+ end
5760
+
5761
+ class RequestReviewShoppingAdsRequest
5762
+ # @private
5763
+ class Representation < Google::Apis::Core::JsonRepresentation
5764
+ property :region_code, as: 'regionCode'
5765
+ end
5766
+ end
5767
+
5538
5768
  class ReturnAddress
5539
5769
  # @private
5540
5770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6078,6 +6308,27 @@ module Google
6078
6308
  end
6079
6309
  end
6080
6310
 
6311
+ class ShoppingAdsProgramStatus
6312
+ # @private
6313
+ class Representation < Google::Apis::Core::JsonRepresentation
6314
+ collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus::Representation
6315
+
6316
+ property :state, as: 'state'
6317
+ end
6318
+ end
6319
+
6320
+ class ShoppingAdsProgramStatusRegionStatus
6321
+ # @private
6322
+ class Representation < Google::Apis::Core::JsonRepresentation
6323
+ property :disapproval_date, as: 'disapprovalDate'
6324
+ property :eligibility_status, as: 'eligibilityStatus'
6325
+ property :ineligibility_reason, as: 'ineligibilityReason'
6326
+ collection :region_codes, as: 'regionCodes'
6327
+ property :review_eligibility_status, as: 'reviewEligibilityStatus'
6328
+ collection :review_issues, as: 'reviewIssues'
6329
+ end
6330
+ end
6331
+
6081
6332
  class Table
6082
6333
  # @private
6083
6334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6271,6 +6522,22 @@ module Google
6271
6522
  end
6272
6523
  end
6273
6524
 
6525
+ class VerifyPhoneNumberRequest
6526
+ # @private
6527
+ class Representation < Google::Apis::Core::JsonRepresentation
6528
+ property :phone_verification_method, as: 'phoneVerificationMethod'
6529
+ property :verification_code, as: 'verificationCode'
6530
+ property :verification_id, as: 'verificationId'
6531
+ end
6532
+ end
6533
+
6534
+ class VerifyPhoneNumberResponse
6535
+ # @private
6536
+ class Representation < Google::Apis::Core::JsonRepresentation
6537
+ property :verified_phone_number, as: 'verifiedPhoneNumber'
6538
+ end
6539
+ end
6540
+
6274
6541
  class WarehouseBasedDeliveryTime
6275
6542
  # @private
6276
6543
  class Representation < Google::Apis::Core::JsonRepresentation