Google BigQuery Reservation V1 Client - Class Autoscale (1.1.2)

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
NameDescription
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
TypeDescription
int|string

setCurrentSlots

Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMaxSlots

Number of slots to be scaled when needed.

Returns
TypeDescription
int|string

setMaxSlots

Number of slots to be scaled when needed.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this