Skip to content

Commit 172aef4

Browse files
feat: Automated regeneration of merchantapi accounts_v1beta client (googleapis#23790)
Auto-created at 2025-07-27 10:19:24 +0000 using the toys pull request generator.
1 parent 92ed9a0 commit 172aef4

File tree

4 files changed

+41
-32
lines changed

4 files changed

+41
-32
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278597,6 +278597,8 @@
278597278597
"/merchantapi:accounts_v1beta/Region/shippingEligible": shipping_eligible
278598278598
"/merchantapi:accounts_v1beta/RegisterGCPRequest": register_gcp_request
278599278599
"/merchantapi:accounts_v1beta/RegisterGCPRequest/developerEmail": developer_email
278600+
"/merchantapi:accounts_v1beta/RegisterGcpRequest": register_gcp_request
278601+
"/merchantapi:accounts_v1beta/RegisterGcpRequest/developerEmail": developer_email
278600278602
"/merchantapi:accounts_v1beta/RejectAccountServiceRequest": reject_account_service_request
278601278603
"/merchantapi:accounts_v1beta/RequestInventoryVerificationRequest": request_inventory_verification_request
278602278604
"/merchantapi:accounts_v1beta/RequestInventoryVerificationResponse": request_inventory_verification_response
@@ -278709,6 +278711,7 @@
278709278711
"/merchantapi:accounts_v1beta/TransitTimeValue/minTransitDays": min_transit_days
278710278712
"/merchantapi:accounts_v1beta/UnclaimHomepageRequest": unclaim_homepage_request
278711278713
"/merchantapi:accounts_v1beta/UnregisterGCPRequest": unregister_gcp_request
278714+
"/merchantapi:accounts_v1beta/UnregisterGcpRequest": unregister_gcp_request
278712278715
"/merchantapi:accounts_v1beta/UriSettings": uri_settings
278713278716
"/merchantapi:accounts_v1beta/UriSettings/cartUriTemplate": cart_uri_template
278714278717
"/merchantapi:accounts_v1beta/UriSettings/checkoutUriTemplate": checkout_uri_template
@@ -278774,6 +278777,8 @@
278774278777
"/merchantapi:accounts_v1beta/merchantapi.accounts.delete": delete_account
278775278778
"/merchantapi:accounts_v1beta/merchantapi.accounts.delete/force": force
278776278779
"/merchantapi:accounts_v1beta/merchantapi.accounts.delete/name": name
278780+
"/merchantapi:accounts_v1beta/merchantapi.accounts.developerRegistration.getDeveloperRegistration": get_account_developer_registration_developer_registration
278781+
"/merchantapi:accounts_v1beta/merchantapi.accounts.developerRegistration.getDeveloperRegistration/name": name
278777278782
"/merchantapi:accounts_v1beta/merchantapi.accounts.developerRegistration.registerGcp": register_developer_registration_gcp
278778278783
"/merchantapi:accounts_v1beta/merchantapi.accounts.developerRegistration.registerGcp/name": name
278779278784
"/merchantapi:accounts_v1beta/merchantapi.accounts.developerRegistration.unregisterGcp": unregister_developer_registration_gcp

generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-merchantapi_accounts_v1beta
22

3+
### v0.19.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250721
6+
37
### v0.18.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250710

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MerchantapiAccountsV1beta
1818
# Version of the google-apis-merchantapi_accounts_v1beta gem
19-
GEM_VERSION = "0.18.0"
19+
GEM_VERSION = "0.19.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250710"
25+
REVISION = "20250721"
2626
end
2727
end
2828
end

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/service.rb

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -153,36 +153,6 @@ def get_account(name, fields: nil, quota_user: nil, options: nil, &block)
153153
execute_or_queue_command(command, &block)
154154
end
155155

156-
# Retrieves a developer registration for a merchant.
157-
# @param [String] name
158-
# Required. The `name` (ID) of the developer registration.
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::DeveloperRegistration] parsed result object
169-
# @yieldparam err [StandardError] error object if request failed
170-
#
171-
# @return [Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration]
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_developer_registration(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::DeveloperRegistration::Representation
179-
command.response_class = Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
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-
186156
# Note: For the `accounts.list` method, quota and limits usage are charged for
187157
# each user, and not for the Merchant Center ID or the advanced account ID. To
188158
# list several sub-accounts, you should use the `accounts.listSubaccounts`
@@ -595,6 +565,36 @@ def update_account_business_info_business_info(name, business_info_object = nil,
595565
execute_or_queue_command(command, &block)
596566
end
597567

568+
# Retrieves a developer registration for a merchant.
569+
# @param [String] name
570+
# Required. The `name` (ID) of the developer registration.
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::DeveloperRegistration] parsed result object
581+
# @yieldparam err [StandardError] error object if request failed
582+
#
583+
# @return [Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration]
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_developer_registration(name, fields: nil, quota_user: nil, options: nil, &block)
589+
command = make_simple_command(:get, 'accounts/v1beta/{+name}', options)
590+
command.response_representation = Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration::Representation
591+
command.response_class = Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
592+
command.params['name'] = name unless name.nil?
593+
command.query['fields'] = fields unless fields.nil?
594+
command.query['quotaUser'] = quota_user unless quota_user.nil?
595+
execute_or_queue_command(command, &block)
596+
end
597+
598598
# Registers the GCP used for the API call to the shopping account passed in the
599599
# request. Will create a user with an "API developer" and add the "
600600
# developer_email" as a contact with "API notifications" email preference on.

0 commit comments

Comments
 (0)