Google BigQuery Reservation V1 Client - Class UpdateCapacityCommitmentRequest (1.3.4)

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

hasCapacityCommitment

clearCapacityCommitment

setCapacityCommitment

Content of the capacity commitment to update.

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

getUpdateMask

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

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
capacityCommitment Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment

Content of the capacity commitment to update.

updateMask Google\Protobuf\FieldMask

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

Returns
Type Description
Google\Cloud\BigQuery\Reservation\V1\UpdateCapacityCommitmentRequest