AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::ReservationAffinity (v0.9.0)

Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::ReservationAffinity.

Reservation Affinity for consuming Zonal reservation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#consume_reservation_type

def consume_reservation_type() -> ::Google::Cloud::Notebooks::V1::ReservationAffinity::Type
Returns

#consume_reservation_type=

def consume_reservation_type=(value) -> ::Google::Cloud::Notebooks::V1::ReservationAffinity::Type
Parameter
Returns

#key

def key() -> ::String
Returns
  • (::String) — Optional. Corresponds to the label key of reservation resource.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Optional. Corresponds to the label key of reservation resource.
Returns
  • (::String) — Optional. Corresponds to the label key of reservation resource.

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Corresponds to the label values of reservation resource.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Corresponds to the label values of reservation resource.
Returns
  • (::Array<::String>) — Optional. Corresponds to the label values of reservation resource.