Google BigQuery Reservation V1 Client - Class SplitCapacityCommitmentResponse (2.0.2)

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 CapacityCommitment

First capacity commitment, result of a split.

↳ second CapacityCommitment

Second capacity commitment, result of a split.

getFirst

First capacity commitment, result of a split.

Returns
Type Description
CapacityCommitment|null

hasFirst

clearFirst

setFirst

First capacity commitment, result of a split.

Parameter
Name Description
var CapacityCommitment
Returns
Type Description
$this

getSecond

Second capacity commitment, result of a split.

Returns
Type Description
CapacityCommitment|null

hasSecond

clearSecond

setSecond

Second capacity commitment, result of a split.

Parameter
Name Description
var CapacityCommitment
Returns
Type Description
$this