Class: Google::Cloud::Dataproc::V1beta2::ReservationAffinity
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1beta2::ReservationAffinity
- Defined in:
- lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb
Overview
Reservation Affinity for consuming Zonal reservation.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#consume_reservation_type ⇒ Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type
Optional.
-
#key ⇒ String
Optional.
-
#values ⇒ Array<String>
Optional.
Instance Attribute Details
#consume_reservation_type ⇒ Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type
Returns Optional. Type of reservation to consume.
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 |
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 822 class ReservationAffinity # Indicates whether to consume capacity from an reservation or not. module Type TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any reservation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |
#key ⇒ String
Returns Optional. Corresponds to the label key of reservation resource.
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 |
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 822 class ReservationAffinity # Indicates whether to consume capacity from an reservation or not. module Type TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any reservation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |
#values ⇒ Array<String>
Returns Optional. Corresponds to the label values of reservation resource.
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 |
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 822 class ReservationAffinity # Indicates whether to consume capacity from an reservation or not. module Type TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any reservation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |