Reference documentation and code samples for the Google BigQuery Reservation V1 Client class Autoscale.
Auto scaling settings.
Generated from protobuf message google.cloud.bigquery.reservation.v1.Reservation.Autoscale
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ current_slots |
int|string
Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots]. |
↳ max_slots |
int|string
Number of slots to be scaled when needed. |
getCurrentSlots
Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].
Returns | |
---|---|
Type | Description |
int|string |
setCurrentSlots
Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getMaxSlots
Number of slots to be scaled when needed.
Returns | |
---|---|
Type | Description |
int|string |
setMaxSlots
Number of slots to be scaled when needed.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |