Google Cloud Sql Admin V1 Client - Class SqlUserType (1.17.0)

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 \ InitialUser

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

BUILT_IN

Value: 0

The database's built-in user type. Not supported for initial user creation.

Generated from protobuf enum BUILT_IN = 0;

CLOUD_IAM_USER

Value: 1

Cloud 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: 2

Cloud 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: 3

Cloud IAM group.

Generated from protobuf enum CLOUD_IAM_GROUP = 3;

CLOUD_IAM_GROUP_USER

Value: 4

Login 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: 5

Login 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: 6

Cloud IAM workforce identity.

Generated from protobuf enum CLOUD_IAM_WORKFORCE_IDENTITY = 6;

ENTRAID_USER

Value: 7

Microsoft Entra ID user. Not supported for initial user creation.

Generated from protobuf enum ENTRAID_USER = 7;

ACTIVE_DIRECTORY_USER

Value: 8

Active Directory user. Not supported for initial user creation.

Generated from protobuf enum ACTIVE_DIRECTORY_USER = 8;