Show / Hide Table of Contents

Class OperationsResource.ProjectsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleProtobufEmpty>
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>
OperationsResource.ProjectsResource.LocationsResource.OperationsResource.CancelRequest
Implements
IClientServiceRequest<GoogleProtobufEmpty>
IClientServiceRequest
Inherited Members
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.Xgafv
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.AccessToken
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.Alt
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.Callback
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.Fields
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.Key
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.OauthToken
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.PrettyPrint
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.QuotaUser
CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>.UploadType
CloudVideoIntelligenceBaseServiceRequest<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>.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.CloudVideoIntelligence.v1
Assembly: Google.Apis.CloudVideoIntelligence.v1.dll
Syntax
public class OperationsResource.ProjectsResource.LocationsResource.OperationsResource.CancelRequest : CloudVideoIntelligenceBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest

Constructors

CancelRequest(IClientService, string)

Constructs a new Cancel request.

Declaration
public CancelRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudVideoIntelligence.v1.Data.GoogleProtobufEmpty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudVideoIntelligence.v1.Data.GoogleProtobufEmpty>.MethodName

Name

The name of the operation resource to be cancelled.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudVideoIntelligence.v1.Data.GoogleProtobufEmpty>.RestPath

Methods

InitParameters()

Initializes Cancel parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudVideoIntelligence.v1.CloudVideoIntelligenceBaseServiceRequest<Google.Apis.CloudVideoIntelligence.v1.Data.GoogleProtobufEmpty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX