package google.cloud.tasks.v2beta2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service CloudTasks

cloudtasks.proto:39

Cloud Tasks allows developers to manage the execution of background work in their applications.

message AppEngineHttpRequest

target.proto:129

App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] is used for all tasks in the queue, no matter what the setting is for the [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. The `url` that the task will be sent to is: * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. `503` is considered an App Engine system error instead of an application error. Requests returning error `503` will be retried regardless of retry configuration and not counted against retry counts. Any other response code or a failure to receive a response before the deadline is a failed attempt.

Used in: Task

message AppEngineHttpTarget

target.proto:76

App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the task's host URL is constructed. Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`

Used in: Queue

message AppEngineRouting

target.proto:216

App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).

Used in: AppEngineHttpRequest, AppEngineHttpTarget

message AttemptStatus

task.proto:156

The status of a task attempt.

Used in: TaskStatus

enum HttpMethod

target.proto:329

The HTTP method used to execute the task.

Used in: AppEngineHttpRequest

message PullMessage

target.proto:38

The pull message contains data that can be used by the caller of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. This proto can only be used for tasks in a queue which has [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set.

Used in: Task

message PullTarget

target.proto:29

Pull target.

Used in: Queue

(message has no fields)

message Queue

queue.proto:33

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, target types, and others.

Used as response type in: CloudTasks.CreateQueue, CloudTasks.GetQueue, CloudTasks.PauseQueue, CloudTasks.PurgeQueue, CloudTasks.ResumeQueue, CloudTasks.UpdateQueue

Used as field type in: CreateQueueRequest, ListQueuesResponse, UpdateQueueRequest

enum Queue.State

queue.proto:35

State of the queue.

Used in: Queue

message RateLimits

queue.proto:169

Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits].

Used in: Queue

message RetryConfig

queue.proto:245

Retry config. These settings determine how a failed task attempt is retried.

Used in: Queue

message Task

task.proto:31

A unit of scheduled work.

Used as response type in: CloudTasks.CancelLease, CloudTasks.CreateTask, CloudTasks.GetTask, CloudTasks.RenewLease, CloudTasks.RunTask

Used as field type in: CreateTaskRequest, LeaseTasksResponse, ListTasksResponse

enum Task.View

task.proto:39

The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data. When a task is returned in a response, not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains.

Used in: CancelLeaseRequest, CreateTaskRequest, GetTaskRequest, LeaseTasksRequest, ListTasksRequest, RenewLeaseRequest, RunTaskRequest, Task

message TaskStatus

task.proto:129

Status of the task.

Used in: Task