Google BigQuery Reservation V1 Client - Class BiReservation (2.0.0-RC1)

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

The resource name of the singleton BI reservation.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUpdateTime

Output only. The last update timestamp of a reservation.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of a reservation.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSize

Size of a reservation, in bytes.

Returns
Type Description
int|string

setSize

Size of a reservation, in bytes.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPreferredTables

Preferred tables to use BI capacity for.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPreferredTables

Preferred tables to use BI capacity for.

Parameter
Name Description
var array<Google\Cloud\BigQuery\Reservation\V1\TableReference>
Returns
Type Description
$this