ServiceAccountArgs class
The set of arguments for ServiceAccount. The set of arguments for ServiceAccount.
Constructors
-
ServiceAccountArgs({required Input<
String> accountId, Input<String> ? description, Input<String> ? displayName, Input<String> ? etag, Input<String> ? name, Input<String> ? project}) -
Creates a new ServiceAccountArgs.
accountIdThe account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])to comply with RFC1035.descriptionOptional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes.displayNameOptional. A user-specified, human-readable name for the service account. The maximum length is 100 UTF-8 bytes.etagDeprecated. Do not use.nameThe resource name of the service account. Use one of the following formats: *projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}*projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}As an alternative, you can use the-wildcard character instead of the project ID: *projects/-/serviceAccounts/{EMAIL_ADDRESS}*projects/-/serviceAccounts/{UNIQUE_ID}When possible, avoid using the-wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service accountprojects/-/serviceAccounts/fake@example.com, which does not exist, the response contains an HTTP403 Forbiddenerror instead of a404 Not Founderror.projectOptional.const -
ServiceAccountArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accountId
→ Input<
String> -
The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])to comply with RFC1035.final -
description
→ Input<
String> ? -
Optional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes.
final
-
displayName
→ Input<
String> ? -
Optional. A user-specified, human-readable name for the service account. The maximum length is 100 UTF-8 bytes.
final
-
etag
→ Input<
String> ? -
Deprecated. Do not use.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The resource name of the service account. Use one of the following formats: *
projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}*projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}As an alternative, you can use the-wildcard character instead of the project ID: *projects/-/serviceAccounts/{EMAIL_ADDRESS}*projects/-/serviceAccounts/{UNIQUE_ID}When possible, avoid using the-wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service accountprojects/-/serviceAccounts/fake@example.com, which does not exist, the response contains an HTTP403 Forbiddenerror instead of a404 Not Founderror.final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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