google-apis-merchantapi_accounts_v1beta 0.26.0 → 0.28.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 +146 -12
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +66 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +61 -27
- 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: 8675a6b966175e6701a7e24b09bc8b7f4ccaf491c9ec8c079b5bde397ea9ad3e
|
|
4
|
+
data.tar.gz: 60a55528b97fb0fa5d3cf1493c3297f1b3c0f6d6b26ce0672b7bc63e0ad0fbed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d963a5182f1711f3e29229e54170e61b87548e9fcaadb43ca2f4164433118ee944ee7431951b2e485ecf9dc3463cd9e26897915d165f200aac4013410af92a7d
|
|
7
|
+
data.tar.gz: 25e1c7847c3da2220d1112c50656a32a4cf28bd3ba08adc5216d03d57161939344973eb138326bee969d097a38e5dde87ecdf05bfffca280d88e761983a0a221
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-merchantapi_accounts_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.28.0 (2025-11-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251115
|
|
6
|
+
|
|
7
|
+
### v0.27.0 (2025-10-26)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251023
|
|
10
|
+
|
|
3
11
|
### v0.26.0 (2025-10-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251002
|
|
@@ -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
|
|
@@ -459,10 +504,10 @@ module Google
|
|
|
459
504
|
class AddUser
|
|
460
505
|
include Google::Apis::Core::Hashable
|
|
461
506
|
|
|
462
|
-
# The `User`
|
|
463
|
-
# It is used to manage user permissions and access rights within the
|
|
464
|
-
# For more information, see [Frequently asked questions about people
|
|
465
|
-
# levels](//support.google.com/merchants/answer/12160472).
|
|
507
|
+
# The `User` resource represents a user associated with a Merchant Center
|
|
508
|
+
# account. It is used to manage user permissions and access rights within the
|
|
509
|
+
# account. For more information, see [Frequently asked questions about people
|
|
510
|
+
# and access levels](//support.google.com/merchants/answer/12160472).
|
|
466
511
|
# Corresponds to the JSON property `user`
|
|
467
512
|
# @return [Google::Apis::MerchantapiAccountsV1beta::User]
|
|
468
513
|
attr_accessor :user
|
|
@@ -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
|
|
@@ -1145,10 +1217,10 @@ module Google
|
|
|
1145
1217
|
# @return [String]
|
|
1146
1218
|
attr_accessor :parent
|
|
1147
1219
|
|
|
1148
|
-
# The `User`
|
|
1149
|
-
# It is used to manage user permissions and access rights within the
|
|
1150
|
-
# For more information, see [Frequently asked questions about people
|
|
1151
|
-
# levels](//support.google.com/merchants/answer/12160472).
|
|
1220
|
+
# The `User` resource represents a user associated with a Merchant Center
|
|
1221
|
+
# account. It is used to manage user permissions and access rights within the
|
|
1222
|
+
# account. For more information, see [Frequently asked questions about people
|
|
1223
|
+
# and access levels](//support.google.com/merchants/answer/12160472).
|
|
1152
1224
|
# Corresponds to the JSON property `user`
|
|
1153
1225
|
# @return [Google::Apis::MerchantapiAccountsV1beta::User]
|
|
1154
1226
|
attr_accessor :user
|
|
@@ -3814,6 +3886,35 @@ module Google
|
|
|
3814
3886
|
end
|
|
3815
3887
|
end
|
|
3816
3888
|
|
|
3889
|
+
# Set an alias for a relationship between a provider and the account to be
|
|
3890
|
+
# created.
|
|
3891
|
+
class SetAliasForRelationship
|
|
3892
|
+
include Google::Apis::Core::Hashable
|
|
3893
|
+
|
|
3894
|
+
# Required. The unique ID of this account in the provider's system. The value
|
|
3895
|
+
# must be unique across all accounts on the platform for this provider.
|
|
3896
|
+
# Corresponds to the JSON property `accountIdAlias`
|
|
3897
|
+
# @return [String]
|
|
3898
|
+
attr_accessor :account_id_alias
|
|
3899
|
+
|
|
3900
|
+
# Required. The provider of the service. This is a reference to an account such
|
|
3901
|
+
# as `providers/123` or `accounts/123`. The same provider must be specified in
|
|
3902
|
+
# at least one of the `service` fields.
|
|
3903
|
+
# Corresponds to the JSON property `provider`
|
|
3904
|
+
# @return [String]
|
|
3905
|
+
attr_accessor :provider
|
|
3906
|
+
|
|
3907
|
+
def initialize(**args)
|
|
3908
|
+
update!(**args)
|
|
3909
|
+
end
|
|
3910
|
+
|
|
3911
|
+
# Update properties of this object
|
|
3912
|
+
def update!(**args)
|
|
3913
|
+
@account_id_alias = args[:account_id_alias] if args.key?(:account_id_alias)
|
|
3914
|
+
@provider = args[:provider] if args.key?(:provider)
|
|
3915
|
+
end
|
|
3916
|
+
end
|
|
3917
|
+
|
|
3817
3918
|
# The Merchant Center account's [shipping settings](https://support.google.com/
|
|
3818
3919
|
# merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve
|
|
3819
3920
|
# and update the shipping settings of your advanced account and all its
|
|
@@ -4302,10 +4403,10 @@ module Google
|
|
|
4302
4403
|
end
|
|
4303
4404
|
end
|
|
4304
4405
|
|
|
4305
|
-
# The `User`
|
|
4306
|
-
# It is used to manage user permissions and access rights within the
|
|
4307
|
-
# For more information, see [Frequently asked questions about people
|
|
4308
|
-
# levels](//support.google.com/merchants/answer/12160472).
|
|
4406
|
+
# The `User` resource represents a user associated with a Merchant Center
|
|
4407
|
+
# account. It is used to manage user permissions and access rights within the
|
|
4408
|
+
# account. For more information, see [Frequently asked questions about people
|
|
4409
|
+
# and access levels](//support.google.com/merchants/answer/12160472).
|
|
4309
4410
|
class User
|
|
4310
4411
|
include Google::Apis::Core::Hashable
|
|
4311
4412
|
|
|
@@ -4389,6 +4490,39 @@ module Google
|
|
|
4389
4490
|
end
|
|
4390
4491
|
end
|
|
4391
4492
|
|
|
4493
|
+
# Settings related to the verification email that is sent after adding a user.
|
|
4494
|
+
class VerificationMailSettings
|
|
4495
|
+
include Google::Apis::Core::Hashable
|
|
4496
|
+
|
|
4497
|
+
# Optional. Mode of the verification mail. If not set, the default is `
|
|
4498
|
+
# SEND_VERIFICATION_MAIL`.
|
|
4499
|
+
# Corresponds to the JSON property `verificationMailMode`
|
|
4500
|
+
# @return [String]
|
|
4501
|
+
attr_accessor :verification_mail_mode
|
|
4502
|
+
|
|
4503
|
+
def initialize(**args)
|
|
4504
|
+
update!(**args)
|
|
4505
|
+
end
|
|
4506
|
+
|
|
4507
|
+
# Update properties of this object
|
|
4508
|
+
def update!(**args)
|
|
4509
|
+
@verification_mail_mode = args[:verification_mail_mode] if args.key?(:verification_mail_mode)
|
|
4510
|
+
end
|
|
4511
|
+
end
|
|
4512
|
+
|
|
4513
|
+
# Request message for the `VerifySelf` method.
|
|
4514
|
+
class VerifySelfRequest
|
|
4515
|
+
include Google::Apis::Core::Hashable
|
|
4516
|
+
|
|
4517
|
+
def initialize(**args)
|
|
4518
|
+
update!(**args)
|
|
4519
|
+
end
|
|
4520
|
+
|
|
4521
|
+
# Update properties of this object
|
|
4522
|
+
def update!(**args)
|
|
4523
|
+
end
|
|
4524
|
+
end
|
|
4525
|
+
|
|
4392
4526
|
# A fulfillment warehouse, which stores and handles inventory.
|
|
4393
4527
|
class Warehouse
|
|
4394
4528
|
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.28.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 = "20251115"
|
|
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
|
|
|
@@ -640,6 +646,12 @@ module Google
|
|
|
640
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
647
|
end
|
|
642
648
|
|
|
649
|
+
class SetAliasForRelationship
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
|
+
|
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
653
|
+
end
|
|
654
|
+
|
|
643
655
|
class ShippingSettings
|
|
644
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
657
|
|
|
@@ -736,6 +748,18 @@ module Google
|
|
|
736
748
|
include Google::Apis::Core::JsonObjectSupport
|
|
737
749
|
end
|
|
738
750
|
|
|
751
|
+
class VerificationMailSettings
|
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
|
+
|
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
class VerifySelfRequest
|
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
759
|
+
|
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
761
|
+
end
|
|
762
|
+
|
|
739
763
|
class Warehouse
|
|
740
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
765
|
|
|
@@ -844,6 +868,8 @@ module Google
|
|
|
844
868
|
|
|
845
869
|
property :campaigns_management, as: 'campaignsManagement', class: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement::Representation
|
|
846
870
|
|
|
871
|
+
property :comparison_shopping, as: 'comparisonShopping', class: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping, decorator: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping::Representation
|
|
872
|
+
|
|
847
873
|
property :external_account_id, as: 'externalAccountId'
|
|
848
874
|
property :handshake, as: 'handshake', class: Google::Apis::MerchantapiAccountsV1beta::Handshake, decorator: Google::Apis::MerchantapiAccountsV1beta::Handshake::Representation
|
|
849
875
|
|
|
@@ -863,6 +889,15 @@ module Google
|
|
|
863
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
864
890
|
property :account_aggregation, as: 'accountAggregation', class: Google::Apis::MerchantapiAccountsV1beta::AccountAggregation, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountAggregation::Representation
|
|
865
891
|
|
|
892
|
+
property :account_management, as: 'accountManagement', class: Google::Apis::MerchantapiAccountsV1beta::AccountManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountManagement::Representation
|
|
893
|
+
|
|
894
|
+
property :campaigns_management, as: 'campaignsManagement', class: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::CampaignsManagement::Representation
|
|
895
|
+
|
|
896
|
+
property :comparison_shopping, as: 'comparisonShopping', class: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping, decorator: Google::Apis::MerchantapiAccountsV1beta::ComparisonShopping::Representation
|
|
897
|
+
|
|
898
|
+
property :external_account_id, as: 'externalAccountId'
|
|
899
|
+
property :products_management, as: 'productsManagement', class: Google::Apis::MerchantapiAccountsV1beta::ProductsManagement, decorator: Google::Apis::MerchantapiAccountsV1beta::ProductsManagement::Representation
|
|
900
|
+
|
|
866
901
|
property :provider, as: 'provider'
|
|
867
902
|
end
|
|
868
903
|
end
|
|
@@ -873,6 +908,8 @@ module Google
|
|
|
873
908
|
property :user, as: 'user', class: Google::Apis::MerchantapiAccountsV1beta::User, decorator: Google::Apis::MerchantapiAccountsV1beta::User::Representation
|
|
874
909
|
|
|
875
910
|
property :user_id, as: 'userId'
|
|
911
|
+
property :verification_mail_settings, as: 'verificationMailSettings', class: Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings, decorator: Google::Apis::MerchantapiAccountsV1beta::VerificationMailSettings::Representation
|
|
912
|
+
|
|
876
913
|
end
|
|
877
914
|
end
|
|
878
915
|
|
|
@@ -1025,6 +1062,12 @@ module Google
|
|
|
1025
1062
|
end
|
|
1026
1063
|
end
|
|
1027
1064
|
|
|
1065
|
+
class ComparisonShopping
|
|
1066
|
+
# @private
|
|
1067
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1068
|
+
end
|
|
1069
|
+
end
|
|
1070
|
+
|
|
1028
1071
|
class CreateAndConfigureAccountRequest
|
|
1029
1072
|
# @private
|
|
1030
1073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1032,6 +1075,8 @@ module Google
|
|
|
1032
1075
|
|
|
1033
1076
|
collection :service, as: 'service', class: Google::Apis::MerchantapiAccountsV1beta::AddAccountService, decorator: Google::Apis::MerchantapiAccountsV1beta::AddAccountService::Representation
|
|
1034
1077
|
|
|
1078
|
+
collection :set_alias, as: 'setAlias', class: Google::Apis::MerchantapiAccountsV1beta::SetAliasForRelationship, decorator: Google::Apis::MerchantapiAccountsV1beta::SetAliasForRelationship::Representation
|
|
1079
|
+
|
|
1035
1080
|
collection :user, as: 'user', class: Google::Apis::MerchantapiAccountsV1beta::AddUser, decorator: Google::Apis::MerchantapiAccountsV1beta::AddUser::Representation
|
|
1036
1081
|
|
|
1037
1082
|
collection :users, as: 'users', class: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest, decorator: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest::Representation
|
|
@@ -1777,6 +1822,14 @@ module Google
|
|
|
1777
1822
|
end
|
|
1778
1823
|
end
|
|
1779
1824
|
|
|
1825
|
+
class SetAliasForRelationship
|
|
1826
|
+
# @private
|
|
1827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1828
|
+
property :account_id_alias, as: 'accountIdAlias'
|
|
1829
|
+
property :provider, as: 'provider'
|
|
1830
|
+
end
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1780
1833
|
class ShippingSettings
|
|
1781
1834
|
# @private
|
|
1782
1835
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1930,6 +1983,19 @@ module Google
|
|
|
1930
1983
|
end
|
|
1931
1984
|
end
|
|
1932
1985
|
|
|
1986
|
+
class VerificationMailSettings
|
|
1987
|
+
# @private
|
|
1988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1989
|
+
property :verification_mail_mode, as: 'verificationMailMode'
|
|
1990
|
+
end
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
class VerifySelfRequest
|
|
1994
|
+
# @private
|
|
1995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1996
|
+
end
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1933
1999
|
class Warehouse
|
|
1934
2000
|
# @private
|
|
1935
2001
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -155,33 +155,6 @@ module Google
|
|
|
155
155
|
execute_or_queue_command(command, &block)
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
# Retrieves the merchant account that the calling GCP is registered with.
|
|
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::GetAccountForGcpRegistrationResponse] parsed result object
|
|
169
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
170
|
-
#
|
|
171
|
-
# @return [Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse]
|
|
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_account_for_gcp_registration(fields: nil, quota_user: nil, options: nil, &block)
|
|
177
|
-
command = make_simple_command(:get, 'accounts/v1beta/accounts:getAccountForGcpRegistration', options)
|
|
178
|
-
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse::Representation
|
|
179
|
-
command.response_class = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse
|
|
180
|
-
command.query['fields'] = fields unless fields.nil?
|
|
181
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
182
|
-
execute_or_queue_command(command, &block)
|
|
183
|
-
end
|
|
184
|
-
|
|
185
158
|
# Note: For the `accounts.list` method, quota and limits usage are charged for
|
|
186
159
|
# each user, and not for the Merchant Center ID or the advanced account ID. To
|
|
187
160
|
# list several sub-accounts, you should use the `accounts.listSubaccounts`
|
|
@@ -594,6 +567,33 @@ module Google
|
|
|
594
567
|
execute_or_queue_command(command, &block)
|
|
595
568
|
end
|
|
596
569
|
|
|
570
|
+
# Retrieves the merchant account that the calling GCP is registered with.
|
|
571
|
+
# @param [String] fields
|
|
572
|
+
# Selector specifying which fields to include in a partial response.
|
|
573
|
+
# @param [String] quota_user
|
|
574
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
575
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
576
|
+
# @param [Google::Apis::RequestOptions] options
|
|
577
|
+
# Request-specific options
|
|
578
|
+
#
|
|
579
|
+
# @yield [result, err] Result & error if block supplied
|
|
580
|
+
# @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse] parsed result object
|
|
581
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
582
|
+
#
|
|
583
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse]
|
|
584
|
+
#
|
|
585
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
586
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
587
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
588
|
+
def get_account_developer_registration_account_for_gcp_registration(fields: nil, quota_user: nil, options: nil, &block)
|
|
589
|
+
command = make_simple_command(:get, 'accounts/v1beta/accounts:getAccountForGcpRegistration', options)
|
|
590
|
+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse::Representation
|
|
591
|
+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse
|
|
592
|
+
command.query['fields'] = fields unless fields.nil?
|
|
593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
594
|
+
execute_or_queue_command(command, &block)
|
|
595
|
+
end
|
|
596
|
+
|
|
597
597
|
# Retrieves a developer registration for a merchant.
|
|
598
598
|
# @param [String] name
|
|
599
599
|
# Required. The `name` (ID) of the developer registration.
|
|
@@ -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.28.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.28.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:
|