Class AccountsResource.ServicesResource.ApproveRequest
Approve an account service proposal.
Inheritance
AccountsResource.ServicesResource.ApproveRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.ServicesResource.ApproveRequest : MerchantBaseServiceRequest<AccountService>, IClientServiceRequest<AccountService>, IClientServiceRequest
Constructors
ApproveRequest(IClientService, ApproveAccountServiceRequest, string)
Constructs a new Approve request.
Declaration
public ApproveRequest(IClientService service, ApproveAccountServiceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApproveAccountServiceRequest | 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 resource name of the account service to approve. Format:
accounts/{account}/services/{service}
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 Approve parameter list.
Declaration
protected override void InitParameters()