Class AccountsResource.DeveloperRegistrationResource.RegisterGcpRequest
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. 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.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.DeveloperRegistrationResource.RegisterGcpRequest : MerchantBaseServiceRequest<DeveloperRegistration>, IClientServiceRequest<DeveloperRegistration>, IClientServiceRequest
Constructors
RegisterGcpRequest(IClientService, RegisterGcpRequest, string)
Constructs a new RegisterGcp request.
Declaration
public RegisterGcpRequest(IClientService service, RegisterGcpRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RegisterGcpRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes RegisterGcp parameter list.
Declaration
protected override void InitParameters()