Class ProjectsResource.RegionsResource.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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<
Empty>
ProjectsResource.RegionsResource.OperationsResource.CancelRequest
Implements
Google.Apis.Requests.IClientServiceRequest<
Empty>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.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()
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class CancelRequest : DataprocBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
CancelRequest(IClientService, String)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, string name)
Parameters
Type |
Name |
Description |
Google.Apis.Services.IClientService |
service |
|
System.String |
name |
|
Properties
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.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 |
System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataproc.v1beta2.DataprocBaseServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Empty>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest