GetAccountAccessTokenPlainArgs

data class GetAccountAccessTokenPlainArgs(val delegates: List<String>? = null, val lifetime: String? = null, val scopes: List<String>, val targetServiceAccount: String) : ConvertibleToJava<GetAccountAccessTokenPlainArgs>

A collection of arguments for invoking getAccountAccessToken.

Constructors

Link copied to clipboard
constructor(delegates: List<String>? = null, lifetime: String? = null, scopes: List<String>, targetServiceAccount: String)

Properties

Link copied to clipboard
val delegates: List<String>? = null

Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name. (e.g. ["projects/-/serviceAccounts/delegate-svc-account@project-id&#46;iam&#46;gserviceaccount&#46;com"])

Link copied to clipboard
val lifetime: String? = null

Lifetime of the impersonated token (defaults to its max: 3600s).

Link copied to clipboard

The scopes the new credential should have (e.g. ["cloud-platform"])

Link copied to clipboard

The service account to impersonate (e.g. service_B@your-project-id.iam.gserviceaccount.com)

Functions

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