google-apis-merchantapi_accounts_v1beta 0.24.0 → 0.25.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: 0f1bc674393bedb7de25711dd3d9882781846161c21db3ee3194ecabd15dbdcc
4
- data.tar.gz: ce99954f4e1f9214bbc02523f22f47b8fa4e5e88cb90b85c9924cc9f89052f2e
3
+ metadata.gz: 30400827fbf0b6ebfd194ef3df0247df6fa8963462f685376a697c1f42b0056e
4
+ data.tar.gz: 2f60d27fbab7990e4ff85096bfea2d089de80ffa2950b4ff742378708320283a
5
5
  SHA512:
6
- metadata.gz: 821cdef85971cd98d49561a5ce08f9e8dc07861fc4e41ad3c21a9ea3b903ac59c5c762c5b0f8730e2cc5b6d6ff29d1aeae0e77605c21f9aba873ecadf137d0b1
7
- data.tar.gz: 16924a6745a206c16227b7ace014b69869e0a03c77ca38aadc53ff0e1c2fb69d87eebde2ba8cada3c99b0d2fa3eb791aa9ef5da867cf4759f5ac400865c5cafb
6
+ metadata.gz: 8a0b409b8f578ceb6afcfe470335d9dd2019a6bfda44f88984077b4c33ecde48ad5c09e14effcde4a5d935d1601b976d0af00c53b1217813caae50af3aea87f6
7
+ data.tar.gz: d8363600b367184b33a48c1f90603c39d7ce9826cc9eee3d4a1383bf69cc1d227202be85edb110238a5068d639262ecc34e46eb82bec3058f99489ead22c4da7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-merchantapi_accounts_v1beta
2
2
 
3
+ ### v0.25.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250909
6
+
3
7
  ### v0.24.0 (2025-09-07)
4
8
 
5
9
  * 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.24.0"
19
+ GEM_VERSION = "0.25.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 = "20250830"
25
+ REVISION = "20250909"
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
@@ -153,6 +153,33 @@ module Google
153
153
  execute_or_queue_command(command, &block)
154
154
  end
155
155
 
156
+ # Retrieves the merchant account that the calling GCP is registered with.
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
159
+ # @param [String] quota_user
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
+ # @param [Google::Apis::RequestOptions] options
163
+ # Request-specific options
164
+ #
165
+ # @yield [result, err] Result & error if block supplied
166
+ # @yieldparam result [Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse] parsed result object
167
+ # @yieldparam err [StandardError] error object if request failed
168
+ #
169
+ # @return [Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse]
170
+ #
171
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
174
+ def get_account_account_for_gcp_registration(fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:get, 'accounts/v1beta/accounts:getAccountForGcpRegistration', options)
176
+ command.response_representation = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse::Representation
177
+ command.response_class = Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse
178
+ command.query['fields'] = fields unless fields.nil?
179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
180
+ execute_or_queue_command(command, &block)
181
+ end
182
+
156
183
  # Note: For the `accounts.list` method, quota and limits usage are charged for
157
184
  # each user, and not for the Merchant Center ID or the advanced account ID. To
158
185
  # 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.24.0
4
+ version: 0.25.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.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.25.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: