Class CloudTasksStub (2.42.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
Type Description
UnaryCallable<AcknowledgeTaskRequest,Empty>

cancelLeaseCallable()

public UnaryCallable<CancelLeaseRequest,Task> cancelLeaseCallable()
Returns
Type Description
UnaryCallable<CancelLeaseRequest,Task>

close()

public abstract void close()

createQueueCallable()

public UnaryCallable<CreateQueueRequest,Queue> createQueueCallable()
Returns
Type Description
UnaryCallable<CreateQueueRequest,Queue>

createTaskCallable()

public UnaryCallable<CreateTaskRequest,Task> createTaskCallable()
Returns
Type Description
UnaryCallable<CreateTaskRequest,Task>

deleteQueueCallable()

public UnaryCallable<DeleteQueueRequest,Empty> deleteQueueCallable()
Returns
Type Description
UnaryCallable<DeleteQueueRequest,Empty>

deleteTaskCallable()

public UnaryCallable<DeleteTaskRequest,Empty> deleteTaskCallable()
Returns
Type Description
UnaryCallable<DeleteTaskRequest,Empty>

getIamPolicyCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getQueueCallable()

public UnaryCallable<GetQueueRequest,Queue> getQueueCallable()
Returns
Type Description
UnaryCallable<GetQueueRequest,Queue>

getTaskCallable()

public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
Returns
Type Description
UnaryCallable<GetTaskRequest,Task>

leaseTasksCallable()

public UnaryCallable<LeaseTasksRequest,LeaseTasksResponse> leaseTasksCallable()
Returns
Type Description
UnaryCallable<LeaseTasksRequest,LeaseTasksResponse>

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,CloudTasksClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

listQueuesCallable()

public UnaryCallable<ListQueuesRequest,ListQueuesResponse> listQueuesCallable()
Returns
Type Description
UnaryCallable<ListQueuesRequest,ListQueuesResponse>

listQueuesPagedCallable()

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

listTasksCallable()

public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Returns
Type Description
UnaryCallable<ListTasksRequest,ListTasksResponse>

listTasksPagedCallable()

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

pauseQueueCallable()

public UnaryCallable<PauseQueueRequest,Queue> pauseQueueCallable()
Returns
Type Description
UnaryCallable<PauseQueueRequest,Queue>

purgeQueueCallable()

public UnaryCallable<PurgeQueueRequest,Queue> purgeQueueCallable()
Returns
Type Description
UnaryCallable<PurgeQueueRequest,Queue>

renewLeaseCallable()

public UnaryCallable<RenewLeaseRequest,Task> renewLeaseCallable()
Returns
Type Description
UnaryCallable<RenewLeaseRequest,Task>

resumeQueueCallable()

public UnaryCallable<ResumeQueueRequest,Queue> resumeQueueCallable()
Returns
Type Description
UnaryCallable<ResumeQueueRequest,Queue>

runTaskCallable()

public UnaryCallable<RunTaskRequest,Task> runTaskCallable()
Returns
Type Description
UnaryCallable<RunTaskRequest,Task>

setIamPolicyCallable()

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

testIamPermissionsCallable()

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

updateQueueCallable()

public UnaryCallable<UpdateQueueRequest,Queue> updateQueueCallable()
Returns
Type Description
UnaryCallable<UpdateQueueRequest,Queue>

uploadQueueYamlCallable()

public UnaryCallable<UploadQueueYamlRequest,Empty> uploadQueueYamlCallable()
Returns
Type Description
UnaryCallable<UploadQueueYamlRequest,Empty>