oidcToken

@JvmName(name = "vyiwrltxsqpvcfiy")
suspend fun oidcToken(value: Output<QueueHttpTargetOidcTokenArgs>)
@JvmName(name = "fvebgupdxnsqrmto")
suspend fun oidcToken(value: QueueHttpTargetOidcTokenArgs?)

Parameters

value

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.


@JvmName(name = "uphldtfwnsqkemhy")
suspend fun oidcToken(argument: suspend QueueHttpTargetOidcTokenArgsBuilder.() -> Unit)

Parameters

argument

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.