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 \ V1Methods
__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., |
↳ 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 |
↳ capacity_commitment_id |
string
Optional. The optional resulting capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. |
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 |
|
getCapacityCommitmentId
Optional. The optional resulting capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty.
This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCapacityCommitmentId
Optional. The optional resulting capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty.
This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters.
| 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.,
|
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 |
|