Show / Hide Table of Contents

Class AccountsResource.DeveloperRegistrationResource

The "developerRegistration" collection of methods.

Inheritance
object
AccountsResource.DeveloperRegistrationResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 name (ID) of the developer registration.

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: accounts/{account}/developerRegistration The {account} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a test account) and must have a verified website in Merchant Center.

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: accounts/{account}/developerRegistration

Returns
Type Description
AccountsResource.DeveloperRegistrationResource.UnregisterGcpRequest
In this article
Back to top Generated by DocFX