Show / Hide Table of Contents

Class AccountsResource.DeleteRequest

Deletes the specified account regardless of its type: standalone, MCA or sub-account. Deleting an MCA leads to the deletion of all of its sub-accounts. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the force parameter to override this.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
MerchantBaseServiceRequest<Empty>
AccountsResource.DeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
MerchantBaseServiceRequest<Empty>.Xgafv
MerchantBaseServiceRequest<Empty>.AccessToken
MerchantBaseServiceRequest<Empty>.Alt
MerchantBaseServiceRequest<Empty>.Callback
MerchantBaseServiceRequest<Empty>.Fields
MerchantBaseServiceRequest<Empty>.Key
MerchantBaseServiceRequest<Empty>.OauthToken
MerchantBaseServiceRequest<Empty>.PrettyPrint
MerchantBaseServiceRequest<Empty>.QuotaUser
MerchantBaseServiceRequest<Empty>.UploadType
MerchantBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetBody()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.DeleteRequest : MerchantBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

Force

Optional. If set to true, the account is deleted even if it provides services to other accounts or has processed offers.

Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.MethodName

Name

Required. The name of the account to delete. Format: accounts/{account}

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
ClientServiceRequest<Empty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
MerchantBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX