google-apis-content_v2_1 0.1.0 → 0.6.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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201211"
25
+ REVISION = "20210226"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AccountCredentials
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class AccountCustomerService
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class AccountReturnCarrier
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class AccountStatus
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class BuyOnGoogleProgramStatus
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class CarrierRate
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -286,6 +304,36 @@ module Google
286
304
  include Google::Apis::Core::JsonObjectSupport
287
305
  end
288
306
 
307
+ class Collection
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class CollectionFeaturedProduct
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class CollectionStatus
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class CollectionStatusDestinationStatus
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class CollectionStatusItemLevelIssue
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
289
337
  class Css
290
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
339
 
@@ -628,6 +676,24 @@ module Google
628
676
  include Google::Apis::Core::JsonObjectSupport
629
677
  end
630
678
 
679
+ class ListAccountReturnCarrierResponse
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class ListCollectionStatusesResponse
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class ListCollectionsResponse
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
631
697
  class ListCssesResponse
632
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
699
 
@@ -658,6 +724,12 @@ module Google
658
724
  include Google::Apis::Core::JsonObjectSupport
659
725
  end
660
726
 
727
+ class ListReturnPolicyOnlineResponse
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
661
733
  class LocalInventory
662
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
735
 
@@ -718,6 +790,12 @@ module Google
718
790
  include Google::Apis::Core::JsonObjectSupport
719
791
  end
720
792
 
793
+ class Metrics
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
721
799
  class MinimumOrderValueTable
722
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
801
 
@@ -736,6 +814,12 @@ module Google
736
814
  include Google::Apis::Core::JsonObjectSupport
737
815
  end
738
816
 
817
+ class OnboardBuyOnGoogleProgramRequest
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
739
823
  class Order
740
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
825
 
@@ -1624,6 +1708,12 @@ module Google
1624
1708
  include Google::Apis::Core::JsonObjectSupport
1625
1709
  end
1626
1710
 
1711
+ class ReportRow
1712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1713
+
1714
+ include Google::Apis::Core::JsonObjectSupport
1715
+ end
1716
+
1627
1717
  class RepricingProductReport
1628
1718
  class Representation < Google::Apis::Core::JsonRepresentation; end
1629
1719
 
@@ -1720,6 +1810,36 @@ module Google
1720
1810
  include Google::Apis::Core::JsonObjectSupport
1721
1811
  end
1722
1812
 
1813
+ class ReturnPolicyOnline
1814
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1815
+
1816
+ include Google::Apis::Core::JsonObjectSupport
1817
+ end
1818
+
1819
+ class ReturnPolicyOnlinePolicy
1820
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1821
+
1822
+ include Google::Apis::Core::JsonObjectSupport
1823
+ end
1824
+
1825
+ class ReturnPolicyOnlineRestockingFee
1826
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1827
+
1828
+ include Google::Apis::Core::JsonObjectSupport
1829
+ end
1830
+
1831
+ class ReturnPolicyOnlineReturnReasonCategoryInfo
1832
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1833
+
1834
+ include Google::Apis::Core::JsonObjectSupport
1835
+ end
1836
+
1837
+ class ReturnPolicyOnlineReturnShippingFee
1838
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1839
+
1840
+ include Google::Apis::Core::JsonObjectSupport
1841
+ end
1842
+
1723
1843
  class ReturnPolicyPolicy
1724
1844
  class Representation < Google::Apis::Core::JsonRepresentation; end
1725
1845
 
@@ -1810,6 +1930,24 @@ module Google
1810
1930
  include Google::Apis::Core::JsonObjectSupport
1811
1931
  end
1812
1932
 
1933
+ class SearchRequest
1934
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1935
+
1936
+ include Google::Apis::Core::JsonObjectSupport
1937
+ end
1938
+
1939
+ class SearchResponse
1940
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1941
+
1942
+ include Google::Apis::Core::JsonObjectSupport
1943
+ end
1944
+
1945
+ class Segments
1946
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1947
+
1948
+ include Google::Apis::Core::JsonObjectSupport
1949
+ end
1950
+
1813
1951
  class Service
1814
1952
  class Representation < Google::Apis::Core::JsonRepresentation; end
1815
1953
 
@@ -2044,6 +2182,7 @@ module Google
2044
2182
  collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation
2045
2183
 
2046
2184
  property :adult_content, as: 'adultContent'
2185
+ collection :automatic_label_ids, as: 'automaticLabelIds'
2047
2186
  property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2_1::AccountBusinessInformation, decorator: Google::Apis::ContentV2_1::AccountBusinessInformation::Representation
