google-apis-content_v2_1 0.18.0 → 0.22.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.18.0"
19
+ GEM_VERSION = "0.22.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 = "20210715"
25
+ REVISION = "20210917"
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
 
@@ -490,6 +502,12 @@ module Google
490
502
  include Google::Apis::Core::JsonObjectSupport
491
503
  end
492
504
 
505
+ class ECommercePlatformLinkInfo
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
493
511
  class Error
494
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
513
 
@@ -502,6 +520,18 @@ module Google
502
520
  include Google::Apis::Core::JsonObjectSupport
503
521
  end
504
522
 
523
+ class FreeListingsProgramStatus
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class FreeListingsProgramStatusRegionStatus
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
505
535
  class GmbAccounts
506
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
537
 
@@ -1528,6 +1558,12 @@ module Google
1528
1558
  include Google::Apis::Core::JsonObjectSupport
1529
1559
  end
1530
1560
 
1561
+ class ProductDimension
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1531
1567
  class ProductProductDetail
1532
1568
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1569
 
@@ -1594,6 +1630,12 @@ module Google
1594
1630
  include Google::Apis::Core::JsonObjectSupport
1595
1631
  end
1596
1632
 
1633
+ class ProductWeight
1634
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1635
+
1636
+ include Google::Apis::Core::JsonObjectSupport
1637
+ end
1638
+
1597
1639
  class ProductsCustomBatchRequest
1598
1640
  class Representation < Google::Apis::Core::JsonRepresentation; end
1599
1641
 
@@ -1654,6 +1696,12 @@ module Google
1654
1696
  include Google::Apis::Core::JsonObjectSupport
1655
1697
  end
1656
1698
 
1699
+ class Promotion
1700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1701
+
1702
+ include Google::Apis::Core::JsonObjectSupport
1703
+ end
1704
+
1657
1705
  class PubsubNotificationSettings
1658
1706
  class Representation < Google::Apis::Core::JsonRepresentation; end
1659
1707
 
@@ -1810,12 +1858,36 @@ module Google
1810
1858
  include Google::Apis::Core::JsonObjectSupport
1811
1859
  end
1812
1860
 
1861
+ class RequestPhoneVerificationRequest
1862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1863
+
1864
+ include Google::Apis::Core::JsonObjectSupport
1865
+ end
1866
+
1867
+ class RequestPhoneVerificationResponse
1868
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1869
+
1870
+ include Google::Apis::Core::JsonObjectSupport
1871
+ end
1872
+
1813
1873
  class RequestReviewBuyOnGoogleProgramRequest
1814
1874
  class Representation < Google::Apis::Core::JsonRepresentation; end
1815
1875
 
1816
1876
  include Google::Apis::Core::JsonObjectSupport
1817
1877
  end
1818
1878
 
1879
+ class RequestReviewFreeListingsRequest
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1885
+ class RequestReviewShoppingAdsRequest
1886
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1887
+
1888
+ include Google::Apis::Core::JsonObjectSupport
1889
+ end
1890
+
1819
1891
  class ReturnAddress
1820
1892
  class Representation < Google::Apis::Core::JsonRepresentation; end
1821
1893
 
@@ -2104,6 +2176,18 @@ module Google
2104
2176
  include Google::Apis::Core::JsonObjectSupport
2105
2177
  end
2106
2178
 
2179
+ class ShoppingAdsProgramStatus
2180
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2181
+
2182
+ include Google::Apis::Core::JsonObjectSupport
2183
+ end
2184
+
2185
+ class ShoppingAdsProgramStatusRegionStatus
2186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2187
+
2188
+ include Google::Apis::Core::JsonObjectSupport
2189
+ end
2190
+
2107
2191
  class Table
2108
2192
  class Representation < Google::Apis::Core::JsonRepresentation; end
2109
2193
 
@@ -2200,6 +2284,18 @@ module Google
2200
2284
  include Google::Apis::Core::JsonObjectSupport
2201
2285
  end
2202
2286
 
2287
+ class VerifyPhoneNumberRequest
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2293
+ class VerifyPhoneNumberResponse
2294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2295
+
2296
+ include Google::Apis::Core::JsonObjectSupport
2297
+ end
2298
+
2203
2299
  class WarehouseBasedDeliveryTime
