Show / Hide Table of Contents

Class OperationsResource

The "operations" collection of methods.

Inheritance
object
OperationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class OperationsResource

Constructors

OperationsResource(IClientService)

Constructs a new resource.

Declaration
public OperationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Cancel(string, string)

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed.

Declaration
public virtual OperationsResource.CancelRequest Cancel(string bucket, string operationId)
Parameters
Type Name Description
string bucket

The parent bucket of the operation resource.

string operationId

The ID of the operation resource.

Returns
Type Description
OperationsResource.CancelRequest

Get(string, string)

Gets the latest state of a long-running operation.

Declaration
public virtual OperationsResource.GetRequest Get(string bucket, string operationId)
Parameters
Type Name Description
string bucket

The parent bucket of the operation resource.

string operationId

The ID of the operation resource.

Returns
Type Description
OperationsResource.GetRequest

List(string)

Lists operations that match the specified filter in the request.

Declaration
public virtual OperationsResource.ListRequest List(string bucket)
Parameters
Type Name Description
string bucket

Name of the bucket in which to look for operations.

Returns
Type Description
OperationsResource.ListRequest
In this article
Back to top Generated by DocFX