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

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
Name Description
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
Type Description
Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment|null

hasFirst

clearFirst

setFirst

First capacity commitment, result of a split.

Parameter
Name Description
var Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment
Returns
Type Description
$this

getSecond

Second capacity commitment, result of a split.

Returns
Type Description
Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment|null

hasSecond

clearSecond

setSecond

Second capacity commitment, result of a split.

Parameter
Name Description
var Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment
Returns
Type Description
$this