2204
2300
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2301
 
@@ -2264,6 +2360,7 @@ module Google
2264
2360
 
2265
2361
  property :customer_service, as: 'customerService', class: Google::Apis::ContentV2_1::AccountCustomerService, decorator: Google::Apis::ContentV2_1::AccountCustomerService::Representation
2266
2362
 
2363
+ property :korean_business_registration_number, as: 'koreanBusinessRegistrationNumber'
2267
2364
  property :phone_number, as: 'phoneNumber'
2268
2365
  end
2269
2366
  end
@@ -2505,6 +2602,8 @@ module Google
2505
2602
  # @private
2506
2603
  class Representation < Google::Apis::Core::JsonRepresentation
2507
2604
  property :action, as: 'action'
2605
+ property :e_commerce_platform_link_info, as: 'eCommercePlatformLinkInfo', class: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo, decorator: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo::Representation
2606
+
2508
2607
  property :link_type, as: 'linkType'
2509
2608
  property :linked_account_id, as: 'linkedAccountId'
2510
2609
  property :payment_service_provider_link_info, as: 'paymentServiceProviderLinkInfo', class: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo, decorator: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo::Representation
@@ -2680,12 +2779,31 @@ module Google
2680
2779
  class BuyOnGoogleProgramStatus
2681
2780
  # @private
2682
2781
  class Representation < Google::Apis::Core::JsonRepresentation
2782
+ collection :business_model, as: 'businessModel'
2683
2783
  property :customer_service_pending_email, as: 'customerServicePendingEmail'
2784
+ property :customer_service_pending_phone_number, as: 'customerServicePendingPhoneNumber'
2785
+ property :customer_service_pending_phone_region_code, as: 'customerServicePendingPhoneRegionCode'
2684
2786
  property :customer_service_verified_email, as: 'customerServiceVerifiedEmail'
2787
+ property :customer_service_verified_phone_number, as: 'customerServiceVerifiedPhoneNumber'
2788
+ property :customer_service_verified_phone_region_code, as: 'customerServiceVerifiedPhoneRegionCode'
2789
+ property :online_sales_channel, as: 'onlineSalesChannel'
2685
2790
  property :participation_stage, as: 'participationStage'
2686
2791
  end
2687
2792
  end
2688
2793
 
2794
+ class CaptureOrderRequest
2795
+ # @private
2796
+ class Representation < Google::Apis::Core::JsonRepresentation
2797
+ end
2798
+ end
2799
+
2800
+ class CaptureOrderResponse
2801
+ # @private
2802
+ class Representation < Google::Apis::Core::JsonRepresentation
2803
+ property :execution_status, as: 'executionStatus'
2804
+ end
2805
+ end
2806
+
2689
2807
  class CarrierRate
2690
2808
  # @private
2691
2809
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3056,6 +3174,13 @@ module Google
3056
3174
  end
3057
3175
  end
3058
3176
 
3177
+ class ECommercePlatformLinkInfo
3178
+ # @private
3179
+ class Representation < Google::Apis::Core::JsonRepresentation
3180
+ property :external_account_id, as: 'externalAccountId'
3181
+ end
3182
+ end
3183
+
3059
3184
  class Error
3060
3185
  # @private
3061
3186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3075,6 +3200,28 @@ module Google
3075
3200
  end
3076
3201
  end
3077
3202
 
3203
+ class FreeListingsProgramStatus
3204
+ # @private
3205
+ class Representation < Google::Apis::Core::JsonRepresentation
3206
+ collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus::Representation
3207
+
3208
+ property :state, as: 'state'
3209
+ end
3210
+ end
3211
+
3212
+ class FreeListingsProgramStatusRegionStatus
3213
+ # @private
3214
+ class Representation < Google::Apis::Core::JsonRepresentation
3215
+ property :disapproval_date, as: 'disapprovalDate'
3216
+ property :eligibility_status, as: 'eligibilityStatus'
3217
+ property :enhanced_eligibility_status, as: 'enhancedEligibilityStatus'
3218
+ property :ineligibility_reason, as: 'ineligibilityReason'
3219
+ collection :region_codes, as: 'regionCodes'
3220
+ property :review_eligibility_status, as: 'reviewEligibilityStatus'
3221
+ collection :review_issues, as: 'reviewIssues'
3222
+ end
3223
+ end
3224
+
3078
3225
  class GmbAccounts
