google-apis-content_v2 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/content_v2/gem_version.rb +3 -3
- data/lib/google/apis/content_v2/service.rb +89 -89
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0afd60d460836b6f28f5a1967b9453a05a795d8f868ae841f733ffd85113cc0e
|
4
|
+
data.tar.gz: e407a649dc61a9d39dcf0a54c9f4dc4afb1c8b76c06e36ab2d3778ae643c4c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7404c8f339319980db1f25be89c8934eac14e71322ed0fb467be8ac32ffc0fbfc5aaf4afa5d858446f8641e35512cdbf396787a3b3816b8197091ef1f14c3cc
|
7
|
+
data.tar.gz: 7e0c34590bbc4f919bfff8b20166b66c9c7f75eb188b2b4f2652875c02b8da2c8aed6ba427fbc791aa8aa81c61644a820757d1762103209f6fab6c007ab665d9
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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, '
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-content_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2/v0.5.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|