google-apis-content_v2 0.4.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ce959ace86883caf02c23a9b053fb705fa5140d995fd401281c9c24919f4389
4
- data.tar.gz: 2371d9248c057ab7204ca15e3d0feafb42aef2d6b4e453b47a87664d11b89a46
3
+ metadata.gz: 443a637e962466263cd91144b6dc92264f85659374fba7bc455dc1e8475b9f79
4
+ data.tar.gz: c258b4ebcea246418a5bef6659ba46b009938f3061ffea7650a98921d9995552
5
5
  SHA512:
6
- metadata.gz: ba72c02a76a2eacbf066c7c43ab522e1209259197a9485261157113ca2c6d50ce9c55819e316a180a400ffc57186e77093e4a7dace518c92da32494fd589c795
7
- data.tar.gz: d72eb34fcaefbb216daa8c7f20675e3e563dfd478e4acdaa7c984e8c669c68f1767150429c2ebd93a61788fd7f8d29c87e602e84824d2dbad4e10604881f5907
6
+ metadata.gz: bb59e84bf16baa806f4666044f125f7a1792b03a1f27c3721e33f511cfba09ffc0e9c7f1d2db1eb9d3ce6b284c1241d90a025fbfa5ea7214df6a9f3b84906331
7
+ data.tar.gz: d3726ca5bc7719543b384d87190f9a92bfd77c6290c6c96acf7ba33254d0b64a34f2929569cef4625594fe5d9fdde20474748504d948eb1faed4b775097e36f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-content_v2
2
2
 
3
+ ### v0.9.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.8.0 (2021-05-26)
8
+
9
+ * Regenerated from discovery document revision 20210519
10
+
11
+ ### v0.7.0 (2021-05-19)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.6.0 (2021-05-18)
16
+
17
+ * Regenerated from discovery document revision 20210514
18
+
19
+ ### v0.5.0 (2021-03-16)
20
+
21
+ * Regenerated from discovery document revision 20210311
22
+ * Regenerated using generator version 0.2.0
23
+
3
24
  ### v0.4.0 (2021-03-04)
4
25
 
5
26
  * Unspecified changes
@@ -1606,13 +1606,20 @@ module Google
1606
1606
  # @return [String]
1607
1607
  attr_accessor :country
1608
1608
 
1609
+ # A list of services supported for EDD (Estimated Delivery Date) calculation.
1610
+ # This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.
1611
+ # Corresponds to the JSON property `eddServices`
1612
+ # @return [Array<String>]
1613
+ attr_accessor :edd_services
1614
+
1609
1615
  # The name of the carrier (e.g., `"UPS"`). Always present.
1610
1616
  # Corresponds to the JSON property `name`
1611
1617
  # @return [String]
1612
1618
  attr_accessor :name
1613
1619
 
1614
1620
  # A list of supported services (e.g., `"ground"`) for that carrier. Contains at
1615
- # least one service.
1621
+ # least one service. This is the list of valid values for CarrierRate.
1622
+ # carrierService.
1616
1623
  # Corresponds to the JSON property `services`
1617
1624
  # @return [Array<String>]
1618
1625
  attr_accessor :services
@@ -1624,6 +1631,7 @@ module Google
1624
1631
  # Update properties of this object
1625
1632
  def update!(**args)
1626
1633
  @country = args[:country] if args.key?(:country)
1634
+ @edd_services = args[:edd_services] if args.key?(:edd_services)
1627
1635
  @name = args[:name] if args.key?(:name)
1628
1636
  @services = args[:services] if args.key?(:services)
1629
1637
  end
@@ -2557,6 +2565,13 @@ module Google
2557
2565
  # @return [Google::Apis::ContentV2::TransitTable]
2558
2566
  attr_accessor :transit_time_table
2559
2567
 
2568
+ # Indicates that the delivery time should be calculated per warehouse (shipping
2569
+ # origin location) based on the settings of the selected carrier. When set, no
2570
+ # other transit time related field in DeliveryTime should be set.
2571
+ # Corresponds to the JSON property `warehouseBasedDeliveryTimes`
2572
+ # @return [Array<Google::Apis::ContentV2::WarehouseBasedDeliveryTime>]
2573
+ attr_accessor :warehouse_based_delivery_times
2574
+
2560
2575
  def initialize(**args)
2561
2576
  update!(**args)
2562
2577
  end
@@ -2572,6 +2587,7 @@ module Google
2572
2587
  @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
2573
2588
  @transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
2574
2589
  @transit_time_table = args[:transit_time_table] if args.key?(:transit_time_table)
2590
+ @warehouse_based_delivery_times = args[:warehouse_based_delivery_times] if args.key?(:warehouse_based_delivery_times)
2575
2591
  end
2576
2592
  end
2577
2593
 
@@ -8787,10 +8803,8 @@ module Google
8787
8803
 
8788
8804
  # Required product attributes are primarily defined by the products data
8789
8805
  # specification. See the Products Data Specification Help Center article for
