GoogleApi.Container.V1.Model.ReservationAffinity (google_api_container v0.24.0) View Source

ReservationAffinity is the configuration of desired reservation which instances could take capacity from.

Attributes

  • consumeReservationType (type: String.t, default: nil) - Corresponds to the type of reservation consumption.
  • key (type: String.t, default: nil) - Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.
  • values (type: list(String.t), default: nil) - Corresponds to the label value(s) of reservation resource(s).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Container.V1.Model.ReservationAffinity{
  consumeReservationType: String.t(),
  key: String.t(),
  values: [String.t()]
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.