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

View Source

Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.

Attributes

  • followGaeApplication (type: String.t, default: nil) - The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
  • kind (type: String.t, default: nil) - This is always sql#locationPreference.
  • secondaryZone (type: String.t, default: nil) - The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
  • zone (type: String.t, default: nil) - The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.LocationPreference{
  followGaeApplication: String.t() | nil,
  kind: String.t() | nil,
  secondaryZone: String.t() | nil,
  zone: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.