GoogleApi.Spanner.V1.Model.InstanceConfig (google_api_spanner v0.34.7) View Source

A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.

Attributes

  • displayName (type: String.t, default: nil) - The name of this instance configuration as it appears in UIs.
  • leaderOptions (type: list(String.t), default: nil) - Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
  • name (type: String.t, default: nil) - A unique identifier for the instance configuration. Values are of the form projects//instanceConfigs/a-z*.
  • replicas (type: list(GoogleApi.Spanner.V1.Model.ReplicaInfo.t), default: nil) - The geographic placement of nodes in this instance configuration and their replication properties.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.InstanceConfig{
  displayName: String.t() | nil,
  leaderOptions: [String.t()] | nil,
  name: String.t() | nil,
  replicas: [GoogleApi.Spanner.V1.Model.ReplicaInfo.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.