Class 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.
Inheritance
OperationsResource.CancelRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class OperationsResource.CancelRequest : StorageBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
CancelRequest(IClientService, string, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, string bucket, string operationId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | bucket | |
string | operationId |
Properties
Bucket
The parent bucket of the operation resource.
Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<string>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<string>.MethodName
OperationId
The ID of the operation resource.
Declaration
[RequestParameter("operationId", RequestParameterType.Path)]
public virtual string OperationId { 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<string>.RestPath
Methods
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()