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

View Source

This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.

Attributes

  • kind (type: String.t, default: nil) - This is always sql#demoteContext.
  • sourceRepresentativeInstanceName (type: String.t, default: nil) - Required. The name of the instance which acts as an on-premises primary instance in the replication setup.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1beta4.Model.DemoteContext{
  kind: String.t() | nil,
  sourceRepresentativeInstanceName: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.