Package com.google.cloud.tasks.v2 (2.54.0)

GitHub Repository RPC Documentation REST Documentation

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.tasks.v2.CloudTasksClient Service Description: Cloud Tasks allows developers to manage the execution of background work in their applications.

This class provides the ability to make remote calls to the backing service through method

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.tasks.v2.CloudTasksSettings Settings class to configure an instance of CloudTasksClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.tasks.v2.AppEngineHttpRequest App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when
com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when
com.google.cloud.tasks.v2.AppEngineRouting App Engine Routing. Defines routing characteristics specific to App Engine - service, version,
com.google.cloud.tasks.v2.AppEngineRouting.Builder App Engine Routing. Defines routing characteristics specific to App Engine - service, version,
com.google.cloud.tasks.v2.Attempt The status of a task attempt.
com.google.cloud.tasks.v2.Attempt.Builder The status of a task attempt.
com.google.cloud.tasks.v2.CloudTasksClient.ListLocationsFixedSizeCollection
com.google.cloud.tasks.v2.CloudTasksClient.ListLocationsPage
com.google.cloud.tasks.v2.CloudTasksClient.ListLocationsPagedResponse
com.google.cloud.tasks.v2.CloudTasksClient.ListQueuesFixedSizeCollection
com.google.cloud.tasks.v2.CloudTasksClient.ListQueuesPage
com.google.cloud.tasks.v2.CloudTasksClient.ListQueuesPagedResponse
com.google.cloud.tasks.v2.CloudTasksClient.ListTasksFixedSizeCollection
com.google.cloud.tasks.v2.CloudTasksClient.ListTasksPage
com.google.cloud.tasks.v2.CloudTasksClient.ListTasksPagedResponse
com.google.cloud.tasks.v2.CloudTasksGrpc Cloud Tasks allows developers to manage the execution of background work in their applications.
com.google.cloud.tasks.v2.CloudTasksGrpc.CloudTasksImplBase Base class for the server implementation of the service CloudTasks. Cloud Tasks allows developers to manage the execution of background
com.google.cloud.tasks.v2.CloudTasksProto
com.google.cloud.tasks.v2.CloudTasksSettings.Builder Builder for CloudTasksSettings.
com.google.cloud.tasks.v2.CreateQueueRequest Request message for CreateQueue.
com.google.cloud.tasks.v2.CreateQueueRequest.Builder Request message for CreateQueue.
com.google.cloud.tasks.v2.CreateTaskRequest Request message for CreateTask.
com.google.cloud.tasks.v2.CreateTaskRequest.Builder Request message for CreateTask.
com.google.cloud.tasks.v2.DeleteQueueRequest Request message for DeleteQueue.
com.google.cloud.tasks.v2.DeleteQueueRequest.Builder Request message for DeleteQueue.
com.google.cloud.tasks.v2.DeleteTaskRequest Request message for deleting a task using DeleteTask.
com.google.cloud.tasks.v2.DeleteTaskRequest.Builder Request message for deleting a task using DeleteTask.
com.google.cloud.tasks.v2.GetQueueRequest Request message for GetQueue.
com.google.cloud.tasks.v2.GetQueueRequest.Builder Request message for GetQueue.
com.google.cloud.tasks.v2.GetTaskRequest Request message for getting a task using GetTask.
com.google.cloud.tasks.v2.GetTaskRequest.Builder Request message for getting a task using GetTask.
com.google.cloud.tasks.v2.HttpRequest HTTP request. The task will be pushed to the worker as an HTTP request. If the worker
com.google.cloud.tasks.v2.HttpRequest.Builder HTTP request. The task will be pushed to the worker as an HTTP request. If the worker
com.google.cloud.tasks.v2.ListQueuesRequest Request message for ListQueues.
com.google.cloud.tasks.v2.ListQueuesRequest.Builder Request message for ListQueues.
com.google.cloud.tasks.v2.ListQueuesResponse Response message for ListQueues.
com.google.cloud.tasks.v2.ListQueuesResponse.Builder Response message for ListQueues.
com.google.cloud.tasks.v2.ListTasksRequest Request message for listing tasks using ListTasks.
com.google.cloud.tasks.v2.ListTasksRequest.Builder Request message for listing tasks using ListTasks.
com.google.cloud.tasks.v2.ListTasksResponse Response message for listing tasks using ListTasks.
com.google.cloud.tasks.v2.ListTasksResponse.Builder Response message for listing tasks using ListTasks.
com.google.cloud.tasks.v2.LocationName
com.google.cloud.tasks.v2.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.tasks.v2.OAuthToken Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google
com.google.cloud.tasks.v2.OAuthToken.Builder Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google
com.google.cloud.tasks.v2.OidcToken Contains information needed for generating an OpenID Connect token.
com.google.cloud.tasks.v2.OidcToken.Builder Contains information needed for generating an OpenID Connect token.
com.google.cloud.tasks.v2.PauseQueueRequest Request message for PauseQueue.
com.google.cloud.tasks.v2.PauseQueueRequest.Builder Request message for PauseQueue.
com.google.cloud.tasks.v2.ProjectName
com.google.cloud.tasks.v2.ProjectName.Builder Builder for ProjectName.
com.google.cloud.tasks.v2.PurgeQueueRequest Request message for PurgeQueue.
com.google.cloud.tasks.v2.PurgeQueueRequest.Builder Request message for PurgeQueue.
com.google.cloud.tasks.v2.Queue A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, queue types, and others.
com.google.cloud.tasks.v2.Queue.Builder A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, queue types, and others.
com.google.cloud.tasks.v2.QueueName
com.google.cloud.tasks.v2.QueueName.Builder Builder for projects/{project}/locations/{location}/queues/{queue}.
com.google.cloud.tasks.v2.QueueProto
com.google.cloud.tasks.v2.RateLimits Rate limits. This message determines the maximum rate that tasks can be dispatched by a
com.google.cloud.tasks.v2.RateLimits.Builder Rate limits. This message determines the maximum rate that tasks can be dispatched by a
com.google.cloud.tasks.v2.ResumeQueueRequest Request message for ResumeQueue.
com.google.cloud.tasks.v2.ResumeQueueRequest.Builder Request message for ResumeQueue.
com.google.cloud.tasks.v2.RetryConfig Retry config. These settings determine when a failed task attempt is retried.
com.google.cloud.tasks.v2.RetryConfig.Builder Retry config. These settings determine when a failed task attempt is retried.
com.google.cloud.tasks.v2.RunTaskRequest Request message for forcing a task to run now using RunTask.
com.google.cloud.tasks.v2.RunTaskRequest.Builder Request message for forcing a task to run now using RunTask.
com.google.cloud.tasks.v2.StackdriverLoggingConfig Configuration options for writing logs to Stackdriver Logging.
com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder Configuration options for writing logs to Stackdriver Logging.
com.google.cloud.tasks.v2.TargetProto
com.google.cloud.tasks.v2.Task A unit of scheduled work.
com.google.cloud.tasks.v2.Task.Builder A unit of scheduled work.
com.google.cloud.tasks.v2.TaskName
com.google.cloud.tasks.v2.TaskName.Builder Builder for projects/{project}/locations/{location}/queues/{queue}/tasks/{task}.
com.google.cloud.tasks.v2.TaskProto
com.google.cloud.tasks.v2.UpdateQueueRequest Request message for UpdateQueue.
com.google.cloud.tasks.v2.UpdateQueueRequest.Builder Request message for UpdateQueue.

