ReservationAffinity(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Reservation Affinity for consuming Zonal reservation.
Attributes | |
---|---|
Name | Description |
consume_reservation_type |
google.cloud.dataproc_v1.types.ReservationAffinity.Type
Optional. Type of reservation to consume |
key |
str
Optional. Corresponds to the label key of reservation resource. |
values |
MutableSequence[str]
Optional. Corresponds to the label values of reservation resource. |
Classes
Type
Type(value)
Indicates whether to consume capacity from an reservation or not.
Values: TYPE_UNSPECIFIED (0): No description available. NO_RESERVATION (1): Do not consume from any allocated capacity. ANY_RESERVATION (2): Consume any reservation available. SPECIFIC_RESERVATION (3): Must consume from a specific reservation. Must specify key value fields for specifying the reservations.