8790
- # information. Some attributes are country-specific, so make sure you select the
8791
- # appropriate country in the drop-down selector at the top of the page. Product
8792
- # data. After inserting, updating, or deleting a product, it may take several
8793
- # minutes before changes take effect.
8806
+ # information. Product data. After inserting, updating, or deleting a product,
8807
+ # it may take several minutes before changes take effect.
8794
8808
  class Product
8795
8809
  include Google::Apis::Core::Hashable
8796
8810
 
@@ -9571,10 +9585,8 @@ module Google
9571
9585
 
9572
9586
  # Required product attributes are primarily defined by the products data
9573
9587
  # specification. See the Products Data Specification Help Center article for
9574
- # information. Some attributes are country-specific, so make sure you select the
9575
- # appropriate country in the drop-down selector at the top of the page. Product
9576
- # data. After inserting, updating, or deleting a product, it may take several
9577
- # minutes before changes take effect.
9588
+ # information. Product data. After inserting, updating, or deleting a product,
9589
+ # it may take several minutes before changes take effect.
9578
9590
  # Corresponds to the JSON property `product`
9579
9591
  # @return [Google::Apis::ContentV2::Product]
9580
9592
  attr_accessor :product
@@ -9921,10 +9933,8 @@ module Google
9921
9933
 
9922
9934
  # Required product attributes are primarily defined by the products data
9923
9935
  # specification. See the Products Data Specification Help Center article for
9924
- # information. Some attributes are country-specific, so make sure you select the
9925
- # appropriate country in the drop-down selector at the top of the page. Product
9926
- # data. After inserting, updating, or deleting a product, it may take several
9927
- # minutes before changes take effect.
9936
+ # information. Product data. After inserting, updating, or deleting a product,
9937
+ # it may take several minutes before changes take effect.
9928
9938
  # Corresponds to the JSON property `product`
9929
9939
  # @return [Google::Apis::ContentV2::Product]
9930
9940
  attr_accessor :product
@@ -9997,10 +10007,8 @@ module Google
9997
10007
 
9998
10008
  # Required product attributes are primarily defined by the products data
9999
10009
  # specification. See the Products Data Specification Help Center article for
10000
- # information. Some attributes are country-specific, so make sure you select the
10001
- # appropriate country in the drop-down selector at the top of the page. Product
10002
- # data. After inserting, updating, or deleting a product, it may take several
10003
- # minutes before changes take effect.
10010
+ # information. Product data. After inserting, updating, or deleting a product,
10011
+ # it may take several minutes before changes take effect.
10004
10012
  # Corresponds to the JSON property `product`
10005
10013
  # @return [Google::Apis::ContentV2::Product]
10006
10014
  attr_accessor :product
@@ -11509,6 +11517,66 @@ module Google
11509
11517
  end
11510
11518
  end
11511
11519
 
11520
+ #
11521
+ class WarehouseBasedDeliveryTime
11522
+ include Google::Apis::Core::Hashable
11523
+
11524
+ # Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported
11525
+ # carriers can be retrieved via the `listSupportedCarriers` method.
11526
+ # Corresponds to the JSON property `carrier`
11527
+ # @return [String]
11528
+ attr_accessor :carrier
11529
+
11530
+ # Required. Carrier service, such as `"ground"` or `"2 days"`. The list of
11531
+ # supported services for a carrier can be retrieved via the `
11532
+ # listSupportedCarriers` method. The name of the service must be in the
11533
+ # eddSupportedServices list.
11534
+ # Corresponds to the JSON property `carrierService`
11535
+ # @return [String]
11536
+ attr_accessor :carrier_service
11537
+
11538
+ # Required. Shipping origin's state.
11539
+ # Corresponds to the JSON property `originAdministrativeArea`
11540
+ # @return [String]
11541
+ attr_accessor :origin_administrative_area
11542
+
11543
+ # Required. Shipping origin's city.
11544
+ # Corresponds to the JSON property `originCity`
11545
+ # @return [String]
11546
+ attr_accessor :origin_city
11547
+
11548
+ # Required. Shipping origin's country represented as a [CLDR territory code](
11549
+ # http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
11550
+ # Corresponds to the JSON property `originCountry`
11551
+ # @return [String]
11552
+ attr_accessor :origin_country
11553
+
11554
+ # Required. Shipping origin.
11555
+ # Corresponds to the JSON property `originPostalCode`
11556
+ # @return [String]
11557
+ attr_accessor :origin_postal_code
11558
+
11559
+ # Shipping origin's street address
11560
+ # Corresponds to the JSON property `originStreetAddress`
11561
+ # @return [String]
11562
+ attr_accessor :origin_street_address
11563
+
11564
+ def initialize(**args)
11565
+ update!(**args)
11566
+ end
11567
+
11568
+ # Update properties of this object
11569
+ def update!(**args)
11570
+ @carrier = args[:carrier] if args.key?(:carrier)
11571
+ @carrier_service = args[:carrier_service] if args.key?(:carrier_service)
11572
+ @origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area)
11573
+ @origin_city = args[:origin_city] if args.key?(:origin_city)
11574
+ @origin_country = args[:origin_country] if args.key?(:origin_country)
11575
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
11576
+ @origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
11577
+ end
11578
+ end
11579
+
11512
11580
  #
