Google BigQuery Reservation V1 Client - Class MergeCapacityCommitmentsRequest (2.1.1)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
MergeCapacityCommitmentsRequest