GoogleApi.SQLAdmin.V1beta4.Model.User (google_api_sql_admin v0.71.0)

View Source

A Cloud SQL user resource.

Attributes

  • dualPasswordType (type: String.t, default: nil) - Dual password status for the user.
  • etag (type: String.t, default: nil) - This field is deprecated and will be removed from a future version of the API.
  • host (type: String.t, default: nil) - 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.
  • instance (type: String.t, default: nil) - 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.
  • kind (type: String.t, default: nil) - This is always sql#user.
  • name (type: String.t, default: nil) - The name of the user in the Cloud SQL instance. Can be omitted for update because it is already specified in the URL.
  • password (type: String.t, default: nil) - The password for the user.
  • passwordPolicy (type: GoogleApi.SQLAdmin.V1beta4.Model.UserPasswordValidationPolicy.t, default: nil) - User level password validation policy.
  • project (type: String.t, default: nil) - 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.
  • sqlserverUserDetails (type: GoogleApi.SQLAdmin.V1beta4.Model.SqlServerUserDetails.t, default: nil) -
  • type (type: String.t, default: nil) - The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1beta4.Model.User{
  dualPasswordType: String.t() | nil,
  etag: String.t() | nil,
  host: String.t() | nil,
  instance: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  password: String.t() | nil,
  passwordPolicy:
    GoogleApi.SQLAdmin.V1beta4.Model.UserPasswordValidationPolicy.t() | nil,
  project: String.t() | nil,
  sqlserverUserDetails:
    GoogleApi.SQLAdmin.V1beta4.Model.SqlServerUserDetails.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.