QueueHttpTarget class

Constructors

QueueHttpTarget({Input<List<QueueHttpTargetHeaderOverride>?>? headerOverrides, Input<String?>? httpMethod, Input<QueueHttpTargetOauthToken?>? oauthToken, Input<QueueHttpTargetOidcToken?>? oidcToken, Input<QueueHttpTargetUriOverride?>? uriOverride})
Creates a new QueueHttpTarget. headerOverrides HTTP target headers. httpMethod The HTTP method to use for the request. oauthToken If specified, an OAuth token is generated and attached as the Authorization header in the HTTP request. oidcToken If specified, an OIDC token is generated and attached as an Authorization header in the HTTP request. uriOverride URI override.
const
QueueHttpTarget.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
headerOverrides → Input<List<QueueHttpTargetHeaderOverride>?>?
HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. Structure is documented below.
final
httpMethod → Input<String?>?
The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to GET the body of the task will be ignored at execution time. Possible values are: HTTP_METHOD_UNSPECIFIED, POST, GET, HEAD, PUT, DELETE, PATCH, OPTIONS.
final
oauthToken → Input<QueueHttpTargetOauthToken?>?
If specified, an OAuth token is generated and attached as the Authorization header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override. Structure is documented below.
final
oidcToken → Input<QueueHttpTargetOidcToken?>?
If specified, an OIDC token is generated and attached as an Authorization header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uriOverride → Input<QueueHttpTargetUriOverride?>?
URI override. When specified, overrides the execution URI for all the tasks in the queue. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited