Google BigQuery Reservation V1 Client - Class UpdateCapacityCommitmentRequest (2.2.0)

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ capacity_commitmentCapacityCommitment

Content of the capacity commitment to update.

↳ update_maskGoogle\Protobuf\FieldMask

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

getCapacityCommitment

Content of the capacity commitment to update.

Returns
TypeDescription
CapacityCommitment|null

hasCapacityCommitment

clearCapacityCommitment

setCapacityCommitment

Content of the capacity commitment to update.

Parameter
NameDescription
varCapacityCommitment
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
varGoogle\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
capacityCommitmentCapacityCommitment

Content of the capacity commitment to update.

updateMaskGoogle\Protobuf\FieldMask

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

Returns
TypeDescription
UpdateCapacityCommitmentRequest