2048
2187
 
2049
2188
  property :css_id, :numeric_string => true, as: 'cssId'
@@ -2092,6 +2231,15 @@ module Google
2092
2231
  end
2093
2232
  end
2094
2233
 
2234
+ class AccountCredentials
2235
+ # @private
2236
+ class Representation < Google::Apis::Core::JsonRepresentation
2237
+ property :access_token, as: 'accessToken'
2238
+ property :expires_in, :numeric_string => true, as: 'expiresIn'
2239
+ property :purpose, as: 'purpose'
2240
+ end
2241
+ end
2242
+
2095
2243
  class AccountCustomerService
2096
2244
  # @private
2097
2245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2124,10 +2272,21 @@ module Google
2124
2272
  property :account_id, :numeric_string => true, as: 'accountId'
2125
2273
  property :description, as: 'description'
2126
2274
  property :label_id, :numeric_string => true, as: 'labelId'
2275
+ property :label_type, as: 'labelType'
2127
2276
  property :name, as: 'name'
2128
2277
  end
2129
2278
  end
2130
2279
 
2280
+ class AccountReturnCarrier
2281
+ # @private
2282
+ class Representation < Google::Apis::Core::JsonRepresentation
2283
+ property :carrier_account_id, :numeric_string => true, as: 'carrierAccountId'
2284
+ property :carrier_account_name, as: 'carrierAccountName'
2285
+ property :carrier_account_number, as: 'carrierAccountNumber'
2286
+ property :carrier_code, as: 'carrierCode'
2287
+ end
2288
+ end
2289
+
2131
2290
  class AccountStatus
2132
2291
  # @private
2133
2292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2472,6 +2631,15 @@ module Google
2472
2631
  end
2473
2632
  end
2474
2633
 
2634
+ class BuyOnGoogleProgramStatus
2635
+ # @private
2636
+ class Representation < Google::Apis::Core::JsonRepresentation
2637
+ property :customer_service_pending_email, as: 'customerServicePendingEmail'
2638
+ property :customer_service_verified_email, as: 'customerServiceVerifiedEmail'
2639
+ property :participation_stage, as: 'participationStage'
2640
+ end
2641
+ end
2642
+
2475
2643
  class CarrierRate
2476
2644
  # @private
2477
2645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2494,6 +2662,70 @@ module Google
2494
2662
  end
2495
2663
  end
2496
2664
 
2665
+ class Collection
2666
+ # @private
2667
+ class Representation < Google::Apis::Core::JsonRepresentation
2668
+ property :custom_label0, as: 'customLabel0'
2669
+ property :custom_label1, as: 'customLabel1'
2670
+ property :custom_label2, as: 'customLabel2'
2671
+ property :custom_label3, as: 'customLabel3'
2672
+ property :custom_label4, as: 'customLabel4'
2673
+ collection :featured_product, as: 'featuredProduct', class: Google::Apis::ContentV2_1::CollectionFeaturedProduct, decorator: Google::Apis::ContentV2_1::CollectionFeaturedProduct::Representation
2674
+
2675
+ collection :headline, as: 'headline'
2676
+ property :id, as: 'id'
2677
+ collection :image_link, as: 'imageLink'
2678
+ property :language, as: 'language'
2679
+ property :link, as: 'link'
2680
+ property :mobile_link, as: 'mobileLink'
2681
+ property :product_country, as: 'productCountry'
2682
+ end
2683
+ end
2684
+
2685
+ class CollectionFeaturedProduct
2686
+ # @private
2687
+ class Representation < Google::Apis::Core::JsonRepresentation
2688
+ property :offer_id, as: 'offerId'
2689
+ property :x, as: 'x'
2690
+ property :y, as: 'y'
2691
+ end
2692
+ end
2693
+
2694
+ class CollectionStatus
2695
+ # @private
2696
+ class Representation < Google::Apis::Core::JsonRepresentation
2697
+ collection :collection_level_issuses, as: 'collectionLevelIssuses', class: Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue, decorator: Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue::Representation
2698
+
2699
+ property :creation_date, as: 'creationDate'
2700
+ collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2_1::CollectionStatusDestinationStatus, decorator: Google::Apis::ContentV2_1::CollectionStatusDestinationStatus::Representation
2701
+
2702
+ property :id, as: 'id'
2703
+ property :last_update_date, as: 'lastUpdateDate'
2704
+ end
2705
+ end
2706
+
2707
+ class CollectionStatusDestinationStatus
2708
+ # @private
2709
+ class Representation < Google::Apis::Core::JsonRepresentation
2710
+ property :destination, as: 'destination'
2711
+ property :status, as: 'status'
2712
+ end
2713
+ end
2714
+
2715
+ class CollectionStatusItemLevelIssue
2716
+ # @private
2717
+ class Representation < Google::Apis::Core::JsonRepresentation
2718
+ property :attribute_name, as: 'attributeName'
2719
+ property :code, as: 'code'
2720
+ property :description, as: 'description'
2721
+ property :destination, as: 'destination'
2722
+ property :detail, as: 'detail'
2723
+ property :documentation, as: 'documentation'
2724
+ property :resolution, as: 'resolution'
2725
+ property :servability, as: 'servability'
2726
+ end
2727
+ end
2728
+
2497
2729
  class Css
