Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlUserType.
The user type.
Protobuf type google.cloud.sql.v1.InitialUsersConfig.InitialUser.SqlUserType
Namespace
Google \ Cloud \ Sql \ V1 \ InitialUsersConfig \ InitialUserMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
BUILT_IN
Value: 0The database's built-in user type. Not supported for initial user creation.
Generated from protobuf enum BUILT_IN = 0;
CLOUD_IAM_USER
Value: 1Cloud IAM user.
MySQL will truncate the @ and domain when it stores the user.
Generated from protobuf enum CLOUD_IAM_USER = 1;
CLOUD_IAM_SERVICE_ACCOUNT
Value: 2Cloud IAM service account.
For PostgreSQL, omit the .gserviceaccount.com suffix. MySQL will truncate the @ and domain when it stores the user.
Generated from protobuf enum CLOUD_IAM_SERVICE_ACCOUNT = 2;
CLOUD_IAM_GROUP
Value: 3Cloud IAM group.
Generated from protobuf enum CLOUD_IAM_GROUP = 3;
CLOUD_IAM_GROUP_USER
Value: 4Login for a user that belongs to the Cloud IAM group. Not supported for initial user creation.
Generated from protobuf enum CLOUD_IAM_GROUP_USER = 4;
CLOUD_IAM_GROUP_SERVICE_ACCOUNT
Value: 5Login for a service account that belongs to the Cloud IAM group. Not supported for initial user creation.
Generated from protobuf enum CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5;
CLOUD_IAM_WORKFORCE_IDENTITY
Value: 6Cloud IAM workforce identity.
Generated from protobuf enum CLOUD_IAM_WORKFORCE_IDENTITY = 6;
ENTRAID_USER
Value: 7Microsoft Entra ID user. Not supported for initial user creation.
Generated from protobuf enum ENTRAID_USER = 7;
ACTIVE_DIRECTORY_USER
Value: 8Active Directory user. Not supported for initial user creation.
Generated from protobuf enum ACTIVE_DIRECTORY_USER = 8;