11513
11581
  class Weight
11514
11582
  include Google::Apis::Core::Hashable
@@ -11518,7 +11586,8 @@ module Google
11518
11586
  # @return [String]
11519
11587
  attr_accessor :unit
11520
11588
 
11521
- # Required. The weight represented as a number.
11589
+ # Required. The weight represented as a number. The weight can have a maximum
11590
+ # precision of four decimal places.
11522
11591
  # Corresponds to the JSON property `value`
11523
11592
  # @return [String]
11524
11593
  attr_accessor :value
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentV2
18
18
  # Version of the google-apis-content_v2 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210203"
25
+ REVISION = "20210519"
26
26
  end
27
27
  end
28
28
  end
@@ -1636,6 +1636,12 @@ module Google
1636
1636
  include Google::Apis::Core::JsonObjectSupport
1637
1637
  end
1638
1638
 
1639
+ class WarehouseBasedDeliveryTime
1640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1641
+
1642
+ include Google::Apis::Core::JsonObjectSupport
1643
+ end
1644
+
1639
1645
  class Weight
1640
1646
  class Representation < Google::Apis::Core::JsonRepresentation; end
1641
1647
 
@@ -2086,6 +2092,7 @@ module Google
2086
2092
  # @private
2087
2093
  class Representation < Google::Apis::Core::JsonRepresentation
2088
2094
  property :country, as: 'country'
2095
+ collection :edd_services, as: 'eddServices'
2089
2096
  property :name, as: 'name'
2090
2097
  collection :services, as: 'services'
2091
2098
  end
@@ -2344,6 +2351,8 @@ module Google
2344
2351
 
2345
2352
  property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::ContentV2::TransitTable, decorator: Google::Apis::ContentV2::TransitTable::Representation
2346
2353
 
2354
+ collection :warehouse_based_delivery_times, as: 'warehouseBasedDeliveryTimes', class: Google::Apis::ContentV2::WarehouseBasedDeliveryTime, decorator: Google::Apis::ContentV2::WarehouseBasedDeliveryTime::Representation
2355
+
2347
2356
  end
2348
2357
  end
2349
2358
 
@@ -4753,6 +4762,19 @@ module Google
4753
4762
  end
4754
4763
  end
4755
4764
 
4765
+ class WarehouseBasedDeliveryTime
4766
+ # @private
4767
+ class Representation < Google::Apis::Core::JsonRepresentation
4768
+ property :carrier, as: 'carrier'
4769
+ property :carrier_service, as: 'carrierService'
4770
+ property :origin_administrative_area, as: 'originAdministrativeArea'
4771
+ property :origin_city, as: 'originCity'
4772
+ property :origin_country, as: 'originCountry'
4773
+ property :origin_postal_code, as: 'originPostalCode'
4774
+ property :origin_street_address, as: 'originStreetAddress'
4775
+ end
4776
+ end
4777
+
4756
4778
  class Weight
4757
4779
  # @private
4758
4780
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -43,7 +43,7 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://shoppingcontent.googleapis.com/', '',
46
+ super('https://shoppingcontent.googleapis.com/', 'content/v2/',
47
47
  client_name: 'google-apis-content_v2',
48
48
  client_version: Google::Apis::ContentV2::GEM_VERSION)
49
49
  @batch_path = 'batch'
@@ -68,7 +68,7 @@ module Google
68
68
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
69
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
70
  def get_account_authinfo(fields: nil, quota_user: nil, options: nil, &block)
71
- command = make_simple_command(:get, 'content/v2/accounts/authinfo', options)
71
+ command = make_simple_command(:get, 'accounts/authinfo', options)
72
72
  command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
73
73
  command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
74
74
  command.query['fields'] = fields unless fields.nil?
@@ -105,7 +105,7 @@ module Google
105
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
107
107
  def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
108
- command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/claimwebsite', options)
108
+ command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
109
109
  command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
110
110
  command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse
111
111
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -140,7 +140,7 @@ module Google
140
140
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141
141
  # @raise [Google::Apis::AuthorizationError] Authorization is required
142
142
  def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
143
- command = make_simple_command(:post, 'content/v2/accounts/batch', options)
143
+ command = make_simple_command(:post, 'accounts/batch', options)
144
144
  command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
145
145
  command.request_object = batch_accounts_request_object
146
146
  command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
@@ -180,7 +180,7 @@ module Google
180
180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
182
182
  def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, options: nil, &block)
183
- command = make_simple_command(:delete, 'content/v2/{merchantId}/accounts/{accountId}', options)
183
+ command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
184
184
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
185
185
  command.params['accountId'] = account_id unless account_id.nil?
186
186
  command.query['dryRun'] = dry_run unless dry_run.nil?
@@ -215,7 +215,7 @@ module Google
215
215
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
216
  # @raise [Google::Apis::AuthorizationError] Authorization is required
