Google BigQuery Reservation V1 Client - Class UpdateCapacityCommitmentRequest (2.0.2)

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 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
CapacityCommitment|null

hasCapacityCommitment

clearCapacityCommitment

setCapacityCommitment

Content of the capacity commitment to update.

Parameter
Name Description
var 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 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
UpdateCapacityCommitmentRequest