google_api_container v0.9.0 GoogleApi.Container.V1.Model.ReservationAffinity 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 reservation resource.
  • 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.