GoogleApi.Compute.V1.Model.LocationPolicy (google_api_compute v0.41.0) View Source

Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).

Attributes

  • locations (type: %{optional(String.t) => GoogleApi.Compute.V1.Model.LocationPolicyLocation.t}, default: nil) - Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.LocationPolicy{
  locations:
    %{
      optional(String.t()) =>
        GoogleApi.Compute.V1.Model.LocationPolicyLocation.t()
    }
    | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.