View Source GoogleApi.Compute.V1.Model.SnapshotSettingsStorageLocationSettings (google_api_compute v0.56.2)

Attributes

  • locations (type: %{optional(String.t) => GoogleApi.Compute.V1.Model.SnapshotSettingsStorageLocationSettingsStorageLocationPreference.t}, default: nil) - When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.
  • policy (type: String.t, default: nil) - The chosen location policy.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SnapshotSettingsStorageLocationSettings{
  locations:
    %{
      optional(String.t()) =>
        GoogleApi.Compute.V1.Model.SnapshotSettingsStorageLocationSettingsStorageLocationPreference.t()
    }
    | nil,
  policy: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.