3079
3226
  # @private
3080
3227
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4964,8 +5111,16 @@ module Google
4964
5111
 
4965
5112
  collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
4966
5113
 
5114
+ property :product_height, as: 'productHeight', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5115
+
4967
5116
  collection :product_highlights, as: 'productHighlights'
5117
+ property :product_length, as: 'productLength', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5118
+
4968
5119
  collection :product_types, as: 'productTypes'
5120
+ property :product_weight, as: 'productWeight', class: Google::Apis::ContentV2_1::ProductWeight, decorator: Google::Apis::ContentV2_1::ProductWeight::Representation
5121
+
5122
+ property :product_width, as: 'productWidth', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
5123
+
4969
5124
  collection :promotion_ids, as: 'promotionIds'
4970
5125
  property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
4971
5126
 
@@ -5014,6 +5169,14 @@ module Google
5014
5169
  end
5015
5170
  end
5016
5171
 
5172
+ class ProductDimension
5173
+ # @private
5174
+ class Representation < Google::Apis::Core::JsonRepresentation
5175
+ property :unit, as: 'unit'
5176
+ property :value, as: 'value'
5177
+ end
5178
+ end
5179
+
5017
5180
  class ProductProductDetail
5018
5181
  # @private
5019
5182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5138,6 +5301,14 @@ module Google
5138
5301
  end
5139
5302
  end
5140
5303
 
5304
+ class ProductWeight
5305
+ # @private
5306
+ class Representation < Google::Apis::Core::JsonRepresentation
5307
+ property :unit, as: 'unit'
5308
+ property :value, as: 'value'
5309
+ end
5310
+ end
5311
+
5141
5312
  class ProductsCustomBatchRequest
5142
5313
  # @private
5143
5314
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5242,6 +5413,49 @@ module Google
5242
5413
  end
5243
5414
  end
5244
5415
 
5416
+ class Promotion
5417
+ # @private
5418
+ class Representation < Google::Apis::Core::JsonRepresentation
5419
+ collection :brand, as: 'brand'
5420
+ collection :brand_exclusion, as: 'brandExclusion'
5421
+ property :content_language, as: 'contentLanguage'
5422
+ property :coupon_value_type, as: 'couponValueType'
5423
+ property :free_gift_description, as: 'freeGiftDescription'
5424
+ property :free_gift_item_id, as: 'freeGiftItemId'
5425
+ property :free_gift_value, as: 'freeGiftValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5426
+
5427
+ property :generic_redemption_code, as: 'genericRedemptionCode'
5428
+ property :get_this_quantity_discounted, as: 'getThisQuantityDiscounted'
5429
+ property :id, as: 'id'
5430
+ collection :item_group_id, as: 'itemGroupId'
5431
+ collection :item_group_id_exclusion, as: 'itemGroupIdExclusion'
5432
+ collection :item_id, as: 'itemId'
5433
+ collection :item_id_exclusion, as: 'itemIdExclusion'
5434
+ property :limit_quantity, as: 'limitQuantity'
5435
+ property :limit_value, as: 'limitValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5436
+
5437
+ property :long_title, as: 'longTitle'
5438
+ property :minimum_purchase_amount, as: 'minimumPurchaseAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5439
+
5440
+ property :minimum_purchase_quantity, as: 'minimumPurchaseQuantity'
5441
+ property :money_budget, as: 'moneyBudget', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5442
+
5443
+ property :money_off_amount, as: 'moneyOffAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5444
+
5445
+ property :offer_type, as: 'offerType'
5446
+ property :order_limit, as: 'orderLimit'
5447
+ property :percent_off, as: 'percentOff'
5448
+ property :product_applicability, as: 'productApplicability'
5449
+ collection :promotion_destination_ids, as: 'promotionDestinationIds'
5450
+ property :promotion_display_dates, as: 'promotionDisplayDates'
5451
+ property :promotion_effective_dates, as: 'promotionEffectiveDates'
5452
+ property :promotion_id, as: 'promotionId'
5453
+ collection :redemption_channel, as: 'redemptionChannel'
5454
+ collection :shipping_service_names, as: 'shippingServiceNames'
5455
+ property :target_country, as: 'targetCountry'
5456
+ end
5457
+ end
5458
+
5245
5459
  class PubsubNotificationSettings
