JobHttpTargetArgs

data class JobHttpTargetArgs(val body: Output<String>? = null, val headers: Output<Map<String, String>>? = null, val httpMethod: Output<String>? = null, val oauthToken: Output<JobHttpTargetOauthTokenArgs>? = null, val oidcToken: Output<JobHttpTargetOidcTokenArgs>? = null, val uri: Output<String>) : ConvertibleToJava<JobHttpTargetArgs>

Constructors

Link copied to clipboard
constructor(body: Output<String>? = null, headers: Output<Map<String, String>>? = null, httpMethod: Output<String>? = null, oauthToken: Output<JobHttpTargetOauthTokenArgs>? = null, oidcToken: Output<JobHttpTargetOidcTokenArgs>? = null, uri: Output<String>)

Properties

Link copied to clipboard
val body: Output<String>? = null

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.

Link copied to clipboard
val headers: Output<Map<String, String>>? = null

This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas.

Link copied to clipboard
val httpMethod: Output<String>? = null

Which HTTP method to use for the request.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
val uri: Output<String>

The full URI path that the request will be sent to.

Functions

Link copied to clipboard
open override fun toJava(): JobHttpTargetArgs