Interfaces

Interface Description
com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
com.google.cloud.tasks.v2.AttemptOrBuilder
com.google.cloud.tasks.v2.CloudTasksGrpc.AsyncService Cloud Tasks allows developers to manage the execution of background work in their applications.
com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder
com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder
com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder
com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder
com.google.cloud.tasks.v2.GetQueueRequestOrBuilder
com.google.cloud.tasks.v2.GetTaskRequestOrBuilder
com.google.cloud.tasks.v2.HttpRequestOrBuilder
com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder
com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder
com.google.cloud.tasks.v2.ListTasksRequestOrBuilder
com.google.cloud.tasks.v2.ListTasksResponseOrBuilder
com.google.cloud.tasks.v2.OAuthTokenOrBuilder
com.google.cloud.tasks.v2.OidcTokenOrBuilder
com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder
com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder
com.google.cloud.tasks.v2.QueueOrBuilder
com.google.cloud.tasks.v2.RateLimitsOrBuilder
com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder
com.google.cloud.tasks.v2.RetryConfigOrBuilder
com.google.cloud.tasks.v2.RunTaskRequestOrBuilder
com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
com.google.cloud.tasks.v2.TaskOrBuilder
com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder

Enums

Enum Description
com.google.cloud.tasks.v2.HttpMethod The HTTP method used to deliver the task.
com.google.cloud.tasks.v2.HttpRequest.AuthorizationHeaderCase
com.google.cloud.tasks.v2.Queue.State State of the queue.
com.google.cloud.tasks.v2.Task.MessageTypeCase
com.google.cloud.tasks.v2.Task.View The view specifies a subset of Task data. When a task is returned in a response, not all