# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::MergeCapacityCommitmentsRequest (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.2 Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::MergeCapacityCommitmentsRequest.

The request for
[ReservationService.MergeCapacityCommitments](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-ReservationService-Client#Google__Cloud__Bigquery__Reservation__V1__ReservationService__Client_merge_capacity_commitments_instance_ "Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#merge_capacity_commitments (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #capacity_commitment_id

    def capacity_commitment_id() -> ::String

**Returns**

- (::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.

### #capacity_commitment_id=

    def capacity_commitment_id=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #capacity_commitment_ids

    def capacity_commitment_ids() -> ::Array<::String>

**Returns**

- (::Array\<::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

### #capacity_commitment_ids=

    def capacity_commitment_ids=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::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**

- (::Array\<::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

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
**Returns**

- (::String) --- Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`