google-apis-merchantapi_accounts_v1beta 0.9.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
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
@@ -2672,8 +2672,8 @@ module Google
|
|
2672
2672
|
attr_accessor :active
|
2673
2673
|
alias_method :active?, :active
|
2674
2674
|
|
2675
|
-
# The CLDR code of the currency to which this service applies. Must
|
2676
|
-
# 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.
|
2677
2677
|
# Corresponds to the JSON property `currencyCode`
|
2678
2678
|
# @return [String]
|
2679
2679
|
attr_accessor :currency_code
|
@@ -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
|
@@ -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?
|
@@ -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.
|
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-04-
|
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:
|