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.
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 shopping 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.
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 shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.
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 |