Class AccountsResource.ServicesResource.RejectRequest
Reject an account service (both proposed and approve services can be rejected).
Inheritance
AccountsResource.ServicesResource.RejectRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.ServicesResource.RejectRequest : MerchantBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
RejectRequest(IClientService, RejectAccountServiceRequest, string)
Constructs a new Reject request.
Declaration
public RejectRequest(IClientService service, RejectAccountServiceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RejectAccountServiceRequest | 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 reject. 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 Reject parameter list.
Declaration
protected override void InitParameters()