Class AccountsResource.DeveloperRegistrationResource
The "developerRegistration" collection of methods.
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class AccountsResource.DeveloperRegistrationResource
Constructors
DeveloperRegistrationResource(IClientService)
Constructs a new resource.
Declaration
public DeveloperRegistrationResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
GetAccountForGcpRegistration()
Retrieves the merchant account that the calling GCP is registered with. For more information, see Verify your account's connection to Merchant API.
Declaration
public virtual AccountsResource.DeveloperRegistrationResource.GetAccountForGcpRegistrationRequest GetAccountForGcpRegistration()
Returns
| Type | Description |
|---|---|
| AccountsResource.DeveloperRegistrationResource.GetAccountForGcpRegistrationRequest |
GetDeveloperRegistration(string)
Retrieves a developer registration for a merchant.
Declaration
public virtual AccountsResource.DeveloperRegistrationResource.GetDeveloperRegistrationRequest GetDeveloperRegistration(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The |
Returns
| Type | Description |
|---|---|
| AccountsResource.DeveloperRegistrationResource.GetDeveloperRegistrationRequest |
RegisterGcp(RegisterGcpRequest, string)
Registers the GCP used for the API call to the Merchant Center account passed in the request. Will
create a user with an "API developer" and add the "developer_email" as a contact with "API
notifications" email preference on. Executing this method requires admin (ADMIN) access to the
Merchant Center account. For more information, see Register as a
developer.
Restrictions: * The caller account must be authenticated and must not impersonate another account at
registration time. Registering for subaccounts is not supported if the caller account is authenticated
with the parent or the managing advanced account. * The caller account must have a verified
website in Merchant Center. * Test
accounts are not eligible for
registration. For step-by-step instructions, see Register as a
developer.
Declaration
public virtual AccountsResource.DeveloperRegistrationResource.RegisterGcpRequest RegisterGcp(RegisterGcpRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| RegisterGcpRequest | body | The body of the request. |
| string | name | Required. The name of the developer registration to be created for the merchant account that the GCP
will be registered with. Format: |
Returns
| Type | Description |
|---|---|
| AccountsResource.DeveloperRegistrationResource.RegisterGcpRequest |
UnregisterGcp(UnregisterGcpRequest, string)
Unregister the calling GCP from the calling Merchant Center account. Note that the GCP will still be
able to access the API for at most 1 day from the successful unregistration call. Executing this method
requires admin (ADMIN) access to the Merchant Center account. For more information, see Manage and
transition Google Cloud
projects,
Set up authentication for Merchant
API, and Register as a
developer.
Declaration
public virtual AccountsResource.DeveloperRegistrationResource.UnregisterGcpRequest UnregisterGcp(UnregisterGcpRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| UnregisterGcpRequest | body | The body of the request. |
| string | name | Required. The name of the developer registration to be created for the merchant account that the GCP
will be registered with. Format: |
Returns
| Type | Description |
|---|---|
| AccountsResource.DeveloperRegistrationResource.UnregisterGcpRequest |