Package-level declarations

Types

Link copied to clipboard
data class AppEngineHttpRequestArgs(val appEngineRouting: Output<AppEngineRoutingArgs>? = null, val headers: Output<Map<String, String>>? = null, val httpMethod: Output<AppEngineHttpRequestHttpMethod>? = null, val payload: Output<String>? = null, val relativeUrl: Output<String>? = null) : ConvertibleToJava<AppEngineHttpRequestArgs>

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 set. Using AppEngineHttpRequest requires appengine&#46;applications&#46;get Google IAM permission for the project and the following scope: https://www&#46;googleapis&#46;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 and how routing is affected by dispatch files. Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The 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 is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The url that the task will be sent to is: * url = host + relative_url Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with login: admin. Because tasks are not run as any user, they cannot be dispatched to URIs restricted with login: required Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range `200` - `299`. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. 503 (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a 429 (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.

Link copied to clipboard
data class AppEngineHttpTargetArgs(val appEngineRoutingOverride: Output<AppEngineRoutingArgs>? = null) : ConvertibleToJava<AppEngineHttpTargetArgs>

App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires appengine&#46;applications&#46;get Google IAM permission for the project and the following scope: https://www.googleapis.com/auth/cloud-platform

Link copied to clipboard
data class AppEngineRoutingArgs(val instance: Output<String>? = null, val service: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<AppEngineRoutingArgs>

App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see An Overview of App Engine, Microservices Architecture on Google App Engine, App Engine Standard request routing, and App Engine Flex request routing.

Link copied to clipboard
data class BindingArgs(val condition: Output<ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class GetQueueIamPolicyPlainArgs(val location: String, val project: String? = null, val queueId: String) : ConvertibleToJava<GetQueueIamPolicyPlainArgs>
Link copied to clipboard
data class GetQueuePlainArgs(val location: String, val project: String? = null, val queueId: String, val readMask: String? = null) : ConvertibleToJava<GetQueuePlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetTaskPlainArgs(val location: String, val project: String? = null, val queueId: String, val responseView: String? = null, val taskId: String) : ConvertibleToJava<GetTaskPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class HeaderArgs(val key: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<HeaderArgs>

Defines a header message. A header can have a key and a value.

Link copied to clipboard

Builder for HeaderArgs.

Link copied to clipboard
data class HeaderOverrideArgs(val header: Output<HeaderArgs>? = null) : ConvertibleToJava<HeaderOverrideArgs>

Wraps the Header object.

Link copied to clipboard
Link copied to clipboard
data class HttpRequestArgs(val body: Output<String>? = null, val headers: Output<Map<String, String>>? = null, val httpMethod: Output<HttpRequestHttpMethod>? = null, val oauthToken: Output<OAuthTokenArgs>? = null, val oidcToken: Output<OidcTokenArgs>? = null, val url: Output<String>) : ConvertibleToJava<HttpRequestArgs>

HTTP request. The task will be pushed to the worker as an HTTP request. An HTTP request embodies a url, an http method, headers, body and authorization for the http task.

Link copied to clipboard
Link copied to clipboard
data class HttpTargetArgs(val headerOverrides: Output<List<HeaderOverrideArgs>>? = null, val httpMethod: Output<HttpTargetHttpMethod>? = null, val oauthToken: Output<OAuthTokenArgs>? = null, val oidcToken: Output<OidcTokenArgs>? = null, val uriOverride: Output<UriOverrideArgs>? = null) : ConvertibleToJava<HttpTargetArgs>

HTTP target. When specified as a Queue, all the tasks with HttpRequest will be overridden according to the target.

Link copied to clipboard
Link copied to clipboard
data class OAuthTokenArgs(val scope: Output<String>? = null, val serviceAccountEmail: Output<String>? = null) : ConvertibleToJava<OAuthTokenArgs>

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Link copied to clipboard
Link copied to clipboard
data class OidcTokenArgs(val audience: Output<String>? = null, val serviceAccountEmail: Output<String>? = null) : ConvertibleToJava<OidcTokenArgs>

Contains information needed for generating an OpenID Connect token. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.

Link copied to clipboard
Link copied to clipboard
data class PathOverrideArgs(val path: Output<String>? = null) : ConvertibleToJava<PathOverrideArgs>

PathOverride. Path message defines path override for HTTP targets.

Link copied to clipboard
Link copied to clipboard
data class PullMessageArgs(val payload: Output<String>? = null, val tag: Output<String>? = null) : ConvertibleToJava<PullMessageArgs>

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

Link copied to clipboard
Link copied to clipboard
class PullTargetArgs : ConvertibleToJava<PullTargetArgs>

Pull target.

Link copied to clipboard
Link copied to clipboard
data class QueryOverrideArgs(val queryParams: Output<String>? = null) : ConvertibleToJava<QueryOverrideArgs>

QueryOverride. Query message defines query override for HTTP targets.

Link copied to clipboard
Link copied to clipboard
data class RateLimitsArgs(val maxBurstSize: Output<Int>? = null, val maxConcurrentTasks: Output<Int>? = null, val maxTasksDispatchedPerSecond: Output<Double>? = null) : ConvertibleToJava<RateLimitsArgs>

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, will run a task even if the queue has reached its RateLimits.

Link copied to clipboard
Link copied to clipboard
data class RetryConfigArgs(val maxAttempts: Output<Int>? = null, val maxBackoff: Output<String>? = null, val maxDoublings: Output<Int>? = null, val maxRetryDuration: Output<String>? = null, val minBackoff: Output<String>? = null, val unlimitedAttempts: Output<Boolean>? = null) : ConvertibleToJava<RetryConfigArgs>

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

Link copied to clipboard
Link copied to clipboard
data class UriOverrideArgs(val host: Output<String>? = null, val pathOverride: Output<PathOverrideArgs>? = null, val port: Output<String>? = null, val queryOverride: Output<QueryOverrideArgs>? = null, val scheme: Output<UriOverrideScheme>? = null, val uriOverrideEnforceMode: Output<UriOverrideUriOverrideEnforceMode>? = null) : ConvertibleToJava<UriOverrideArgs>

Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values.

Link copied to clipboard