User

Creates a new user in a Cloud SQL instance.

Properties

Link copied to clipboard

Dual password status for the user.

Link copied to clipboard
val etag: Output<String>

This field is deprecated and will be removed from a future version of the API.

Link copied to clipboard
val host: Output<String>

Optional. The host from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instance: Output<String>
Link copied to clipboard
val kind: Output<String>

This is always sql#user.

Link copied to clipboard
val name: Output<String>

The name of the user in the Cloud SQL instance. Can be omitted for update because it is already specified in the URL.

Link copied to clipboard
val password: Output<String>

The password for the user.

Link copied to clipboard

User level password validation policy.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.

Link copied to clipboard
val urn: Output<String>