Show / Hide Table of Contents

Class AccountsResource.DeleteRequest

Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleProtobufEmpty>
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>
AccountsResource.DeleteRequest
Implements
IClientServiceRequest<GoogleProtobufEmpty>
IClientServiceRequest
Inherited Members
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.Xgafv
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.AccessToken
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.Alt
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.Callback
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.Fields
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.Key
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.OauthToken
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.PrettyPrint
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.QuotaUser
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.UploadType
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.UploadProtocol
ClientServiceRequest<GoogleProtobufEmpty>.Execute()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStream()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.CreateRequest(bool?)
ClientServiceRequest<GoogleProtobufEmpty>.GenerateRequestUri()
ClientServiceRequest<GoogleProtobufEmpty>.GetBody()
ClientServiceRequest<GoogleProtobufEmpty>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleProtobufEmpty>.ETagAction
ClientServiceRequest<GoogleProtobufEmpty>.ModifyRequest
ClientServiceRequest<GoogleProtobufEmpty>.ValidateParameters
ClientServiceRequest<GoogleProtobufEmpty>.ApiVersion
ClientServiceRequest<GoogleProtobufEmpty>.RequestParameters
ClientServiceRequest<GoogleProtobufEmpty>.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.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class AccountsResource.DeleteRequest : GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, 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

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100"

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<GoogleProtobufEmpty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
GoogleAnalyticsAdminBaseServiceRequest<GoogleProtobufEmpty>.InitParameters()

Implements

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