ServiceAccount class

Carries information about a Google Cloud service account.

Constructors

ServiceAccount({Input<String>? email, Input<List<String>>? scopes})
Creates a new ServiceAccount. email 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. scopes 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.
const
ServiceAccount.fromMap(Map<String, dynamic> map)
factory

Properties

email → Input<String>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → Input<List<String>>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited