GetUserResult

data class GetUserResult(val dualPasswordType: String, val etag: String, val host: String, val instance: String, val kind: String, val name: String, val password: String, val passwordPolicy: UserPasswordValidationPolicyResponse, val project: String, val sqlserverUserDetails: SqlServerUserDetailsResponse, val type: String)

Constructors

Link copied to clipboard
fun GetUserResult(dualPasswordType: String, etag: String, host: String, instance: String, kind: String, name: String, password: String, passwordPolicy: UserPasswordValidationPolicyResponse, project: String, sqlserverUserDetails: SqlServerUserDetailsResponse, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Dual password status for the user.

Link copied to clipboard

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

Link copied to clipboard

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

The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update because it is already specified on the URL.

Link copied to clipboard

This is always sql#user.

Link copied to clipboard

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

The password for the user.

Link copied to clipboard

User level password validation policy.

Link copied to clipboard

The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update because it is already specified on the URL.

Link copied to clipboard

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