Google BigQuery Reservation V1 Client - Class SplitCapacityCommitmentResponse (1.2.3)

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

The response for ReservationService.SplitCapacityCommitment.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ first Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment

First capacity commitment, result of a split.

↳ second Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment

Second capacity commitment, result of a split.

getFirst

First capacity commitment, result of a split.

Returns
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment|null

hasFirst

clearFirst

setFirst

First capacity commitment, result of a split.

Parameter
NameDescription
var Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment
Returns
TypeDescription
$this

getSecond

Second capacity commitment, result of a split.

Returns
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment|null

hasSecond

clearSecond

setSecond

Second capacity commitment, result of a split.

Parameter
NameDescription
var Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment
Returns
TypeDescription
$this