5246
5460
  # @private
5247
5461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5529,12 +5743,43 @@ module Google
5529
5743
  end
5530
5744
  end
5531
5745
 
5746
+ class RequestPhoneVerificationRequest
5747
+ # @private
5748
+ class Representation < Google::Apis::Core::JsonRepresentation
5749
+ property :language_code, as: 'languageCode'
5750
+ property :phone_number, as: 'phoneNumber'
5751
+ property :phone_region_code, as: 'phoneRegionCode'
5752
+ property :phone_verification_method, as: 'phoneVerificationMethod'
5753
+ end
5754
+ end
5755
+
5756
+ class RequestPhoneVerificationResponse
5757
+ # @private
5758
+ class Representation < Google::Apis::Core::JsonRepresentation
5759
+ property :verification_id, as: 'verificationId'
5760
+ end
5761
+ end
5762
+
5532
5763
  class RequestReviewBuyOnGoogleProgramRequest
5533
5764
  # @private
5534
5765
  class Representation < Google::Apis::Core::JsonRepresentation
5535
5766
  end
5536
5767
  end
5537
5768
 
5769
+ class RequestReviewFreeListingsRequest
5770
+ # @private
5771
+ class Representation < Google::Apis::Core::JsonRepresentation
5772
+ property :region_code, as: 'regionCode'
5773
+ end
5774
+ end
5775
+
5776
+ class RequestReviewShoppingAdsRequest
5777
+ # @private
5778
+ class Representation < Google::Apis::Core::JsonRepresentation
5779
+ property :region_code, as: 'regionCode'
5780
+ end
5781
+ end
5782
+
5538
5783
  class ReturnAddress
5539
5784
  # @private
5540
5785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6078,6 +6323,27 @@ module Google
6078
6323
  end
6079
6324
  end
6080
6325
 
6326
+ class ShoppingAdsProgramStatus
6327
+ # @private
6328
+ class Representation < Google::Apis::Core::JsonRepresentation
6329
+ collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus::Representation
6330
+
6331
+ property :state, as: 'state'
6332
+ end
6333
+ end
6334
+
6335
+ class ShoppingAdsProgramStatusRegionStatus
6336
+ # @private
6337
+ class Representation < Google::Apis::Core::JsonRepresentation
6338
+ property :disapproval_date, as: 'disapprovalDate'
6339
+ property :eligibility_status, as: 'eligibilityStatus'
6340
+ property :ineligibility_reason, as: 'ineligibilityReason'
6341
+ collection :region_codes, as: 'regionCodes'
6342
+ property :review_eligibility_status, as: 'reviewEligibilityStatus'
6343
+ collection :review_issues, as: 'reviewIssues'
6344
+ end
6345
+ end
6346
+
6081
6347
  class Table
6082
6348
  # @private
6083
6349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6271,6 +6537,22 @@ module Google
6271
6537
  end
6272
6538
  end
6273
6539
 
6540
+ class VerifyPhoneNumberRequest
6541
+ # @private
6542
+ class Representation < Google::Apis::Core::JsonRepresentation
6543
+ property :phone_verification_method, as: 'phoneVerificationMethod'
6544
+ property :verification_code, as: 'verificationCode'
6545
+ property :verification_id, as: 'verificationId'
6546
+ end
6547
+ end
6548
+
6549
+ class VerifyPhoneNumberResponse
6550
+ # @private
6551
+ class Representation < Google::Apis::Core::JsonRepresentation
6552
+ property :verified_phone_number, as: 'verifiedPhoneNumber'
6553
+ end
6554
+ end
6555
+
6274
6556
  class WarehouseBasedDeliveryTime
6275
6557
  # @private
6276
6558
  class Representation < Google::Apis::Core::JsonRepresentation