Interface LongRunningClient (2.23.1)

public interface LongRunningClient

Implementation-agnostic interface for managing long-running operations.

Methods

cancelOperationCallable()

public abstract UnaryCallable<String,Void> cancelOperationCallable()

Returns a UnaryCallable which can issue calls to cancel an operation.

Returns
TypeDescription
UnaryCallable<String,Void>

deleteOperationCallable()

public abstract UnaryCallable<String,Void> deleteOperationCallable()

Returns a UnaryCallable which can issue calls to delete an operation.

Returns
TypeDescription
UnaryCallable<String,Void>

getOperationCallable()

public abstract UnaryCallable<String,OperationSnapshot> getOperationCallable()

Returns a UnaryCallable which can issue calls to get the latest state of an operation.

Returns
TypeDescription
UnaryCallable<String,OperationSnapshot>