google-apis-merchantapi_accounts_v1beta 0.24.0 → 0.26.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 +19 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +13 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +33 -4
- 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: '00921907f7efdf9a3c561e68941386fda0aa280eb06c100f13ded988a01d44c3'
|
|
4
|
+
data.tar.gz: b7b951a148ea23b4b1b1af73df840664fb4a010f1333eadb2d8a61420dbfae8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8f4bcb63f79ac083705a0deb461fcec64bb50f229cb500ba280c949e575856770a5099a7e4f195d5bb6e5291475797bf25166582ab9828628419e8b6f2b2b9a
|
|
7
|
+
data.tar.gz: '082bae668e1382135a21de12d57fd617186bcc74e6bdf264242ce2ea186b0c5fbd04e64a12b00cdbe8d5bb227ca5b8f140cb32488a6d62028bb29cd61db69e96'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-merchantapi_accounts_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.26.0 (2025-10-12)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251002
|
|
6
|
+
|
|
7
|
+
### v0.25.0 (2025-09-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250909
|
|
10
|
+
|
|
3
11
|
### v0.24.0 (2025-09-07)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250830
|
|
@@ -1624,6 +1624,25 @@ module Google
|
|
|
1624
1624
|
end
|
|
1625
1625
|
end
|
|
1626
1626
|
|
|
1627
|
+
# Response message for the GetAccountForGcpRegistration method.
|
|
1628
|
+
class GetAccountForGcpRegistrationResponse
|
|
1629
|
+
include Google::Apis::Core::Hashable
|
|
1630
|
+
|
|
1631
|
+
# The name of the merchant account id that the GCP is registered with.
|
|
1632
|
+
# Corresponds to the JSON property `name`
|
|
1633
|
+
# @return [String]
|
|
1634
|
+
attr_accessor :name
|
|
1635
|
+
|
|
1636
|
+
def initialize(**args)
|
|
1637
|
+
update!(**args)
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1640
|
+
# Update properties of this object
|
|
1641
|
+
def update!(**args)
|
|
1642
|
+
@name = args[:name] if args.key?(:name)
|
|
1643
|
+
end
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1627
1646
|
# The current status of establishing of the service. (for example, pending
|
|
1628
1647
|
# approval or approved).
|
|
1629
1648
|
class Handshake
|
|
@@ -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.26.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 = "20251002"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -268,6 +268,12 @@ module Google
|
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
class GetAccountForGcpRegistrationResponse
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
271
277
|
class Handshake
|
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
279
|
|
|
@@ -1170,6 +1176,13 @@ module Google
|
|
|
1170
1176
|
end
|
|
1171
1177
|
end
|
|
1172
1178
|
|
|
1179
|
+
class GetAccountForGcpRegistrationResponse
|
|
1180
|
+
# @private
|
|
1181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1182
|
+
property :name, as: 'name'
|
|
1183
|
+
end
|
|
1184
|
+
end
|
|
1185
|
+
|
|
1173
1186
|
class Handshake
|
|
1174
1187
|
# @private
|
|
1175
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -84,10 +84,12 @@ module Google
|
|
|
84
84
|
|
|
85
85
|
# Deletes the specified account regardless of its type: standalone, advanced
|
|
86
86
|
# account or sub-account. Deleting an advanced account leads to the deletion of
|
|
87
|
-
# all of its sub-accounts.
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
87
|
+
# all of its sub-accounts. This also deletes the account's [developer
|
|
88
|
+
# registration entity](/merchant/api/reference/rest/accounts_v1beta/accounts.
|
|
89
|
+
# developerRegistration) and any associated GCP project to the account.
|
|
90
|
+
# Executing this method requires admin access. The deletion succeeds only if the
|
|
91
|
+
# account does not provide services to any other account and has no processed
|
|
92
|
+
# offers. You can use the `force` parameter to override this.
|
|
91
93
|
# @param [String] name
|
|
92
94
|
# Required. The name of the account to delete. Format: `accounts/`account``
|
|
93
95
|
# @param [Boolean] force
|
|
@@ -153,6 +155,33 @@ module Google
|
|
|
153
155
|
execute_or_queue_command(command, &block)
|
|
154
156
|
end
|
|
155
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
|
+
|
|
156
185
|
# Note: For the `accounts.list` method, quota and limits usage are charged for
|
|
157
186
|
# each user, and not for the Merchant Center ID or the advanced account ID. To
|
|
158
187
|
# list several sub-accounts, you should use the `accounts.listSubaccounts`
|
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.26.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.26.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:
|