SqlUserType enum

Authentication mechanism for a google_sql_user.

  • builtIn: classic username/password user owned by the database engine. Default when type is omitted.
  • cloudIamUser: a human Google identity. name must be the user's Google email.
  • cloudIamServiceAccount: a GCP service account. name must be the service account email (...iam.gserviceaccount.com).
  • cloudIamGroup: a Cloud Identity / Workspace group. name must be the group's primary email.

password is meaningful only for builtIn users; IAM-typed users authenticate by exchanging IAM tokens and must omit it.

Inheritance
Available extensions

Values

builtIn → const SqlUserType
const SqlUserType('BUILT_IN')
cloudIamUser → const SqlUserType
const SqlUserType('CLOUD_IAM_USER')
cloudIamServiceAccount → const SqlUserType
const SqlUserType('CLOUD_IAM_SERVICE_ACCOUNT')
cloudIamGroup → const SqlUserType
const SqlUserType('CLOUD_IAM_GROUP')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terraformValue String
final

Methods

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

Operators

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

Constants

values → const List<SqlUserType>
A constant List of the values in this enum, in order of their declaration.