@@ -155,33 +155,6 @@ def get_account(name, fields: nil, quota_user: nil, options: nil, &block)
155155 execute_or_queue_command ( command , &block )
156156 end
157157
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-
185158 # Note: For the `accounts.list` method, quota and limits usage are charged for
186159 # each user, and not for the Merchant Center ID or the advanced account ID. To
187160 # list several sub-accounts, you should use the `accounts.listSubaccounts`
@@ -594,6 +567,33 @@ def update_account_business_info_business_info(name, business_info_object = nil,
594567 execute_or_queue_command ( command , &block )
595568 end
596569
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+
597597 # Retrieves a developer registration for a merchant.
598598 # @param [String] name
599599 # Required. The `name` (ID) of the developer registration.
0 commit comments