Google BigQuery Reservation V1 Client - Class MergeCapacityCommitmentsRequest (1.2.3)

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

The request for ReservationService.MergeCapacityCommitments.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

↳ capacity_commitment_ids array

Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc

getParent

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

Returns
TypeDescription
string

setParent

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCapacityCommitmentIds

Ids of capacity commitments to merge.

These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCapacityCommitmentIds

Ids of capacity commitments to merge.

These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

capacityCommitmentIds string[]

Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc

Returns
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\MergeCapacityCommitmentsRequest