longrunning library

The Google Cloud client for the Long Running Operations API.

Defines types and an abstract service to handle long-running operations.

Long-running operations are a common pattern to handle methods that may take a significant amount of time to execute. Many Google APIs return an Operation message (defined in this package) that are roughly analogous to a Future. The operation will eventually complete, though it may still return an error on completion. The client libraries provide helpers to simplify polling of these operations.

Classes

CancelOperationRequest
The request message for Operations.CancelOperation.
DeleteOperationRequest
The request message for Operations.DeleteOperation.
GetOperationRequest
The request message for Operations.GetOperation.
ListOperationsRequest
The request message for Operations.ListOperations.
ListOperationsResponse
The response message for Operations.ListOperations.
Operation<T extends ProtoMessage, S extends ProtoMessage>
This resource represents a long-running operation that is the result of a network API call.
OperationHelper<T extends ProtoMessage, S extends ProtoMessage>
This helper class is used to pull typed messages out of the Operation.response and Operation.metadata fields in order to populate the typed Operation.responseAsMessage and Operation.metadataAsMessage fields.
OperationInfo
A message representing the message types used by a long-running operation.
Operations
Manages long-running operations with an API service.
WaitOperationRequest
The request message for Operations.WaitOperation.