google-apis-merchantapi_accounts_v1beta 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/classes.rb +34 -33
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +1 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +77 -75
- 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: 05e5515e37b38fb89f4209bee2ab4a6e87e94129f000da8b6d47ae9999ae94b6
|
4
|
+
data.tar.gz: 28532ebda6a69b4292846b05fc49b9be39aa274710086379c0678a289c2a13d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 732fd2d6fcfdb93f95ba115ae698d20289eb9a44172311e85d0ecc6b51412ae42706e081fe4814630aabe83ebdfdfdacd7af4260c9944dbc7ad7913656028b4a
|
7
|
+
data.tar.gz: '09a36ff6513aeb959ddd033d2726afac364d88473358a7577baf4f1d0238053cf04a1c6dd2c9516ac0c6f9b8bf13371c945d6ade7f4a0c7922eaab0bae89deb6'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_accounts_v1beta
|
2
2
|
|
3
|
+
### v0.10.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250416
|
6
|
+
|
7
|
+
### v0.9.0 (2025-04-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250408
|
10
|
+
|
3
11
|
### v0.8.0 (2025-03-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250319
|
@@ -1796,6 +1796,12 @@ module Google
|
|
1796
1796
|
# @return [Google::Apis::MerchantapiAccountsV1beta::RestockingFee]
|
1797
1797
|
attr_accessor :restocking_fee
|
1798
1798
|
|
1799
|
+
# The field specifies the return label source. This field is required when
|
1800
|
+
# return method is BY_MAIL.
|
1801
|
+
# Corresponds to the JSON property `returnLabelSource`
|
1802
|
+
# @return [String]
|
1803
|
+
attr_accessor :return_label_source
|
1804
|
+
|
1799
1805
|
# Optional. The return methods of how customers can return an item. This value
|
1800
1806
|
# is required to not be empty unless the type of return policy is noReturns.
|
1801
1807
|
# Corresponds to the JSON property `returnMethods`
|
@@ -1840,6 +1846,7 @@ module Google
|
|
1840
1846
|
@policy = args[:policy] if args.key?(:policy)
|
1841
1847
|
@process_refund_days = args[:process_refund_days] if args.key?(:process_refund_days)
|
1842
1848
|
@restocking_fee = args[:restocking_fee] if args.key?(:restocking_fee)
|
1849
|
+
@return_label_source = args[:return_label_source] if args.key?(:return_label_source)
|
1843
1850
|
@return_methods = args[:return_methods] if args.key?(:return_methods)
|
1844
1851
|
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
1845
1852
|
@return_policy_uri = args[:return_policy_uri] if args.key?(:return_policy_uri)
|
@@ -2462,15 +2469,13 @@ module Google
|
|
2462
2469
|
class Required
|
2463
2470
|
include Google::Apis::Core::Hashable
|
2464
2471
|
|
2465
|
-
# The
|
2466
|
-
# that need to be accepted.
|
2472
|
+
# The `TermsOfService` that need to be accepted.
|
2467
2473
|
# Corresponds to the JSON property `termsOfService`
|
2468
2474
|
# @return [String]
|
2469
2475
|
attr_accessor :terms_of_service
|
2470
2476
|
|
2471
|
-
# Full URL to the terms of service file. This field is the same as
|
2472
|
-
# TermsOfService.file_uri
|
2473
|
-
# convenience only.
|
2477
|
+
# Full URL to the terms of service file. This field is the same as `
|
2478
|
+
# TermsOfService.file_uri`, it is added here for convenience only.
|
2474
2479
|
# Corresponds to the JSON property `tosFileUri`
|
2475
2480
|
# @return [String]
|
2476
2481
|
attr_accessor :tos_file_uri
|
@@ -2667,8 +2672,8 @@ module Google
|
|
2667
2672
|
attr_accessor :active
|
2668
2673
|
alias_method :active?, :active
|
2669
2674
|
|
2670
|
-
# The CLDR code of the currency to which this service applies. Must
|
2671
|
-
# of the prices in rate groups.
|
2675
|
+
# Required. The CLDR code of the currency to which this service applies. Must
|
2676
|
+
# match that of the prices in rate groups.
|
2672
2677
|
# Corresponds to the JSON property `currencyCode`
|
2673
2678
|
# @return [String]
|
2674
2679
|
attr_accessor :currency_code
|
@@ -2742,8 +2747,8 @@ module Google
|
|
2742
2747
|
end
|
2743
2748
|
end
|
2744
2749
|
|
2745
|
-
# The merchant account's [shipping
|
2746
|
-
# answer/6069284).
|
2750
|
+
# The merchant account's [shipping settings](https://support.google.com/
|
2751
|
+
# merchants/answer/6069284).
|
2747
2752
|
class ShippingSettings
|
2748
2753
|
include Google::Apis::Core::Hashable
|
2749
2754
|
|
@@ -2761,8 +2766,8 @@ module Google
|
|
2761
2766
|
# @return [String]
|
2762
2767
|
attr_accessor :etag
|
2763
2768
|
|
2764
|
-
# Identifier. The resource name of the shipping
|
2765
|
-
# account`/
|
2769
|
+
# Identifier. The resource name of the shipping settings. Format: `accounts/`
|
2770
|
+
# account`/shippingSettings`
|
2766
2771
|
# Corresponds to the JSON property `name`
|
2767
2772
|
# @return [String]
|
2768
2773
|
attr_accessor :name
|
@@ -2935,13 +2940,13 @@ module Google
|
|
2935
2940
|
end
|
2936
2941
|
|
2937
2942
|
# The `TermsOfService` message represents a specific version of the terms of
|
2938
|
-
# service that merchants must accept to access certain features or services
|
2939
|
-
# https://support.google.com/merchants/
|
2940
|
-
# for the onboarding process, ensuring
|
2941
|
-
# legal agreements for using the service.
|
2942
|
-
# terms of service for a given `kind` and `
|
2943
|
-
# RetrieveLatestTermsOfService`, and accept them as required
|
2944
|
-
# AcceptTermsOfService`.
|
2943
|
+
# service that merchants must accept to access certain features or services. For
|
2944
|
+
# more information, see [Terms of Service](https://support.google.com/merchants/
|
2945
|
+
# answer/160173). This message is important for the onboarding process, ensuring
|
2946
|
+
# that merchants agree to the necessary legal agreements for using the service.
|
2947
|
+
# Merchants can retrieve the latest terms of service for a given `kind` and `
|
2948
|
+
# region` through `RetrieveLatestTermsOfService`, and accept them as required
|
2949
|
+
# through `AcceptTermsOfService`.
|
2945
2950
|
class TermsOfService
|
2946
2951
|
include Google::Apis::Core::Hashable
|
2947
2952
|
|
@@ -2995,21 +3000,17 @@ module Google
|
|
2995
3000
|
|
2996
3001
|
# This resource represents the agreement state for a given account and terms of
|
2997
3002
|
# service kind. The state is as follows: * If the merchant has accepted a terms
|
2998
|
-
# of service
|
2999
|
-
#
|
3000
|
-
#
|
3001
|
-
#
|
3002
|
-
#
|
3003
|
-
#
|
3004
|
-
#
|
3005
|
-
#
|
3006
|
-
#
|
3007
|
-
#
|
3008
|
-
#
|
3009
|
-
# url to the file containing the text is added in the Required message below as [
|
3010
|
-
# tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of
|
3011
|
-
# service is done by calling accept on the [TermsOfService](TermsOfService)
|
3012
|
-
# resource.
|
3003
|
+
# of service, `accepted` will be populated, otherwise it will be empty * If the
|
3004
|
+
# merchant must sign a terms of service, `required` will be populated, otherwise
|
3005
|
+
# it will be empty. Note that both `required` and `accepted` can be present. In
|
3006
|
+
# this case the `accepted` terms of services will have an expiration date set in
|
3007
|
+
# the `valid_until` field. The `required` terms of services need to be accepted
|
3008
|
+
# before `valid_until` in order for the account to continue having a valid
|
3009
|
+
# agreement. When accepting new terms of services we expect 3Ps to display the
|
3010
|
+
# text associated with the given terms of service agreement (the url to the file
|
3011
|
+
# containing the text is added in the Required message below as `tos_file_uri`.
|
3012
|
+
# The actual acceptance of the terms of service is done by calling accept on the
|
3013
|
+
# `TermsOfService` resource.
|
3013
3014
|
class TermsOfServiceAgreementState
|
3014
3015
|
include Google::Apis::Core::Hashable
|
3015
3016
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiAccountsV1beta
|
18
18
|
# Version of the google-apis-merchantapi_accounts_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250416"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1023,6 +1023,7 @@ module Google
|
|
1023
1023
|
property :process_refund_days, as: 'processRefundDays'
|
1024
1024
|
property :restocking_fee, as: 'restockingFee', class: Google::Apis::MerchantapiAccountsV1beta::RestockingFee, decorator: Google::Apis::MerchantapiAccountsV1beta::RestockingFee::Representation
|
1025
1025
|
|
1026
|
+
property :return_label_source, as: 'returnLabelSource'
|
1026
1027
|
collection :return_methods, as: 'returnMethods'
|
1027
1028
|
property :return_policy_id, as: 'returnPolicyId'
|
1028
1029
|
property :return_policy_uri, as: 'returnPolicyUri'
|
@@ -51,8 +51,8 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Creates a
|
55
|
-
#
|
54
|
+
# Creates a Merchant Center account with additional configuration. Adds the user
|
55
|
+
# that makes the request as an admin for the new account.
|
56
56
|
# @param [Google::Apis::MerchantapiAccountsV1beta::CreateAndConfigureAccountRequest] create_and_configure_account_request_object
|
57
57
|
# @param [String] fields
|
58
58
|
# Selector specifying which fields to include in a partial response.
|
@@ -152,37 +152,6 @@ module Google
|
|
152
152
|
execute_or_queue_command(command, &block)
|
153
153
|
end
|
154
154
|
|
155
|
-
# Retrieves the automatic improvements of an account.
|
156
|
-
# @param [String] name
|
157
|
-
# Required. The resource name of the automatic improvements. Format: `accounts/`
|
158
|
-
# account`/automaticImprovements`
|
159
|
-
# @param [String] fields
|
160
|
-
# Selector specifying which fields to include in a partial response.
|
161
|
-
# @param [String] quota_user
|
162
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
163
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
164
|
-
# @param [Google::Apis::RequestOptions] options
|
165
|
-
# Request-specific options
|
166
|
-
#
|
167
|
-
# @yield [result, err] Result & error if block supplied
|
168
|
-
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements] parsed result object
|
169
|
-
# @yieldparam err [StandardError] error object if request failed
|
170
|
-
#
|
171
|
-
# @return [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements]
|
172
|
-
#
|
173
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
174
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
175
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
176
|
-
def get_account_automatic_improvements(name, fields: nil, quota_user: nil, options: nil, &block)
|
177
|
-
command = make_simple_command(:get, 'accounts/v1beta/{+name}', options)
|
178
|
-
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements::Representation
|
179
|
-
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements
|
180
|
-
command.params['name'] = name unless name.nil?
|
181
|
-
command.query['fields'] = fields unless fields.nil?
|
182
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
183
|
-
execute_or_queue_command(command, &block)
|
184
|
-
end
|
185
|
-
|
186
155
|
# Lists accounts accessible to the calling user and matching the constraints of
|
187
156
|
# the request such as page size or filters. This is not just listing the sub-
|
188
157
|
# accounts of an MCA, but all accounts the calling user has access to including
|
@@ -318,17 +287,10 @@ module Google
|
|
318
287
|
execute_or_queue_command(command, &block)
|
319
288
|
end
|
320
289
|
|
321
|
-
#
|
290
|
+
# Retrieves the autofeed settings of an account.
|
322
291
|
# @param [String] name
|
323
|
-
#
|
324
|
-
#
|
325
|
-
# @param [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements] automatic_improvements_object
|
326
|
-
# @param [String] update_mask
|
327
|
-
# Required. List of fields being updated. The following fields are supported (in
|
328
|
-
# both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.
|
329
|
-
# account_level_settings` - `image_improvements` - `image_improvements.
|
330
|
-
# account_level_settings` - `shipping_improvements` - `shipping_improvements.
|
331
|
-
# allow_shipping_improvements`
|
292
|
+
# Required. The resource name of the autofeed settings. Format: `accounts/`
|
293
|
+
# account`/autofeedSettings`
|
332
294
|
# @param [String] fields
|
333
295
|
# Selector specifying which fields to include in a partial response.
|
334
296
|
# @param [String] quota_user
|
@@ -338,31 +300,31 @@ module Google
|
|
338
300
|
# Request-specific options
|
339
301
|
#
|
340
302
|
# @yield [result, err] Result & error if block supplied
|
341
|
-
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::
|
303
|
+
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings] parsed result object
|
342
304
|
# @yieldparam err [StandardError] error object if request failed
|
343
305
|
#
|
344
|
-
# @return [Google::Apis::MerchantapiAccountsV1beta::
|
306
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings]
|
345
307
|
#
|
346
308
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
347
309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
|
-
def
|
350
|
-
command = make_simple_command(:
|
351
|
-
command.
|
352
|
-
command.
|
353
|
-
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements::Representation
|
354
|
-
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements
|
311
|
+
def get_account_autofeed_setting_autofeed_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
312
|
+
command = make_simple_command(:get, 'accounts/v1beta/{+name}', options)
|
313
|
+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings::Representation
|
314
|
+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings
|
355
315
|
command.params['name'] = name unless name.nil?
|
356
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
357
316
|
command.query['fields'] = fields unless fields.nil?
|
358
317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
359
318
|
execute_or_queue_command(command, &block)
|
360
319
|
end
|
361
320
|
|
362
|
-
#
|
321
|
+
# Updates the autofeed settings of an account.
|
363
322
|
# @param [String] name
|
364
|
-
#
|
365
|
-
# account`/autofeedSettings
|
323
|
+
# Identifier. The resource name of the autofeed settings. Format: `accounts/`
|
324
|
+
# account`/autofeedSettings`.
|
325
|
+
# @param [Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings] autofeed_settings_object
|
326
|
+
# @param [String] update_mask
|
327
|
+
# Required. List of fields being updated.
|
366
328
|
# @param [String] fields
|
367
329
|
# Selector specifying which fields to include in a partial response.
|
368
330
|
# @param [String] quota_user
|
@@ -380,23 +342,61 @@ module Google
|
|
380
342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
381
343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
382
344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
383
|
-
def
|
384
|
-
command = make_simple_command(:
|
345
|
+
def update_account_autofeed_setting_autofeed_settings(name, autofeed_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
346
|
+
command = make_simple_command(:patch, 'accounts/v1beta/{+name}', options)
|
347
|
+
command.request_representation = Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings::Representation
|
348
|
+
command.request_object = autofeed_settings_object
|
385
349
|
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings::Representation
|
386
350
|
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutofeedSettings
|
387
351
|
command.params['name'] = name unless name.nil?
|
352
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
388
353
|
command.query['fields'] = fields unless fields.nil?
|
389
354
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
390
355
|
execute_or_queue_command(command, &block)
|
391
356
|
end
|
392
357
|
|
393
|
-
#
|
358
|
+
# Retrieves the automatic improvements of an account.
|
394
359
|
# @param [String] name
|
395
|
-
#
|
396
|
-
# account`/
|
397
|
-
# @param [
|
360
|
+
# Required. The resource name of the automatic improvements. Format: `accounts/`
|
361
|
+
# account`/automaticImprovements`
|
362
|
+
# @param [String] fields
|
363
|
+
# Selector specifying which fields to include in a partial response.
|
364
|
+
# @param [String] quota_user
|
365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
367
|
+
# @param [Google::Apis::RequestOptions] options
|
368
|
+
# Request-specific options
|
369
|
+
#
|
370
|
+
# @yield [result, err] Result & error if block supplied
|
371
|
+
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements] parsed result object
|
372
|
+
# @yieldparam err [StandardError] error object if request failed
|
373
|
+
#
|
374
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements]
|
375
|
+
#
|
376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
379
|
+
def get_account_automatic_improvement_automatic_improvements(name, fields: nil, quota_user: nil, options: nil, &block)
|
380
|
+
command = make_simple_command(:get, 'accounts/v1beta/{+name}', options)
|
381
|
+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements::Representation
|
382
|
+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements
|
383
|
+
command.params['name'] = name unless name.nil?
|
384
|
+
command.query['fields'] = fields unless fields.nil?
|
385
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
386
|
+
execute_or_queue_command(command, &block)
|
387
|
+
end
|
388
|
+
|
389
|
+
# Updates the automatic improvements of an account.
|
390
|
+
# @param [String] name
|
391
|
+
# Identifier. The resource name of the automatic improvements. Format: `accounts/
|
392
|
+
# `account`/automaticImprovements`.
|
393
|
+
# @param [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements] automatic_improvements_object
|
398
394
|
# @param [String] update_mask
|
399
|
-
# Required. List of fields being updated.
|
395
|
+
# Required. List of fields being updated. The following fields are supported (in
|
396
|
+
# both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.
|
397
|
+
# account_level_settings` - `image_improvements` - `image_improvements.
|
398
|
+
# account_level_settings` - `shipping_improvements` - `shipping_improvements.
|
399
|
+
# allow_shipping_improvements`
|
400
400
|
# @param [String] fields
|
401
401
|
# Selector specifying which fields to include in a partial response.
|
402
402
|
# @param [String] quota_user
|
@@ -406,20 +406,20 @@ module Google
|
|
406
406
|
# Request-specific options
|
407
407
|
#
|
408
408
|
# @yield [result, err] Result & error if block supplied
|
409
|
-
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::
|
409
|
+
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements] parsed result object
|
410
410
|
# @yieldparam err [StandardError] error object if request failed
|
411
411
|
#
|
412
|
-
# @return [Google::Apis::MerchantapiAccountsV1beta::
|
412
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements]
|
413
413
|
#
|
414
414
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
415
415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
|
-
def
|
417
|
+
def update_account_automatic_improvement_automatic_improvements(name, automatic_improvements_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
418
418
|
command = make_simple_command(:patch, 'accounts/v1beta/{+name}', options)
|
419
|
-
command.request_representation = Google::Apis::MerchantapiAccountsV1beta::
|
420
|
-
command.request_object =
|
421
|
-
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::
|
422
|
-
command.response_class = Google::Apis::MerchantapiAccountsV1beta::
|
419
|
+
command.request_representation = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements::Representation
|
420
|
+
command.request_object = automatic_improvements_object
|
421
|
+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements::Representation
|
422
|
+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::AutomaticImprovements
|
423
423
|
command.params['name'] = name unless name.nil?
|
424
424
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
425
425
|
command.query['fields'] = fields unless fields.nil?
|
@@ -801,7 +801,7 @@ module Google
|
|
801
801
|
# such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
|
802
802
|
# @param [Fixnum] page_size
|
803
803
|
# Optional. The maximum number of issues to return. The service may return fewer
|
804
|
-
# than this value. If unspecified, at most 50
|
804
|
+
# than this value. If unspecified, at most 50 issues will be returned. The
|
805
805
|
# maximum value is 100; values above 100 will be coerced to 100
|
806
806
|
# @param [String] page_token
|
807
807
|
# Optional. A page token, received from a previous `ListAccountIssues` call.
|
@@ -1243,7 +1243,7 @@ module Google
|
|
1243
1243
|
# Retrieve shipping setting information.
|
1244
1244
|
# @param [String] name
|
1245
1245
|
# Required. The name of the shipping setting to retrieve. Format: `accounts/`
|
1246
|
-
# account`/
|
1246
|
+
# account`/shippingsettings`
|
1247
1247
|
# @param [String] fields
|
1248
1248
|
# Selector specifying which fields to include in a partial response.
|
1249
1249
|
# @param [String] quota_user
|
@@ -1274,8 +1274,10 @@ module Google
|
|
1274
1274
|
# Replace the shipping setting of a merchant with the request shipping setting.
|
1275
1275
|
# Executing this method requires admin access.
|
1276
1276
|
# @param [String] parent
|
1277
|
-
# Required. The account
|
1278
|
-
# account
|
1277
|
+
# Required. The account for which this shipping setting will be inserted. If you
|
1278
|
+
# are using an advanced account, you must specify the unique identifier of the
|
1279
|
+
# sub-account for which you want to insert the shipping setting. Format: `
|
1280
|
+
# accounts/`ACCOUNT_ID``
|
1279
1281
|
# @param [Google::Apis::MerchantapiAccountsV1beta::ShippingSettings] shipping_settings_object
|
1280
1282
|
# @param [String] fields
|
1281
1283
|
# Selector specifying which fields to include in a partial response.
|
@@ -1309,7 +1311,7 @@ module Google
|
|
1309
1311
|
# Returns the state of a terms of service agreement.
|
1310
1312
|
# @param [String] name
|
1311
1313
|
# Required. The resource name of the terms of service version. Format: `accounts/
|
1312
|
-
# `account`/
|
1314
|
+
# `account`/termsOfServiceAgreementStates/`identifier`` The identifier format is:
|
1313
1315
|
# ``TermsOfServiceKind`-`country``
|
1314
1316
|
# @param [String] fields
|
1315
1317
|
# Selector specifying which fields to include in a partial response.
|
@@ -1559,7 +1561,7 @@ module Google
|
|
1559
1561
|
# Required. The resource name of the terms of service version. Format: `
|
1560
1562
|
# termsOfService/`version``
|
1561
1563
|
# @param [String] account
|
1562
|
-
# Required. The account for which to accept the ToS.
|
1564
|
+
# Required. The account for which to accept the ToS. Format: `accounts/`account``
|
1563
1565
|
# @param [String] region_code
|
1564
1566
|
# Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is
|
1565
1567
|
# either a country when the ToS applies specifically to that country or 001 when
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_accounts_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.10.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|