JobHttpTarget class

Constructors

JobHttpTarget({Input<String?>? body, Input<Map<String, String>?>? headers, Input<String?>? httpMethod, Input<JobHttpTargetOauthToken?>? oauthToken, Input<JobHttpTargetOidcToken?>? oidcToken, required Input<String> uri})
Creates a new JobHttpTarget. body HTTP request body. headers This map contains the header field names and values. httpMethod Which HTTP method to use for the request. oauthToken Contains information needed for generating an OAuth token. oidcToken Contains information needed for generating an OpenID Connect token. uri The full URI path that the request will be sent to.
const
JobHttpTarget.fromMap(Map<String, dynamic> map)
factory

Properties

body → Input<String?>?
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. A base64-encoded string.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Input<Map<String, String>?>?
This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas.
final
httpMethod → Input<String?>?
Which HTTP method to use for the request.
final
oauthToken → Input<JobHttpTargetOauthToken?>?
Contains information needed for generating an OAuth token. This type of authorization should be used when sending requests to a GCP endpoint. Structure is documented below.
final
oidcToken → Input<JobHttpTargetOidcToken?>?
Contains information needed for generating an OpenID Connect token. This type of authorization should be used when sending requests to third party endpoints or Cloud Run. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Input<String>
The full URI path that the request will be sent to.
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