google-apis-merchantapi_accounts_v1beta 0.27.0 → 0.29.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 +209 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +99 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +34 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b081d89451bff1bceebb2ab6d2eac834bad0ed4832a00c56904db57ac1501701
|
|
4
|
+
data.tar.gz: 8453d6e2bc9c326ed1bec14235e8efc65f0cbefffadcc03492e9ebfe9bfa094e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a1ddc6cfa9a0ef547f3f9ce9d586bab8b7ddf9ab73c4a2303f5dc1a5d337d74809c3b54191d0f4f56a630643bc0a2516e28a8c91ef91f3144e6e7163a1c5a2
|
|
7
|
+
data.tar.gz: 0a0865b6733b01958348032d39962d4db8471b9a9d145aeb2c528916f87554351f458c0f3eac16d6d6725d4ae1a4ed325db6f95ab8a161d18473ade696e36bac
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-merchantapi_accounts_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.29.0 (2025-11-30)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251120
|
|
6
|
+
|
|
7
|
+
### v0.28.0 (2025-11-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251115
|
|
10
|
+
|
|
3
11
|
### v0.27.0 (2025-10-26)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251023
|
|
@@ -356,6 +356,11 @@ module Google
|
|
|
356
356
|
# @return [Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement]
|
|
357
357
|
attr_accessor :campaigns_management
|
|
358
358
|
|
|
359
|
+
# `ComparisonShopping` payload.
|
|
360
|
+
# Corresponds to the JSON property `comparisonShopping`
|
|
361
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping]
|
|
362
|
+
attr_accessor :comparison_shopping
|
|
363
|
+
|
|
359
364
|
# Immutable. An optional, immutable identifier that Google uses to refer to this
|
|
360
365
|
# account when communicating with the provider. This should be the unique
|
|
361
366
|
# account ID within the provider's system (for example, your shop ID in Shopify).
|
|
@@ -417,6 +422,7 @@ module Google
|
|
|
417
422
|
@account_aggregation = args[:account_aggregation] if args.key?(:account_aggregation)
|
|
418
423
|
@account_management = args[:account_management] if args.key?(:account_management)
|
|
419
424
|
@campaigns_management = args[:campaigns_management] if args.key?(:campaigns_management)
|
|
425
|
+
@comparison_shopping = args[:comparison_shopping] if args.key?(:comparison_shopping)
|
|
420
426
|
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
|
421
427
|
@handshake = args[:handshake] if args.key?(:handshake)
|
|
422
428
|
@local_listing_management = args[:local_listing_management] if args.key?(:local_listing_management)
|
|
@@ -437,6 +443,40 @@ module Google
|
|
|
437
443
|
# @return [Google::Apis::MerchantapiAccountsV1beta::AccountAggregation]
|
|
438
444
|
attr_accessor :account_aggregation
|
|
439
445
|
|
|
446
|
+
# `AccountManagement` payload.
|
|
447
|
+
# Corresponds to the JSON property `accountManagement`
|
|
448
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::AccountManagement]
|
|
449
|
+
attr_accessor :account_management
|
|
450
|
+
|
|
451
|
+
# `CampaignManagement` payload.
|
|
452
|
+
# Corresponds to the JSON property `campaignsManagement`
|
|
453
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement]
|
|
454
|
+
attr_accessor :campaigns_management
|
|
455
|
+
|
|
456
|
+
# `ComparisonShopping` payload.
|
|
457
|
+
# Corresponds to the JSON property `comparisonShopping`
|
|
458
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping]
|
|
459
|
+
attr_accessor :comparison_shopping
|
|
460
|
+
|
|
461
|
+
# Immutable. An optional, immutable identifier that Google uses to refer to this
|
|
462
|
+
# account when communicating with the provider. This should be the unique
|
|
463
|
+
# account ID within the provider's system (for example, your shop ID in Shopify).
|
|
464
|
+
# If you have multiple accounts with the same provider - for instance,
|
|
465
|
+
# different accounts for various regions — the `external_account_id`
|
|
466
|
+
# differentiates between them, ensuring accurate linking and integration between
|
|
467
|
+
# Google and the provider. The external account ID must be specified for the
|
|
468
|
+
# campaigns management service type. The external account ID must not be
|
|
469
|
+
# specified for the account aggregation service type. The external account ID is
|
|
470
|
+
# optional / may be specified for all other service types.
|
|
471
|
+
# Corresponds to the JSON property `externalAccountId`
|
|
472
|
+
# @return [String]
|
|
473
|
+
attr_accessor :external_account_id
|
|
474
|
+
|
|
475
|
+
# `ProductsManagement` payload.
|
|
476
|
+
# Corresponds to the JSON property `productsManagement`
|
|
477
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::ProductsManagement]
|
|
478
|
+
attr_accessor :products_management
|
|
479
|
+
|
|
440
480
|
# Required. The provider of the service. Either the reference to an account such
|
|
441
481
|
# as `providers/123` or a well-known service provider (one of `providers/
|
|
442
482
|
# GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
|
|
@@ -451,6 +491,11 @@ module Google
|
|
|
451
491
|
# Update properties of this object
|
|
452
492
|
def update!(**args)
|
|
453
493
|
@account_aggregation = args[:account_aggregation] if args.key?(:account_aggregation)
|
|
494
|
+
@account_management = args[:account_management] if args.key?(:account_management)
|
|
495
|
+
@campaigns_management = args[:campaigns_management] if args.key?(:campaigns_management)
|
|
496
|
+
@comparison_shopping = args[:comparison_shopping] if args.key?(:comparison_shopping)
|
|
497
|
+
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
|
498
|
+
@products_management = args[:products_management] if args.key?(:products_management)
|
|
454
499
|
@provider = args[:provider] if args.key?(:provider)
|
|
455
500
|
end
|
|
456
501
|
end
|
|
@@ -472,6 +517,11 @@ module Google
|
|
|
472
517
|
# @return [String]
|
|
473
518
|
attr_accessor :user_id
|
|
474
519
|
|
|
520
|
+
# Settings related to the verification email that is sent after adding a user.
|
|
521
|
+
# Corresponds to the JSON property `verificationMailSettings`
|
|
522
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings]
|
|
523
|
+
attr_accessor :verification_mail_settings
|
|
524
|
+
|
|
475
525
|
def initialize(**args)
|
|
476
526
|
update!(**args)
|
|
477
527
|
end
|
|
@@ -480,6 +530,7 @@ module Google
|
|
|
480
530
|
def update!(**args)
|
|
481
531
|
@user = args[:user] if args.key?(:user)
|
|
482
532
|
@user_id = args[:user_id] if args.key?(:user_id)
|
|
533
|
+
@verification_mail_settings = args[:verification_mail_settings] if args.key?(:verification_mail_settings)
|
|
483
534
|
end
|
|
484
535
|
end
|
|
485
536
|
|
|
@@ -1083,6 +1134,19 @@ module Google
|
|
|
1083
1134
|
end
|
|
1084
1135
|
end
|
|
1085
1136
|
|
|
1137
|
+
# `ComparisonShopping` payload.
|
|
1138
|
+
class ComparisonShopping
|
|
1139
|
+
include Google::Apis::Core::Hashable
|
|
1140
|
+
|
|
1141
|
+
def initialize(**args)
|
|
1142
|
+
update!(**args)
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# Update properties of this object
|
|
1146
|
+
def update!(**args)
|
|
1147
|
+
end
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1086
1150
|
# Request message for the `CreateAndConfigureAccount` method.
|
|
1087
1151
|
class CreateAndConfigureAccountRequest
|
|
1088
1152
|
include Google::Apis::Core::Hashable
|
|
@@ -1111,6 +1175,13 @@ module Google
|
|
|
1111
1175
|
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::AddAccountService>]
|
|
1112
1176
|
attr_accessor :service
|
|
1113
1177
|
|
|
1178
|
+
# Optional. If a relationship is created with a provider, you can set an alias
|
|
1179
|
+
# for it with this field. The calling user must be an admin on the provider to
|
|
1180
|
+
# be able to set an alias.
|
|
1181
|
+
# Corresponds to the JSON property `setAlias`
|
|
1182
|
+
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::SetAliasForRelationship>]
|
|
1183
|
+
attr_accessor :set_alias
|
|
1184
|
+
|
|
1114
1185
|
# Optional. Users to be added to the account.
|
|
1115
1186
|
# Corresponds to the JSON property `user`
|
|
1116
1187
|
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::AddUser>]
|
|
@@ -1130,6 +1201,7 @@ module Google
|
|
|
1130
1201
|
def update!(**args)
|
|
1131
1202
|
@account = args[:account] if args.key?(:account)
|
|
1132
1203
|
@service = args[:service] if args.key?(:service)
|
|
1204
|
+
@set_alias = args[:set_alias] if args.key?(:set_alias)
|
|
1133
1205
|
@user = args[:user] if args.key?(:user)
|
|
1134
1206
|
@users = args[:users] if args.key?(:users)
|
|
1135
1207
|
end
|
|
@@ -1980,6 +2052,34 @@ module Google
|
|
|
1980
2052
|
end
|
|
1981
2053
|
end
|
|
1982
2054
|
|
|
2055
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
2056
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
2057
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
2058
|
+
# must be within normalized ranges.
|
|
2059
|
+
class LatLng
|
|
2060
|
+
include Google::Apis::Core::Hashable
|
|
2061
|
+
|
|
2062
|
+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
|
2063
|
+
# Corresponds to the JSON property `latitude`
|
|
2064
|
+
# @return [Float]
|
|
2065
|
+
attr_accessor :latitude
|
|
2066
|
+
|
|
2067
|
+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
|
2068
|
+
# Corresponds to the JSON property `longitude`
|
|
2069
|
+
# @return [Float]
|
|
2070
|
+
attr_accessor :longitude
|
|
2071
|
+
|
|
2072
|
+
def initialize(**args)
|
|
2073
|
+
update!(**args)
|
|
2074
|
+
end
|
|
2075
|
+
|
|
2076
|
+
# Update properties of this object
|
|
2077
|
+
def update!(**args)
|
|
2078
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
|
2079
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
|
2080
|
+
end
|
|
2081
|
+
end
|
|
2082
|
+
|
|
1983
2083
|
# Collection of information related to the LFP link.
|
|
1984
2084
|
class LfpLink
|
|
1985
2085
|
include Google::Apis::Core::Hashable
|
|
@@ -3340,6 +3440,47 @@ module Google
|
|
|
3340
3440
|
end
|
|
3341
3441
|
end
|
|
3342
3442
|
|
|
3443
|
+
# A radius area that defines the region area.
|
|
3444
|
+
class RadiusArea
|
|
3445
|
+
include Google::Apis::Core::Hashable
|
|
3446
|
+
|
|
3447
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
3448
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
3449
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
3450
|
+
# must be within normalized ranges.
|
|
3451
|
+
# Corresponds to the JSON property `latLng`
|
|
3452
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::LatLng]
|
|
3453
|
+
attr_accessor :lat_lng
|
|
3454
|
+
|
|
3455
|
+
# Required. The radius distance of the area.
|
|
3456
|
+
# Corresponds to the JSON property `radius`
|
|
3457
|
+
# @return [Float]
|
|
3458
|
+
attr_accessor :radius
|
|
3459
|
+
|
|
3460
|
+
# Optional. The unit of the radius.
|
|
3461
|
+
# Corresponds to the JSON property `radiusUnits`
|
|
3462
|
+
# @return [String]
|
|
3463
|
+
attr_accessor :radius_units
|
|
3464
|
+
|
|
3465
|
+
# Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/
|
|
3466
|
+
# common/main/en.xml) or the country the radius area applies to.
|
|
3467
|
+
# Corresponds to the JSON property `regionCode`
|
|
3468
|
+
# @return [String]
|
|
3469
|
+
attr_accessor :region_code
|
|
3470
|
+
|
|
3471
|
+
def initialize(**args)
|
|
3472
|
+
update!(**args)
|
|
3473
|
+
end
|
|
3474
|
+
|
|
3475
|
+
# Update properties of this object
|
|
3476
|
+
def update!(**args)
|
|
3477
|
+
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
|
|
3478
|
+
@radius = args[:radius] if args.key?(:radius)
|
|
3479
|
+
@radius_units = args[:radius_units] if args.key?(:radius_units)
|
|
3480
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
|
3481
|
+
end
|
|
3482
|
+
end
|
|
3483
|
+
|
|
3343
3484
|
# Shipping rate group definitions. Only the last one is allowed to have an empty
|
|
3344
3485
|
# `applicable_shipping_labels`, which means "everything else". The other `
|
|
3345
3486
|
# applicable_shipping_labels` must not overlap.
|
|
@@ -3431,6 +3572,11 @@ module Google
|
|
|
3431
3572
|
# @return [Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea]
|
|
3432
3573
|
attr_accessor :postal_code_area
|
|
3433
3574
|
|
|
3575
|
+
# A radius area that defines the region area.
|
|
3576
|
+
# Corresponds to the JSON property `radiusArea`
|
|
3577
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::RadiusArea]
|
|
3578
|
+
attr_accessor :radius_area
|
|
3579
|
+
|
|
3434
3580
|
# Output only. Indicates if the region is eligible for use in the Regional
|
|
3435
3581
|
# Inventory configuration.
|
|
3436
3582
|
# Corresponds to the JSON property `regionalInventoryEligible`
|
|
@@ -3455,6 +3601,7 @@ module Google
|
|
|
3455
3601
|
@geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
|
|
3456
3602
|
@name = args[:name] if args.key?(:name)
|
|
3457
3603
|
@postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
|
|
3604
|
+
@radius_area = args[:radius_area] if args.key?(:radius_area)
|
|
3458
3605
|
@regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
|
|
3459
3606
|
@shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
|
|
3460
3607
|
end
|
|
@@ -3814,6 +3961,35 @@ module Google
|
|
|
3814
3961
|
end
|
|
3815
3962
|
end
|
|
3816
3963
|
|
|
3964
|
+
# Set an alias for a relationship between a provider and the account to be
|
|
3965
|
+
# created.
|
|
3966
|
+
class SetAliasForRelationship
|
|
3967
|
+
include Google::Apis::Core::Hashable
|
|
3968
|
+
|
|
3969
|
+
# Required. The unique ID of this account in the provider's system. The value
|
|
3970
|
+
# must be unique across all accounts on the platform for this provider.
|
|
3971
|
+
# Corresponds to the JSON property `accountIdAlias`
|
|
3972
|
+
# @return [String]
|
|
3973
|
+
attr_accessor :account_id_alias
|
|
3974
|
+
|
|
3975
|
+
# Required. The provider of the service. This is a reference to an account such
|
|
3976
|
+
# as `providers/123` or `accounts/123`. The same provider must be specified in
|
|
3977
|
+
# at least one of the `service` fields.
|
|
3978
|
+
# Corresponds to the JSON property `provider`
|
|
3979
|
+
# @return [String]
|
|
3980
|
+
attr_accessor :provider
|
|
3981
|
+
|
|
3982
|
+
def initialize(**args)
|
|
3983
|
+
update!(**args)
|
|
3984
|
+
end
|
|
3985
|
+
|
|
3986
|
+
# Update properties of this object
|
|
3987
|
+
def update!(**args)
|
|
3988
|
+
@account_id_alias = args[:account_id_alias] if args.key?(:account_id_alias)
|
|
3989
|
+
@provider = args[:provider] if args.key?(:provider)
|
|
3990
|
+
end
|
|
3991
|
+
end
|
|
3992
|
+
|
|
3817
3993
|
# The Merchant Center account's [shipping settings](https://support.google.com/
|
|
3818
3994
|
# merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve
|
|
3819
3995
|
# and update the shipping settings of your advanced account and all its
|
|
@@ -4389,6 +4565,39 @@ module Google
|
|
|
4389
4565
|
end
|
|
4390
4566
|
end
|
|
4391
4567
|
|
|
4568
|
+
# Settings related to the verification email that is sent after adding a user.
|
|
4569
|
+
class VerificationMailSettings
|
|
4570
|
+
include Google::Apis::Core::Hashable
|
|
4571
|
+
|
|
4572
|
+
# Optional. Mode of the verification mail. If not set, the default is `
|
|
4573
|
+
# SEND_VERIFICATION_MAIL`.
|
|
4574
|
+
# Corresponds to the JSON property `verificationMailMode`
|
|
4575
|
+
# @return [String]
|
|
4576
|
+
attr_accessor :verification_mail_mode
|
|
4577
|
+
|
|
4578
|
+
def initialize(**args)
|
|
4579
|
+
update!(**args)
|
|
4580
|
+
end
|
|
4581
|
+
|
|
4582
|
+
# Update properties of this object
|
|
4583
|
+
def update!(**args)
|
|
4584
|
+
@verification_mail_mode = args[:verification_mail_mode] if args.key?(:verification_mail_mode)
|
|
4585
|
+
end
|
|
4586
|
+
end
|
|
4587
|
+
|
|
4588
|
+
# Request message for the `VerifySelf` method.
|
|
4589
|
+
class VerifySelfRequest
|
|
4590
|
+
include Google::Apis::Core::Hashable
|
|
4591
|
+
|
|
4592
|
+
def initialize(**args)
|
|
4593
|
+
update!(**args)
|
|
4594
|
+
end
|
|
4595
|
+
|
|
4596
|
+
# Update properties of this object
|
|
4597
|
+
def update!(**args)
|
|
4598
|
+
end
|
|
4599
|
+
end
|
|
4600
|
+
|
|
4392
4601
|
# A fulfillment warehouse, which stores and handles inventory.
|
|
4393
4602
|
class Warehouse
|
|
4394
4603
|
include Google::Apis::Core::Hashable
|
|
@@ -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.29.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251120"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -172,6 +172,12 @@ module Google
|
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
class ComparisonShopping
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
175
181
|
class CreateAndConfigureAccountRequest
|
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
183
|
|
|
@@ -334,6 +340,12 @@ module Google
|
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
341
|
end
|
|
336
342
|
|
|
343
|
+
class LatLng
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
337
349
|
class LfpLink
|
|
338
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
351
|
|
|
@@ -562,6 +574,12 @@ module Google
|
|
|
562
574
|
include Google::Apis::Core::JsonObjectSupport
|
|
563
575
|
end
|
|
564
576
|
|
|
577
|
+
class RadiusArea
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
|
+
|
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
581
|
+
end
|
|
582
|
+
|
|
565
583
|
class RateGroup
|
|
566
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
567
585
|
|
|
@@ -640,6 +658,12 @@ module Google
|
|
|
640
658
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
659
|
end
|
|
642
660
|
|
|
661
|
+
class SetAliasForRelationship
|
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
|
+
|
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
665
|
+
end
|
|
666
|
+
|
|
643
667
|
class ShippingSettings
|
|
644
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
669
|
|
|
@@ -736,6 +760,18 @@ module Google
|
|
|
736
760
|
include Google::Apis::Core::JsonObjectSupport
|
|
737
761
|
end
|
|
738
762
|
|
|
763
|
+
class VerificationMailSettings
|
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
|
+
|
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
class VerifySelfRequest
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
739
775
|
class Warehouse
|
|
740
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
777
|
|
|
@@ -844,6 +880,8 @@ module Google
|
|
|
844
880
|
|
|
845
881
|
property :campaigns_management, as: 'campaignsManagement', class: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement::Representation
|
|
846
882
|
|
|
883
|
+
property :comparison_shopping, as: 'comparisonShopping', class: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping, decorator: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping::Representation
|
|
884
|
+
|
|
847
885
|
property :external_account_id, as: 'externalAccountId'
|
|
848
886
|
property :handshake, as: 'handshake', class: Google::Apis::MerchantapiAccountsV1beta::Handshake, decorator: Google::Apis::MerchantapiAccountsV1beta::Handshake::Representation
|
|
849
887
|
|
|
@@ -863,6 +901,15 @@ module Google
|
|
|
863
901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
864
902
|
property :account_aggregation, as: 'accountAggregation', class: Google::Apis::MerchantapiAccountsV1beta::AccountAggregation, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountAggregation::Representation
|
|
865
903
|
|
|
904
|
+
property :account_management, as: 'accountManagement', class: Google::Apis::MerchantapiAccountsV1beta::AccountManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountManagement::Representation
|
|
905
|
+
|
|
906
|
+
property :campaigns_management, as: 'campaignsManagement', class: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement::Representation
|
|
907
|
+
|
|
908
|
+
property :comparison_shopping, as: 'comparisonShopping', class: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping, decorator: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping::Representation
|
|
909
|
+
|
|
910
|
+
property :external_account_id, as: 'externalAccountId'
|
|
911
|
+
property :products_management, as: 'productsManagement', class: Google::Apis::MerchantapiAccountsV1beta::ProductsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::ProductsManagement::Representation
|
|
912
|
+
|
|
866
913
|
property :provider, as: 'provider'
|
|
867
914
|
end
|
|
868
915
|
end
|
|
@@ -873,6 +920,8 @@ module Google
|
|
|
873
920
|
property :user, as: 'user', class: Google::Apis::MerchantapiAccountsV1beta::User, decorator: Google::Apis::MerchantapiAccountsV1beta::User::Representation
|
|
874
921
|
|
|
875
922
|
property :user_id, as: 'userId'
|
|
923
|
+
property :verification_mail_settings, as: 'verificationMailSettings', class: Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings, decorator: Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings::Representation
|
|
924
|
+
|
|
876
925
|
end
|
|
877
926
|
end
|
|
878
927
|
|
|
@@ -1025,6 +1074,12 @@ module Google
|
|
|
1025
1074
|
end
|
|
1026
1075
|
end
|
|
1027
1076
|
|
|
1077
|
+
class ComparisonShopping
|
|
1078
|
+
# @private
|
|
1079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1080
|
+
end
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1028
1083
|
class CreateAndConfigureAccountRequest
|
|
1029
1084
|
# @private
|
|
1030
1085
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1032,6 +1087,8 @@ module Google
|
|
|
1032
1087
|
|
|
1033
1088
|
collection :service, as: 'service', class: Google::Apis::MerchantapiAccountsV1beta::AddAccountService, decorator: Google::Apis::MerchantapiAccountsV1beta::AddAccountService::Representation
|
|
1034
1089
|
|
|
1090
|
+
collection :set_alias, as: 'setAlias', class: Google::Apis::MerchantapiAccountsV1beta::SetAliasForRelationship, decorator: Google::Apis::MerchantapiAccountsV1beta::SetAliasForRelationship::Representation
|
|
1091
|
+
|
|
1035
1092
|
collection :user, as: 'user', class: Google::Apis::MerchantapiAccountsV1beta::AddUser, decorator: Google::Apis::MerchantapiAccountsV1beta::AddUser::Representation
|
|
1036
1093
|
|
|
1037
1094
|
collection :users, as: 'users', class: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest, decorator: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest::Representation
|
|
@@ -1273,6 +1330,14 @@ module Google
|
|
|
1273
1330
|
end
|
|
1274
1331
|
end
|
|
1275
1332
|
|
|
1333
|
+
class LatLng
|
|
1334
|
+
# @private
|
|
1335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1336
|
+
property :latitude, as: 'latitude'
|
|
1337
|
+
property :longitude, as: 'longitude'
|
|
1338
|
+
end
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1276
1341
|
class LfpLink
|
|
1277
1342
|
# @private
|
|
1278
1343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1640,6 +1705,17 @@ module Google
|
|
|
1640
1705
|
end
|
|
1641
1706
|
end
|
|
1642
1707
|
|
|
1708
|
+
class RadiusArea
|
|
1709
|
+
# @private
|
|
1710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1711
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::MerchantapiAccountsV1beta::LatLng, decorator: Google::Apis::MerchantapiAccountsV1beta::LatLng::Representation
|
|
1712
|
+
|
|
1713
|
+
property :radius, as: 'radius'
|
|
1714
|
+
property :radius_units, as: 'radiusUnits'
|
|
1715
|
+
property :region_code, as: 'regionCode'
|
|
1716
|
+
end
|
|
1717
|
+
end
|
|
1718
|
+
|
|
1643
1719
|
class RateGroup
|
|
1644
1720
|
# @private
|
|
1645
1721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1665,6 +1741,8 @@ module Google
|
|
|
1665
1741
|
property :name, as: 'name'
|
|
1666
1742
|
property :postal_code_area, as: 'postalCodeArea', class: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea::Representation
|
|
1667
1743
|
|
|
1744
|
+
property :radius_area, as: 'radiusArea', class: Google::Apis::MerchantapiAccountsV1beta::RadiusArea, decorator: Google::Apis::MerchantapiAccountsV1beta::RadiusArea::Representation
|
|
1745
|
+
|
|
1668
1746
|
property :regional_inventory_eligible, as: 'regionalInventoryEligible'
|
|
1669
1747
|
property :shipping_eligible, as: 'shippingEligible'
|
|
1670
1748
|
end
|
|
@@ -1777,6 +1855,14 @@ module Google
|
|
|
1777
1855
|
end
|
|
1778
1856
|
end
|
|
1779
1857
|
|
|
1858
|
+
class SetAliasForRelationship
|
|
1859
|
+
# @private
|
|
1860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1861
|
+
property :account_id_alias, as: 'accountIdAlias'
|
|
1862
|
+
property :provider, as: 'provider'
|
|
1863
|
+
end
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1780
1866
|
class ShippingSettings
|
|
1781
1867
|
# @private
|
|
1782
1868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1930,6 +2016,19 @@ module Google
|
|
|
1930
2016
|
end
|
|
1931
2017
|
end
|
|
1932
2018
|
|
|
2019
|
+
class VerificationMailSettings
|
|
2020
|
+
# @private
|
|
2021
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2022
|
+
property :verification_mail_mode, as: 'verificationMailMode'
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
class VerifySelfRequest
|
|
2027
|
+
# @private
|
|
2028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2029
|
+
end
|
|
2030
|
+
end
|
|
2031
|
+
|
|
1933
2032
|
class Warehouse
|
|
1934
2033
|
# @private
|
|
1935
2034
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2556,6 +2556,40 @@ module Google
|
|
|
2556
2556
|
execute_or_queue_command(command, &block)
|
|
2557
2557
|
end
|
|
2558
2558
|
|
|
2559
|
+
# Updates the user that is represented by the caller from pending to verified.
|
|
2560
|
+
# @param [String] account
|
|
2561
|
+
# Required. The name of the account under which the caller is a user. Format: `
|
|
2562
|
+
# accounts/`account``
|
|
2563
|
+
# @param [Google::Apis::MerchantapiAccountsV1beta::VerifySelfRequest] verify_self_request_object
|
|
2564
|
+
# @param [String] fields
|
|
2565
|
+
# Selector specifying which fields to include in a partial response.
|
|
2566
|
+
# @param [String] quota_user
|
|
2567
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2568
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2569
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2570
|
+
# Request-specific options
|
|
2571
|
+
#
|
|
2572
|
+
# @yield [result, err] Result & error if block supplied
|
|
2573
|
+
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::User] parsed result object
|
|
2574
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2575
|
+
#
|
|
2576
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::User]
|
|
2577
|
+
#
|
|
2578
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2579
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2580
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2581
|
+
def verify_me_self(account, verify_self_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2582
|
+
command = make_simple_command(:patch, 'accounts/v1beta/{+account}/users/me:verifySelf', options)
|
|
2583
|
+
command.request_representation = Google::Apis::MerchantapiAccountsV1beta::VerifySelfRequest::Representation
|
|
2584
|
+
command.request_object = verify_self_request_object
|
|
2585
|
+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::User::Representation
|
|
2586
|
+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::User
|
|
2587
|
+
command.params['account'] = account unless account.nil?
|
|
2588
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2590
|
+
execute_or_queue_command(command, &block)
|
|
2591
|
+
end
|
|
2592
|
+
|
|
2559
2593
|
# Accepts a `TermsOfService`. Executing this method requires admin access.
|
|
2560
2594
|
# @param [String] name
|
|
2561
2595
|
# Required. The resource name of the terms of service version. Format: `
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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.29.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:
|