Google BigQuery Reservation V1 Client - Class BiReservation (1.0.3)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class BiReservation.

Represents a BI Reservation.

Generated from protobuf message google.cloud.bigquery.reservation.v1.BiReservation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the singleton BI reservation. Reservation names have the form projects/{project_id}/locations/{location_id}/biReservation.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update timestamp of a reservation.

↳ size int|string

Size of a reservation, in bytes.

↳ preferred_tables array<Google\Cloud\BigQuery\Reservation\V1\TableReference>

Preferred tables to use BI capacity for.

getName

The resource name of the singleton BI reservation.

Reservation names have the form projects/{project_id}/locations/{location_id}/biReservation.

Returns
TypeDescription
string

setName

The resource name of the singleton BI reservation.

Reservation names have the form projects/{project_id}/locations/{location_id}/biReservation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUpdateTime

Output only. The last update timestamp of a reservation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of a reservation.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSize

Size of a reservation, in bytes.

Returns
TypeDescription
int|string

setSize

Size of a reservation, in bytes.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPreferredTables

Preferred tables to use BI capacity for.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPreferredTables

Preferred tables to use BI capacity for.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\Reservation\V1\TableReference>
Returns
TypeDescription
$this