Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ReservationAffinity.
Reservation Affinity for consuming Zonal reservation.
Generated from protobuf message google.cloud.dataproc.v1.ReservationAffinity
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ consume_reservation_type
int
Optional. Type of reservation to consume
↳ key
string
Optional. Corresponds to the label key of reservation resource.
↳ values
array
Optional. Corresponds to the label values of reservation resource.
getConsumeReservationType
Optional. Type of reservation to consume
Generated from protobuf field .google.cloud.dataproc.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
int
setConsumeReservationType
Optional. Type of reservation to consume
Generated from protobuf field .google.cloud.dataproc.v1.ReservationAffinity.Type consume_reservation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
var
int
$this
getKey
Optional. Corresponds to the label key of reservation resource.
Generated from protobuf field string key = 2 [(.google.api.field_behavior) = OPTIONAL];
string
setKey
Optional. Corresponds to the label key of reservation resource.
Generated from protobuf field string key = 2 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getValues
Optional. Corresponds to the label values of reservation resource.
Generated from protobuf field repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\RepeatedField
setValues
Optional. Corresponds to the label values of reservation resource.
Generated from protobuf field repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
var
string[]
$this