Interface LongRunningClient (2.22.0)

  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
Type Description
UnaryCallable < String , Void >

deleteOperationCallable()

  public 
  
 abstract 
  
 UnaryCallable<String 
 , 
 Void 
>  
 deleteOperationCallable 
 () 
 

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

Returns
Type Description
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
Type Description
UnaryCallable < String , OperationSnapshot >
Create a Mobile Website
View Site in Mobile | Classic
Share by: