View Source GoogleApi.BackupDR.V1.Model.AllocationAffinity (google_api_backup_dr v0.12.0)

Specifies the reservations that this instance can consume from.

Attributes

  • consumeReservationType (type: String.t, default: nil) - Optional. Specifies the type of reservation from which this instance can consume
  • key (type: String.t, default: nil) - Optional. Corresponds to the label key of a reservation resource.
  • values (type: list(String.t), default: nil) - Optional. Corresponds to the label values of a reservation resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.AllocationAffinity{
  consumeReservationType: String.t() | nil,
  key: String.t() | nil,
  values: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.