@@ -153,36 +153,6 @@ def get_account(name, fields: nil, quota_user: nil, options: nil, &block)
153
153
execute_or_queue_command ( command , &block )
154
154
end
155
155
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
-
186
156
# Note: For the `accounts.list` method, quota and limits usage are charged for
187
157
# each user, and not for the Merchant Center ID or the advanced account ID. To
188
158
# 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,
595
565
execute_or_queue_command ( command , &block )
596
566
end
597
567
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
+
598
598
# Registers the GCP used for the API call to the shopping account passed in the
599
599
# request. Will create a user with an "API developer" and add the "
600
600
# developer_email" as a contact with "API notifications" email preference on.
0 commit comments