Google BigQuery Reservation V1 Client - Class UpdateCapacityCommitmentRequest (1.0.3)

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

The request for ReservationService.UpdateCapacityCommitment.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

Content of the capacity commitment to update.

↳ update_mask Google\Protobuf\FieldMask

Standard field mask for the set of fields to be updated.

getCapacityCommitment

Content of the capacity commitment to update.

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

hasCapacityCommitment

clearCapacityCommitment

setCapacityCommitment

Content of the capacity commitment to update.

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

getUpdateMask

Standard field mask for the set of fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Standard field mask for the set of fields to be updated.

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