ServiceAccountArgs

data class ServiceAccountArgs(val email: Output<String>? = null, val scopes: Output<List<String>>? = null) : ConvertibleToJava<ServiceAccountArgs>

Carries information about a Google Cloud service account.

Constructors

Link copied to clipboard
fun ServiceAccountArgs(email: Output<String>? = null, scopes: Output<List<String>>? = null)

Functions

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

Properties

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

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.

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

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.