Show / Hide Table of Contents

Class PropertiesResource.DeleteRequest

Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: 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<GoogleAnalyticsAdminV1betaProperty>
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>
PropertiesResource.DeleteRequest
Implements
IClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>
IClientServiceRequest
Inherited Members
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Xgafv
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.AccessToken
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Alt
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Callback
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Fields
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Key
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.OauthToken
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.PrettyPrint
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.QuotaUser
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.UploadType
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>.UploadProtocol
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.Execute()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ExecuteAsStream()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ExecuteAsync()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.CreateRequest(bool?)
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.GenerateRequestUri()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.GetBody()
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ETagAction
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ModifyRequest
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ValidateParameters
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.ApiVersion
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.RequestParameters
ClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>.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.v1beta
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class PropertiesResource.DeleteRequest : GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1betaProperty>, IClientServiceRequest<GoogleAnalyticsAdminV1betaProperty>, 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<GoogleAnalyticsAdminV1betaProperty>.HttpMethod

MethodName

Gets the method name.

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

Name

Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000"

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

Methods

InitParameters()

Initializes Delete parameter list.

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

Implements

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