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.
Inheritance
AccountsResource.DeveloperRegistrationResource.RegisterGcpRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1
Assembly: Google.Apis.Merchant.accounts_v1.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
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()