GoogleApi.SQLAdmin.V1.Model.DemoteMasterMySqlReplicaConfiguration (google_api_sql_admin v0.71.0)

View Source

Read-replica configuration specific to MySQL databases.

Attributes

  • caCertificate (type: String.t, default: nil) - PEM representation of the trusted CA's x509 certificate.
  • clientCertificate (type: String.t, default: nil) - PEM representation of the replica's x509 certificate.
  • clientKey (type: String.t, default: nil) - PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.
  • kind (type: String.t, default: nil) - This is always sql#demoteMasterMysqlReplicaConfiguration.
  • password (type: String.t, default: nil) - The password for the replication connection.
  • username (type: String.t, default: nil) - The username for the replication connection.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.DemoteMasterMySqlReplicaConfiguration{
  caCertificate: String.t() | nil,
  clientCertificate: String.t() | nil,
  clientKey: String.t() | nil,
  kind: String.t() | nil,
  password: String.t() | nil,
  username: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.