Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.PurgeRequest

Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleLongrunningOperation>
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>
ProjectsResource.LocationsResource.CatalogsResource.UserEventsResource.PurgeRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleLongrunningOperation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Xgafv
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.AccessToken
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Alt
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Callback
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Fields
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Key
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.UploadType
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class PurgeRequest : CloudRetailBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

PurgeRequest(IClientService, GoogleCloudRetailV2PurgeUserEventsRequest, String)

Constructs a new Purge request.

Declaration
public PurgeRequest(IClientService service, GoogleCloudRetailV2PurgeUserEventsRequest body, string parent)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
GoogleCloudRetailV2PurgeUserEventsRequest body
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.MethodName

Parent

Required. The resource name of the catalog under which the events are created. The format is projects/${projectId}/locations/global/catalogs/${catalogId}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.GetBody()

InitParameters()

Initializes Purge parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRetail.v2.CloudRetailBaseServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleLongrunningOperation>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top