oauthToken

@JvmName(name = "nwjlrquffmgnmjxt")
suspend fun oauthToken(value: Output<QueueHttpTargetOauthTokenArgs>)
@JvmName(name = "yojcewqythlanwep")
suspend fun oauthToken(value: QueueHttpTargetOauthTokenArgs?)

Parameters

value

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.


@JvmName(name = "yxividfhaebpguas")
suspend fun oauthToken(argument: suspend QueueHttpTargetOauthTokenArgsBuilder.() -> Unit)

Parameters

argument

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.