Class ProjectsResource.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: * genomics.operations.cancel
Inheritance
object
ProjectsResource.OperationsResource.CancelRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Genomics.v2alpha1
Assembly: Google.Apis.Genomics.v2alpha1.dll
Syntax
public class ProjectsResource.OperationsResource.CancelRequest : GenomicsBaseServiceRequest<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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Genomics.v2alpha1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Genomics.v2alpha1.Data.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Genomics.v2alpha1.Data.Empty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Genomics.v2alpha1.Data.Empty>.GetBody()
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Genomics.v2alpha1.GenomicsBaseServiceRequest<Google.Apis.Genomics.v2alpha1.Data.Empty>.InitParameters()