View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NotebookReservationAffinity (google_api_ai_platform v0.7.0)

Notebook Reservation Affinity for consuming Zonal reservation.

Attributes

  • consumeReservationType (type: String.t, default: nil) - Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples.
  • key (type: String.t, default: nil) - Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.
  • values (type: list(String.t), default: nil) - Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NotebookReservationAffinity{
    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.