Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::ReservationAffinity (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::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::Dataproc::V1beta2::ReservationAffinity::Type
Returns

#consume_reservation_type=

def consume_reservation_type=(value) -> ::Google::Cloud::Dataproc::V1beta2::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.