2498
2730
  # @private
2499
2731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3088,6 +3320,32 @@ module Google
3088
3320
  end
3089
3321
  end
3090
3322
 
3323
+ class ListAccountReturnCarrierResponse
3324
+ # @private
3325
+ class Representation < Google::Apis::Core::JsonRepresentation
3326
+ collection :account_return_carriers, as: 'accountReturnCarriers', class: Google::Apis::ContentV2_1::AccountReturnCarrier, decorator: Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
3327
+
3328
+ end
3329
+ end
3330
+
3331
+ class ListCollectionStatusesResponse
3332
+ # @private
3333
+ class Representation < Google::Apis::Core::JsonRepresentation
3334
+ property :next_page_token, as: 'nextPageToken'
3335
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::CollectionStatus, decorator: Google::Apis::ContentV2_1::CollectionStatus::Representation
3336
+
3337
+ end
3338
+ end
3339
+
3340
+ class ListCollectionsResponse
3341
+ # @private
3342
+ class Representation < Google::Apis::Core::JsonRepresentation
3343
+ property :next_page_token, as: 'nextPageToken'
3344
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Collection, decorator: Google::Apis::ContentV2_1::Collection::Representation
3345
+
3346
+ end
3347
+ end
3348
+
3091
3349
  class ListCssesResponse
3092
3350
  # @private
3093
3351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3133,6 +3391,14 @@ module Google
3133
3391
  end
3134
3392
  end
3135
3393
 
3394
+ class ListReturnPolicyOnlineResponse
3395
+ # @private
3396
+ class Representation < Google::Apis::Core::JsonRepresentation
3397
+ collection :return_policies, as: 'returnPolicies', class: Google::Apis::ContentV2_1::ReturnPolicyOnline, decorator: Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
3398
+
3399
+ end
3400
+ end
3401
+
3136
3402
  class LocalInventory
3137
3403
  # @private
3138
3404
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3252,6 +3518,15 @@ module Google
3252
3518
  end
3253
3519
  end
3254
3520
 
3521
+ class Metrics
3522
+ # @private
3523
+ class Representation < Google::Apis::Core::JsonRepresentation
3524
+ property :clicks, :numeric_string => true, as: 'clicks'
3525
+ property :ctr, as: 'ctr'
3526
+ property :impressions, :numeric_string => true, as: 'impressions'
3527
+ end
3528
+ end
3529
+
3255
3530
  class MinimumOrderValueTable
3256
3531
  # @private
3257
3532
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3279,6 +3554,13 @@ module Google
3279
3554
  end
3280
3555
  end
3281
3556
 
3557
+ class OnboardBuyOnGoogleProgramRequest
3558
+ # @private
3559
+ class Representation < Google::Apis::Core::JsonRepresentation
3560
+ property :customer_service_email, as: 'customerServiceEmail'
3561
+ end
3562
+ end
3563
+
3282
3564
  class Order
3283
3565
  # @private
3284
3566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4998,6 +5280,16 @@ module Google
4998
5280
  end
4999
5281
  end
5000
5282
 
5283
+ class ReportRow
5284
+ # @private
5285
+ class Representation < Google::Apis::Core::JsonRepresentation
5286
+ property :metrics, as: 'metrics', class: Google::Apis::ContentV2_1::Metrics, decorator: Google::Apis::ContentV2_1::Metrics::Representation
5287
+
5288
+ property :segments, as: 'segments', class: Google::Apis::ContentV2_1::Segments, decorator: Google::Apis::ContentV2_1::Segments::Representation
5289
+
5290
+ end
5291
+ end
5292
+
5001
5293
  class RepricingProductReport
5002
5294
  # @private
5003
5295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5182,11 +5474,68 @@ module Google
5182
5474
  property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
