Class CloudTasksStub (2.4.0)

public abstract class CloudTasksStub implements BackgroundResource

Base stub class for the CloudTasks service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CloudTasksStub

Implements

BackgroundResource

Constructors

CloudTasksStub()

public CloudTasksStub()

Methods

acknowledgeTaskCallable()

public UnaryCallable<AcknowledgeTaskRequest,Empty> acknowledgeTaskCallable()
Returns
TypeDescription
UnaryCallable<AcknowledgeTaskRequest,Empty>

cancelLeaseCallable()

public UnaryCallable<CancelLeaseRequest,Task> cancelLeaseCallable()
Returns
TypeDescription
UnaryCallable<CancelLeaseRequest,Task>

close()

public abstract void close()

createQueueCallable()

public UnaryCallable<CreateQueueRequest,Queue> createQueueCallable()
Returns
TypeDescription
UnaryCallable<CreateQueueRequest,Queue>

createTaskCallable()

public UnaryCallable<CreateTaskRequest,Task> createTaskCallable()
Returns
TypeDescription
UnaryCallable<CreateTaskRequest,Task>

deleteQueueCallable()

public UnaryCallable<DeleteQueueRequest,Empty> deleteQueueCallable()
Returns
TypeDescription
UnaryCallable<DeleteQueueRequest,Empty>

deleteTaskCallable()

public UnaryCallable<DeleteTaskRequest,Empty> deleteTaskCallable()
Returns
TypeDescription
UnaryCallable<DeleteTaskRequest,Empty>

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getQueueCallable()

public UnaryCallable<GetQueueRequest,Queue> getQueueCallable()
Returns
TypeDescription
UnaryCallable<GetQueueRequest,Queue>

getTaskCallable()

public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
Returns
TypeDescription
UnaryCallable<GetTaskRequest,Task>

leaseTasksCallable()

public UnaryCallable<LeaseTasksRequest,LeaseTasksResponse> leaseTasksCallable()
Returns
TypeDescription
UnaryCallable<LeaseTasksRequest,LeaseTasksResponse>

listQueuesCallable()

public UnaryCallable<ListQueuesRequest,ListQueuesResponse> listQueuesCallable()
Returns
TypeDescription
UnaryCallable<ListQueuesRequest,ListQueuesResponse>

listQueuesPagedCallable()

public UnaryCallable<ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> listQueuesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListQueuesRequest,ListQueuesPagedResponse>

listTasksCallable()

public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Returns
TypeDescription
UnaryCallable<ListTasksRequest,ListTasksResponse>

listTasksPagedCallable()

public UnaryCallable<ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> listTasksPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTasksRequest,ListTasksPagedResponse>

pauseQueueCallable()

public UnaryCallable<PauseQueueRequest,Queue> pauseQueueCallable()
Returns
TypeDescription
UnaryCallable<PauseQueueRequest,Queue>

purgeQueueCallable()

public UnaryCallable<PurgeQueueRequest,Queue> purgeQueueCallable()
Returns
TypeDescription
UnaryCallable<PurgeQueueRequest,Queue>

renewLeaseCallable()

public UnaryCallable<RenewLeaseRequest,Task> renewLeaseCallable()
Returns
TypeDescription
UnaryCallable<RenewLeaseRequest,Task>

resumeQueueCallable()

public UnaryCallable<ResumeQueueRequest,Queue> resumeQueueCallable()
Returns
TypeDescription
UnaryCallable<ResumeQueueRequest,Queue>

runTaskCallable()

public UnaryCallable<RunTaskRequest,Task> runTaskCallable()
Returns
TypeDescription
UnaryCallable<RunTaskRequest,Task>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateQueueCallable()

public UnaryCallable<UpdateQueueRequest,Queue> updateQueueCallable()
Returns
TypeDescription
UnaryCallable<UpdateQueueRequest,Queue>