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

defconsume_reservation_type()->::Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type
Returns

#consume_reservation_type=

defconsume_reservation_type=(value)->::Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type
Parameter
Returns

#key

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

#key=

defkey=(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

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

#values=

defvalues=(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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.