OAuthTokenArgs

data class OAuthTokenArgs(val scope: Output<String>? = null, val serviceAccountEmail: Output<String>? = null) : ConvertibleToJava<OAuthTokenArgs>

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Constructors

Link copied to clipboard
constructor(scope: Output<String>? = null, serviceAccountEmail: Output<String>? = null)

Properties

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

OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

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

Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.

Functions

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