ServiceAccount class

An IAM service account.

A service account is an account for an application or a virtual machine (VM) instance, not a person. You can use a service account to call Google APIs. To learn more, read the overview of service accounts. When you create a service account, you specify the project ID that owns the service account, as well as a name that must be unique within the project. IAM uses these values to create an email address that identifies the service account. //

Constructors

ServiceAccount({String? description, bool? disabled, String? displayName, String? email, String? etag, String? name, String? oauth2ClientId, String? projectId, String? uniqueId})
ServiceAccount.fromJson(Map json_)

Properties

description String?
A user-specified, human-readable description of the service account.
getter/setter pair
disabled bool?
Whether the service account is disabled.
getter/setter pair
displayName String?
A user-specified, human-readable name for the service account.
getter/setter pair
email String?
The email address of the service account.
getter/setter pair
etag String?
Do not use.
getter/setter pair
etagAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the service account.
getter/setter pair
oauth2ClientId String?
The OAuth 2.0 client ID for the service account.
getter/setter pair
projectId String?
The ID of the project that owns the service account.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniqueId String?
The unique, stable numeric ID for the service account.
getter/setter pair

Methods

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

Operators

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