Class CloudTasksStub (2.37.0)

publicabstractclass CloudTasksStubimplementsBackgroundResource

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()

publicCloudTasksStub()

Methods

close()

publicabstractvoidclose()

createQueueCallable()

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

createTaskCallable()

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

deleteQueueCallable()

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

deleteTaskCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getQueueCallable()

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

getTaskCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listQueuesCallable()

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

listQueuesPagedCallable()

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

listTasksCallable()

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

listTasksPagedCallable()

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

pauseQueueCallable()

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

purgeQueueCallable()

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

resumeQueueCallable()

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

runTaskCallable()

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

setIamPolicyCallable()

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

testIamPermissionsCallable()

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

updateQueueCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.