# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsResponse (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::ListCapacityCommitmentsResponse.

The response for
[ReservationService.ListCapacityCommitments](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_list_capacity_commitments_instance_ "Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#list_capacity_commitments (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #capacity_commitments

    def capacity_commitments() -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment>

**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-CapacityCommitment)\>) --- List of capacity commitments visible to the user.

### #capacity_commitments=

    def capacity_commitments=(value) -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-CapacityCommitment)\>) --- List of capacity commitments visible to the user.
**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-CapacityCommitment)\>) --- List of capacity commitments visible to the user.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.
**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.