Class ProjectsResource.LocationsResource.DatasetsResource.DataItemsResource.AnnotationsResource.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
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.DataItemsResource.AnnotationsResource.OperationsResource.CancelRequest : AiplatformBaseServiceRequest<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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()