Reference documentation and code samples for the Google BigQuery Reservation V1 Client class SchedulingPolicy.
The scheduling policy controls how a reservation's resources are distributed.
Generated from protobuf message google.cloud.bigquery.reservation.v1.SchedulingPolicy
Namespace
Google \ Cloud \ BigQuery \ Reservation \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ concurrency |
int|string
Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available. |
↳ max_slots |
int|string
Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available. |
getConcurrency
Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value.
This feature is not yet generally available.
Returns | |
---|---|
Type | Description |
int|string |
hasConcurrency
clearConcurrency
setConcurrency
Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value.
This feature is not yet generally available.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getMaxSlots
Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value.
This feature is not yet generally available.
Returns | |
---|---|
Type | Description |
int|string |
hasMaxSlots
clearMaxSlots
setMaxSlots
Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value.
This feature is not yet generally available.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |