# Cloud Dataproc V1beta2 API - Module Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API module Google::Cloud::Dataproc::V1beta2::ReservationAffinity::Type.

Indicates whether to consume capacity from an reservation or not.

## Constants

### TYPE_UNSPECIFIED

**value:**0

### NO_RESERVATION

**value:** 1  
Do not consume from any allocated capacity.

### ANY_RESERVATION

**value:** 2  
Consume any reservation available.

### SPECIFIC_RESERVATION

**value:** 3  
Must consume from a specific reservation. Must specify key value fields
for specifying the reservations.