Show / Hide Table of Contents

Class 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. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following Google IAM permission: * lifesciences.operations.cancel

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

Constructors

CancelRequest(IClientService, CancelOperationRequest, string)

Constructs a new Cancel request.

Declaration
public CancelRequest(IClientService service, CancelOperationRequest body, string name)
Parameters
Type Name Description
IClientService service
CancelOperationRequest body
string name

Properties

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

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Empty>.GetBody()

InitParameters()

Initializes Cancel parameter list.

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

Implements

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