217
217
  def get_account(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
218
- command = make_simple_command(:get, 'content/v2/{merchantId}/accounts/{accountId}', options)
218
+ command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
219
219
  command.response_representation = Google::Apis::ContentV2::Account::Representation
220
220
  command.response_class = Google::Apis::ContentV2::Account
221
221
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -250,7 +250,7 @@ module Google
250
250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
251
251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
252
252
  def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
253
- command = make_simple_command(:post, 'content/v2/{merchantId}/accounts', options)
253
+ command = make_simple_command(:post, '{merchantId}/accounts', options)
254
254
  command.request_representation = Google::Apis::ContentV2::Account::Representation
255
255
  command.request_object = account_object
256
256
  command.response_representation = Google::Apis::ContentV2::Account::Representation
@@ -289,7 +289,7 @@ module Google
289
289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
291
291
  def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
292
- command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/link', options)
292
+ command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
293
293
  command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
294
294
  command.request_object = accounts_link_request_object
295
295
  command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
@@ -326,7 +326,7 @@ module Google
326
326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
328
328
  def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
329
- command = make_simple_command(:get, 'content/v2/{merchantId}/accounts', options)
329
+ command = make_simple_command(:get, '{merchantId}/accounts', options)
330
330
  command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
331
331
  command.response_class = Google::Apis::ContentV2::ListAccountsResponse
332
332
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -367,7 +367,7 @@ module Google
367
367
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
368
368
  # @raise [Google::Apis::AuthorizationError] Authorization is required
369
369
  def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
370
- command = make_simple_command(:put, 'content/v2/{merchantId}/accounts/{accountId}', options)
370
+ command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
371
371
  command.request_representation = Google::Apis::ContentV2::Account::Representation
372
372
  command.request_object = account_object
373
373
  command.response_representation = Google::Apis::ContentV2::Account::Representation
@@ -400,7 +400,7 @@ module Google
400
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
401
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
402
402
  def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
403
- command = make_simple_command(:post, 'content/v2/accountstatuses/batch', options)
403
+ command = make_simple_command(:post, 'accountstatuses/batch', options)
404
404
  command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
405
405
  command.request_object = batch_account_statuses_request_object
406
406
  command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
@@ -439,7 +439,7 @@ module Google
439
439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
440
440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
441
441
  def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
442
- command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses/{accountId}', options)
442
+ command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
443
443
  command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
444
444
  command.response_class = Google::Apis::ContentV2::AccountStatus
445
445
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -479,7 +479,7 @@ module Google
479
479
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
480
480
  # @raise [Google::Apis::AuthorizationError] Authorization is required
481
481
  def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
482
- command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses', options)
482
+ command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
483
483
  command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
484
484
  command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
485
485
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -514,7 +514,7 @@ module Google
514
514
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
515
515
  # @raise [Google::Apis::AuthorizationError] Authorization is required
516
516
  def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
517
- command = make_simple_command(:post, 'content/v2/accounttax/batch', options)
517
+ command = make_simple_command(:post, 'accounttax/batch', options)
518
518
  command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
519
519
  command.request_object = batch_account_tax_request_object
520
520
  command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
@@ -550,7 +550,7 @@ module Google
550
550
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
551
551
  # @raise [Google::Apis::AuthorizationError] Authorization is required
552
552
  def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
553
- command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax/{accountId}', options)
553
+ command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
554
554
  command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
555
555
  command.response_class = Google::Apis::ContentV2::AccountTax
556
556
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -585,7 +585,7 @@ module Google
585
585
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
586
  # @raise [Google::Apis::AuthorizationError] Authorization is required
587
587
  def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
588
- command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax', options)
588
+ command = make_simple_command(:get, '{merchantId}/accounttax', options)
589
589
  command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
590
590
  command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
591
591
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -626,7 +626,7 @@ module Google
626
626
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
627
627
  # @raise [Google::Apis::AuthorizationError] Authorization is required
628
628
  def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
629
- command = make_simple_command(:put, 'content/v2/{merchantId}/accounttax/{accountId}', options)
629
+ command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
630
630
  command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
631
631
  command.request_object = account_tax_object
632
632
  command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
@@ -663,7 +663,7 @@ module Google
663
663
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
664
664
  # @raise [Google::Apis::AuthorizationError] Authorization is required
665
665
  def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
666
- command = make_simple_command(:post, 'content/v2/datafeeds/batch', options)
666
+ command = make_simple_command(:post, 'datafeeds/batch', options)
667
667
  command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
668
668
  command.request_object = batch_datafeeds_request_object
669
669
  command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
@@ -701,7 +701,7 @@ module Google
701
701
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
702
702
  # @raise [Google::Apis::AuthorizationError] Authorization is required
703
703
  def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
704
- command = make_simple_command(:delete, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
704
+ command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
705
705
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
706
706
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
707
707
  command.query['dryRun'] = dry_run unless dry_run.nil?
@@ -739,7 +739,7 @@ module Google
739
739
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
740
740
  # @raise [Google::Apis::AuthorizationError] Authorization is required
741
741
  def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
742
- command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
742
+ command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
743
743
  command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
744
744
  command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
745
745
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -774,7 +774,7 @@ module Google
774
774
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
775
775
  # @raise [Google::Apis::AuthorizationError] Authorization is required
776
776
  def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
777
- command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
777
+ command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
778
778
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
779
779
  command.response_class = Google::Apis::ContentV2::Datafeed
780
780
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -810,7 +810,7 @@ module Google
810
810
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
811
811
  # @raise [Google::Apis::AuthorizationError] Authorization is required
812
812
  def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
813
- command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds', options)
813
+ command = make_simple_command(:post, '{merchantId}/datafeeds', options)
814
814
  command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
815
815
  command.request_object = datafeed_object
816
816
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@@ -848,7 +848,7 @@ module Google
848
848
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
849
849
  # @raise [Google::Apis::AuthorizationError] Authorization is required
850
850
  def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
851
- command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds', options)
851
+ command = make_simple_command(:get, '{merchantId}/datafeeds', options)
852
852
  command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
853
853
  command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
854
854
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -888,7 +888,7 @@ module Google
888
888
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
889
889
  # @raise [Google::Apis::AuthorizationError] Authorization is required
890
890
  def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
891
- command = make_simple_command(:put, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
891
+ command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
892
892
  command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
893
893
  command.request_object = datafeed_object
894
894
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@@ -921,7 +921,7 @@ module Google
921
921
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
922
922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
923
923
  def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
924
- command = make_simple_command(:post, 'content/v2/datafeedstatuses/batch', options)
924
+ command = make_simple_command(:post, 'datafeedstatuses/batch', options)
925
925
  command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
926
926
  command.request_object = batch_datafeed_statuses_request_object
927
927
  command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
@@ -965,7 +965,7 @@ module Google
965
965
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
966
966
  # @raise [Google::Apis::AuthorizationError] Authorization is required
967
967
  def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
968
- command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses/{datafeedId}', options)
968
+ command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
969
969
  command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
970
970
  command.response_class = Google::Apis::ContentV2::DatafeedStatus
971
971
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1003,7 +1003,7 @@ module Google
1003
1003
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1004
1004
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1005
1005
  def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1006
- command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses', options)
1006
+ command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
1007
1007
  command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
1008
1008
  command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
1009
1009
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1038,7 +1038,7 @@ module Google
1038
1038
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1039
1039
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1040
1040
  def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1041
- command = make_simple_command(:post, 'content/v2/inventory/batch', options)
1041
+ command = make_simple_command(:post, 'inventory/batch', options)
1042
1042
  command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
1043
1043
  command.request_object = batch_inventory_request_object
1044
1044
  command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
@@ -1080,7 +1080,7 @@ module Google
1080
1080
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
1081
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
1082
  def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1083
- command = make_simple_command(:post, 'content/v2/{merchantId}/inventory/{storeCode}/products/{productId}', options)
1083
+ command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
1084
1084
  command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
1085
1085
  command.request_object = set_inventory_request_object
1086
1086
  command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
@@ -1118,7 +1118,7 @@ module Google
1118
1118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1119
1119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1120
1120
  def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1121
- command = make_simple_command(:post, 'content/v2/liasettings/batch', options)
1121
+ command = make_simple_command(:post, 'liasettings/batch', options)
1122
1122
  command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
1123
1123
  command.request_object = liasettings_custom_batch_request_object
1124
1124
  command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
@@ -1154,7 +1154,7 @@ module Google
1154
1154
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1155
1155
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1156
1156
  def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1157
- command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}', options)
1157
+ command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
1158
1158
  command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1159
1159
  command.response_class = Google::Apis::ContentV2::LiaSettings
1160
1160
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1190,7 +1190,7 @@ module Google
1190
1190
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1191
1191
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1192
1192
  def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1193
- command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1193
+ command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1194
1194
  command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
1195
1195
  command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
1196
1196
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1225,7 +1225,7 @@ module Google
1225
1225
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1226
1226
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1227
1227
  def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1228
- command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings', options)
1228
+ command = make_simple_command(:get, '{merchantId}/liasettings', options)
1229
1229
  command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
1230
1230
  command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
1231
1231
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1256,7 +1256,7 @@ module Google
1256
1256
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1257
1257
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1258
1258
  def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
1259
- command = make_simple_command(:get, 'content/v2/liasettings/posdataproviders', options)
1259
+ command = make_simple_command(:get, 'liasettings/posdataproviders', options)
1260
1260
  command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
1261
1261
  command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
1262
1262
  command.query['fields'] = fields unless fields.nil?
@@ -1291,7 +1291,7 @@ module Google
1291
1291
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1292
1292
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1293
1293
  def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
1294
- command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1294
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1295
1295
  command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
1296
1296
  command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
1297
1297
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1330,7 +1330,7 @@ module Google
1330
1330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1331
1331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1332
1332
  def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
1333
- command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1333
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1334
1334
  command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
1335
1335
  command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
1336
1336
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1375,7 +1375,7 @@ module Google
1375
1375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1376
1376
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1377
1377
  def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
1378
- command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1378
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1379
1379
  command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
1380
1380
  command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
1381
1381
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1421,7 +1421,7 @@ module Google
1421
1421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1422
1422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1423
1423
  def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1424
- command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1424
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1425
1425
  command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
1426
1426
  command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
1427
1427
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1464,7 +1464,7 @@ module Google
1464
1464
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1465
1465
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1466
1466
  def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1467
- command = make_simple_command(:put, 'content/v2/{merchantId}/liasettings/{accountId}', options)
1467
+ command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
1468
1468
  command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
1469
1469
  command.request_object = lia_settings_object
1470
1470
  command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
@@ -1503,7 +1503,7 @@ module Google
1503
1503
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1504
1504
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1505
1505
  def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1506
- command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1506
+ command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1507
1507
  command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
1508
1508
  command.request_object = orderinvoices_create_charge_invoice_request_object
1509
1509
  command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
@@ -1543,7 +1543,7 @@ module Google
1543
1543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1544
1544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1545
1545
  def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1546
- command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1546
+ command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1547
1547
  command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
1548
1548
  command.request_object = orderinvoices_create_refund_invoice_request_object
1549
1549
  command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
@@ -1586,7 +1586,7 @@ module Google
1586
1586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1587
1587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1588
1588
  def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1589
- command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements', options)
1589
+ command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
1590
1590
  command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
1591
1591
  command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
1592
1592
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1633,7 +1633,7 @@ module Google
1633
1633
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1634
1634
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1635
1635
  def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
1636
- command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1636
+ command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1637
1637
  command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
1638
1638
  command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
1639
1639
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1671,7 +1671,7 @@ module Google
1671
1671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1672
1672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1673
1673
  def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
1674
- command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns/{returnId}', options)
1674
+ command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
1675
1675
  command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
1676
1676
  command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
1677
1677
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1717,7 +1717,7 @@ module Google
1717
1717
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1718
1718
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1719
1719
  def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1720
- command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns', options)
1720
+ command = make_simple_command(:get, '{merchantId}/orderreturns', options)
1721
1721
  command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
1722
1722
  command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
1723
1723
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1756,7 +1756,7 @@ module Google
1756
1756
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1757
1757
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1758
1758
  def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1759
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/acknowledge', options)
1759
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
1760
1760
  command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
1761
1761
  command.request_object = orders_acknowledge_request_object
1762
1762
  command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
@@ -1793,7 +1793,7 @@ module Google
1793
1793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1794
1794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1795
1795
  def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
1796
- command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/advance', options)
1796
+ command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
1797
1797
  command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
1798
1798
  command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
1799
1799
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1828,7 +1828,7 @@ module Google
1828
1828
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1829
1829
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1830
1830
  def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1831
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancel', options)
1831
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
1832
1832
  command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
1833
1833
  command.request_object = orders_cancel_request_object
1834
1834
  command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
@@ -1865,7 +1865,7 @@ module Google
1865
1865
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1866
1866
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1867
1867
  def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1868
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancelLineItem', options)
1868
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
1869
1869
  command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
1870
1870
  command.request_object = orders_cancel_line_item_request_object
1871
1871
  command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
@@ -1902,7 +1902,7 @@ module Google
1902
1902
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1903
1903
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1904
1904
  def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1905
- command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
1905
+ command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
1906
1906
  command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
1907
1907
  command.request_object = orders_cancel_test_order_by_customer_request_object
1908
1908
  command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
@@ -1937,7 +1937,7 @@ module Google
1937
1937
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1938
1938
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1939
1939
  def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1940
- command = make_simple_command(:post, 'content/v2/{merchantId}/testorders', options)
1940
+ command = make_simple_command(:post, '{merchantId}/testorders', options)
1941
1941
  command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
1942
1942
  command.request_object = orders_create_test_order_request_object
1943
1943
  command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
@@ -1973,7 +1973,7 @@ module Google
1973
1973
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1974
1974
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1975
1975
  def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1976
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/testreturn', options)
1976
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
1977
1977
  command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
1978
1978
  command.request_object = orders_create_test_return_request_object
1979
1979
  command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
@@ -2005,7 +2005,7 @@ module Google
2005
2005
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2006
2006
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2007
2007
  def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2008
- command = make_simple_command(:post, 'content/v2/orders/batch', options)
2008
+ command = make_simple_command(:post, 'orders/batch', options)
2009
2009
  command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
2010
2010
  command.request_object = orders_custom_batch_request_object
2011
2011
  command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
@@ -2039,7 +2039,7 @@ module Google
2039
2039
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2040
2040
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2041
2041
  def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2042
- command = make_simple_command(:get, 'content/v2/{merchantId}/orders/{orderId}', options)
2042
+ command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
2043
2043
  command.response_representation = Google::Apis::ContentV2::Order::Representation
2044
2044
  command.response_class = Google::Apis::ContentV2::Order
2045
2045
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2073,7 +2073,7 @@ module Google
2073
2073
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2074
2074
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2075
2075
  def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
2076
- command = make_simple_command(:get, 'content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2076
+ command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2077
2077
  command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
2078
2078
  command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
2079
2079
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2110,7 +2110,7 @@ module Google
2110
2110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2111
2111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2112
2112
  def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
2113
- command = make_simple_command(:get, 'content/v2/{merchantId}/testordertemplates/{templateName}', options)
2113
+ command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
2114
2114
  command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
2115
2115
  command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
2116
2116
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2153,7 +2153,7 @@ module Google
2153
2153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2154
2154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2155
2155
  def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2156
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2156
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2157
2157
  command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
2158
2158
  command.request_object = orders_in_store_refund_line_item_request_object
2159
2159
  command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
@@ -2211,7 +2211,7 @@ module Google
2211
2211
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2212
2212
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2213
2213
  def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
2214
- command = make_simple_command(:get, 'content/v2/{merchantId}/orders', options)
2214
+ command = make_simple_command(:get, '{merchantId}/orders', options)
2215
2215
  command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
2216
2216
  command.response_class = Google::Apis::ContentV2::OrdersListResponse
2217
2217
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2252,7 +2252,7 @@ module Google
2252
2252
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2253
2253
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2254
2254
  def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2255
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/refund', options)
2255
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
2256
2256
  command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
2257
2257
  command.request_object = orders_refund_request_object
2258
2258
  command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
@@ -2289,7 +2289,7 @@ module Google
2289
2289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2290
2290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2291
2291
  def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2292
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2292
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2293
2293
  command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
2294
2294
  command.request_object = orders_reject_return_line_item_request_object
2295
2295
  command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
@@ -2326,7 +2326,7 @@ module Google
2326
2326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2327
2327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2328
2328
  def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2329
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnLineItem', options)
2329
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
2330
2330
  command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
2331
2331
  command.request_object = orders_return_line_item_request_object
2332
2332
  command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
@@ -2368,7 +2368,7 @@ module Google
2368
2368
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2369
2369
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2370
2370
  def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2371
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2371
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2372
2372
  command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
2373
2373
  command.request_object = orders_return_refund_line_item_request_object
2374
2374
  command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
@@ -2409,7 +2409,7 @@ module Google
2409
2409
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2410
2410
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2411
2411
  def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2412
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2412
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2413
2413
  command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
2414
2414
  command.request_object = orders_set_line_item_metadata_request_object
2415
2415
  command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
@@ -2446,7 +2446,7 @@ module Google
2446
2446
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2447
2447
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2448
2448
  def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2449
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/shipLineItems', options)
2449
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
2450
2450
  command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
2451
2451
  command.request_object = orders_ship_line_items_request_object
2452
2452
  command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
@@ -2483,7 +2483,7 @@ module Google
2483
2483
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2484
2484
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2485
2485
  def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2486
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2486
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2487
2487
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
2488
2488
  command.request_object = orders_update_line_item_shipping_details_request_object
2489
2489
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
@@ -2520,7 +2520,7 @@ module Google
2520
2520
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2521
2521
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2522
2522
  def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2523
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2523
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2524
2524
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
2525
2525
  command.request_object = orders_update_merchant_order_id_request_object
2526
2526
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
@@ -2557,7 +2557,7 @@ module Google
2557
2557
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2558
2558
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2559
2559
  def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2560
- command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateShipment', options)
2560
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
2561
2561
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
2562
2562
  command.request_object = orders_update_shipment_request_object
2563
2563
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
@@ -2592,7 +2592,7 @@ module Google
2592
2592
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2593
2593
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2594
2594
  def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2595
- command = make_simple_command(:post, 'content/v2/pos/batch', options)
2595
+ command = make_simple_command(:post, 'pos/batch', options)
2596
2596
  command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
2597
2597
  command.request_object = pos_custom_batch_request_object
2598
2598
  command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
@@ -2631,7 +2631,7 @@ module Google
2631
2631
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2632
2632
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2633
2633
  def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2634
- command = make_simple_command(:delete, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2634
+ command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2635
2635
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2636
2636
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2637
2637
  command.params['storeCode'] = store_code unless store_code.nil?
@@ -2666,7 +2666,7 @@ module Google
2666
2666
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2667
2667
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2668
2668
  def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
2669
- command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2669
+ command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2670
2670
  command.response_representation = Google::Apis::ContentV2::PosStore::Representation
2671
2671
  command.response_class = Google::Apis::ContentV2::PosStore
2672
2672
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2704,7 +2704,7 @@ module Google
2704
2704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2705
2705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2706
2706
  def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2707
- command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
2707
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
2708
2708
  command.request_representation = Google::Apis::ContentV2::PosStore::Representation
2709
2709
  command.request_object = pos_store_object
2710
2710
  command.response_representation = Google::Apis::ContentV2::PosStore::Representation
@@ -2744,7 +2744,7 @@ module Google
2744
2744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2745
2745
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2746
2746
  def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2747
- command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/inventory', options)
2747
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
2748
2748
  command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
2749
2749
  command.request_object = pos_inventory_request_object
2750
2750
  command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
@@ -2780,7 +2780,7 @@ module Google
2780
2780
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2781
2781
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2782
2782
  def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
2783
- command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
2783
+ command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
2784
2784
  command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
2785
2785
  command.response_class = Google::Apis::ContentV2::PosListResponse
2786
2786
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2817,7 +2817,7 @@ module Google
2817
2817
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2818
2818
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2819
2819
  def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2820
- command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/sale', options)
2820
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
2821
2821
  command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
2822
2822
  command.request_object = pos_sale_request_object
2823
2823
  command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
@@ -2853,7 +2853,7 @@ module Google
2853
2853
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2854
2854
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2855
2855
  def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2856
- command = make_simple_command(:post, 'content/v2/products/batch', options)
2856
+ command = make_simple_command(:post, 'products/batch', options)
2857
2857
  command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
2858
2858
  command.request_object = batch_products_request_object
2859
2859
  command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
@@ -2891,7 +2891,7 @@ module Google
2891
2891
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2892
2892
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2893
2893
  def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2894
- command = make_simple_command(:delete, 'content/v2/{merchantId}/products/{productId}', options)
2894
+ command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
2895
2895
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2896
2896
  command.params['productId'] = product_id unless product_id.nil?
2897
2897
  command.query['dryRun'] = dry_run unless dry_run.nil?
@@ -2924,7 +2924,7 @@ module Google
2924
2924
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2925
2925
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2926
2926
  def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
2927
- command = make_simple_command(:get, 'content/v2/{merchantId}/products/{productId}', options)
2927
+ command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
2928
2928
  command.response_representation = Google::Apis::ContentV2::Product::Representation
2929
2929
  command.response_class = Google::Apis::ContentV2::Product
2930
2930
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2962,7 +2962,7 @@ module Google
2962
2962
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2963
2963
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2964
2964
  def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2965
- command = make_simple_command(:post, 'content/v2/{merchantId}/products', options)
2965
+ command = make_simple_command(:post, '{merchantId}/products', options)
2966
2966
  command.request_representation = Google::Apis::ContentV2::Product::Representation
2967
2967
  command.request_object = product_object
2968
2968
  command.response_representation = Google::Apis::ContentV2::Product::Representation
@@ -3005,7 +3005,7 @@ module Google
3005
3005
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3006
3006
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3007
3007
  def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3008
- command = make_simple_command(:get, 'content/v2/{merchantId}/products', options)
3008
+ command = make_simple_command(:get, '{merchantId}/products', options)
3009
3009
  command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
3010
3010
  command.response_class = Google::Apis::ContentV2::ListProductsResponse
3011
3011
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3040,7 +3040,7 @@ module Google
3040
3040
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3041
3041
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3042
3042
  def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
3043
- command = make_simple_command(:post, 'content/v2/productstatuses/batch', options)
3043
+ command = make_simple_command(:post, 'productstatuses/batch', options)
3044
3044
  command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
3045
3045
  command.request_object = batch_product_statuses_request_object
3046
3046
  command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
@@ -3081,7 +3081,7 @@ module Google
3081
3081
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3082
3082
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3083
3083
  def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
3084
- command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses/{productId}', options)
3084
+ command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
3085
3085
  command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
3086
3086
  command.response_class = Google::Apis::ContentV2::ProductStatus
3087
3087
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3129,7 +3129,7 @@ module Google
3129
3129
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3130
3130
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3131
3131
  def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3132
- command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses', options)
3132
+ command = make_simple_command(:get, '{merchantId}/productstatuses', options)
3133
3133
  command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
3134
3134
  command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
3135
3135
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3167,7 +3167,7 @@ module Google
3167
3167
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3168
3168
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3169
3169
  def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
3170
- command = make_simple_command(:post, 'content/v2/shippingsettings/batch', options)
3170
+ command = make_simple_command(:post, 'shippingsettings/batch', options)
3171
3171
  command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
3172
3172
  command.request_object = shippingsettings_custom_batch_request_object
3173
3173
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
@@ -3203,7 +3203,7 @@ module Google
3203
3203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3204
3204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3205
3205
  def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
3206
- command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
3206
+ command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
3207
3207
  command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3208
3208
  command.response_class = Google::Apis::ContentV2::ShippingSettings
3209
3209
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3234,7 +3234,7 @@ module Google
3234
3234
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3235
3235
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3236
3236
  def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3237
- command = make_simple_command(:get, 'content/v2/{merchantId}/supportedCarriers', options)
3237
+ command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
3238
3238
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
3239
3239
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
3240
3240
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3264,7 +3264,7 @@ module Google
3264
3264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3265
3265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3266
3266
  def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3267
- command = make_simple_command(:get, 'content/v2/{merchantId}/supportedHolidays', options)
3267
+ command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
3268
3268
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
3269
3269
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
3270
3270
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3294,7 +3294,7 @@ module Google
3294
3294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3295
3295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3296
3296
  def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3297
- command = make_simple_command(:get, 'content/v2/{merchantId}/supportedPickupServices', options)
3297
+ command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
3298
3298
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse::Representation
3299
3299
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse
3300
3300
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3330,7 +3330,7 @@ module Google
3330
3330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3331
3331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3332
3332
  def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3333
- command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings', options)
3333
+ command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
3334
3334
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
3335
3335
  command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
3336
3336
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3371,7 +3371,7 @@ module Google
3371
3371
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3372
3372
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3373
3373
  def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
3374
- command = make_simple_command(:put, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
3374
+ command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
3375
3375
  command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3376
3376
  command.request_object = shipping_settings_object
3377
3377
  command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-content_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Content API for Shopping V2. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Content API for Shopping V2