5183
5475
 
5184
5476
  property :return_policy_id, as: 'returnPolicyId'
5477
+ property :return_shipping_fee, as: 'returnShippingFee', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
5478
+
5185
5479
  collection :seasonal_overrides, as: 'seasonalOverrides', class: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride, decorator: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride::Representation
5186
5480
 
5187
5481
  end
5188
5482
  end
5189
5483
 
5484
+ class ReturnPolicyOnline
5485
+ # @private
5486
+ class Representation < Google::Apis::Core::JsonRepresentation
5487
+ collection :countries, as: 'countries'
5488
+ collection :item_conditions, as: 'itemConditions'
5489
+ property :label, as: 'label'
5490
+ property :name, as: 'name'
5491
+ property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyOnlinePolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyOnlinePolicy::Representation
5492
+
5493
+ property :restocking_fee, as: 'restockingFee', class: Google::Apis::ContentV2_1::ReturnPolicyOnlineRestockingFee, decorator: Google::Apis::ContentV2_1::ReturnPolicyOnlineRestockingFee::Representation
5494
+
5495
+ collection :return_methods, as: 'returnMethods'
5496
+ property :return_policy_id, as: 'returnPolicyId'
5497
+ property :return_policy_uri, as: 'returnPolicyUri'
5498
+ collection :return_reason_category_info, as: 'returnReasonCategoryInfo', class: Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnReasonCategoryInfo, decorator: Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnReasonCategoryInfo::Representation
5499
+
5500
+ end
5501
+ end
5502
+
5503
+ class ReturnPolicyOnlinePolicy
5504
+ # @private
5505
+ class Representation < Google::Apis::Core::JsonRepresentation
5506
+ property :days, :numeric_string => true, as: 'days'
5507
+ property :type, as: 'type'
5508
+ end
5509
+ end
5510
+
5511
+ class ReturnPolicyOnlineRestockingFee
5512
+ # @private
5513
+ class Representation < Google::Apis::Core::JsonRepresentation
5514
+ property :fixed_fee, as: 'fixedFee', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5515
+
5516
+ property :micro_percent, as: 'microPercent'
5517
+ end
5518
+ end
5519
+
5520
+ class ReturnPolicyOnlineReturnReasonCategoryInfo
5521
+ # @private
5522
+ class Representation < Google::Apis::Core::JsonRepresentation
5523
+ property :return_label_source, as: 'returnLabelSource'
5524
+ property :return_reason_category, as: 'returnReasonCategory'
5525
+ property :return_shipping_fee, as: 'returnShippingFee', class: Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee, decorator: Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee::Representation
5526
+
5527
+ end
5528
+ end
5529
+
5530
+ class ReturnPolicyOnlineReturnShippingFee
5531
+ # @private
5532
+ class Representation < Google::Apis::Core::JsonRepresentation
5533
+ property :fixed_fee, as: 'fixedFee', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
5534
+
5535
+ property :type, as: 'type'
5536
+ end
5537
+ end
5538
+
5190
5539
  class ReturnPolicyPolicy
5191
5540
  # @private
5192
5541
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5345,6 +5694,34 @@ module Google
5345
5694
  end
5346
5695
  end
5347
5696
 
5697
+ class SearchRequest
5698
+ # @private
5699
+ class Representation < Google::Apis::Core::JsonRepresentation
5700
+ property :page_size, as: 'pageSize'
5701
+ property :page_token, as: 'pageToken'
5702
+ property :query, as: 'query'
5703
+ end
5704
+ end
5705
+
5706
+ class SearchResponse
5707
+ # @private
5708
+ class Representation < Google::Apis::Core::JsonRepresentation
5709
+ property :next_page_token, as: 'nextPageToken'
5710
+ collection :results, as: 'results', class: Google::Apis::ContentV2_1::ReportRow, decorator: Google::Apis::ContentV2_1::ReportRow::Representation
5711
+
5712
+ end
5713
+ end
5714
+
5715
+ class Segments
5716
+ # @private
5717
+ class Representation < Google::Apis::Core::JsonRepresentation
5718
+ property :date, as: 'date', class: Google::Apis::ContentV2_1::Date, decorator: Google::Apis::ContentV2_1::Date::Representation
5719
+
5720
+ property :offer_id, as: 'offerId'
5721
+ property :program, as: 'program'
5722
+ end
5723
+ end
5724
+
5348
5725
  class Service
5349
5726
  # @private
5350
5727
  class Representation < Google::Apis::Core::JsonRepresentation