# BigQuery Reservation v1 API - Class ListCapacityCommitmentsResponse (2.12.0)

2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public sealed class ListCapacityCommitmentsResponse : IMessage<ListCapacityCommitmentsResponse>, IEquatable<ListCapacityCommitmentsResponse>, IDeepCloneable<ListCapacityCommitmentsResponse>, IBufferMessage, IMessage, IPageResponse<CapacityCommitment>, IEnumerable<CapacityCommitment>, IEnumerable

Reference documentation and code samples for the BigQuery Reservation v1 API class ListCapacityCommitmentsResponse.

The response for
\[ReservationService.ListCapacityCommitments\]\[google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ListCapacityCommitmentsResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListCapacityCommitmentsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ListCapacityCommitmentsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListCapacityCommitmentsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ListCapacityCommitmentsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListCapacityCommitmentsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ListCapacityCommitmentsResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[CapacityCommitment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.CapacityCommitment), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[CapacityCommitment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.CapacityCommitment), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.Reservation.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1)

## Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

## Constructors

### ListCapacityCommitmentsResponse()

    public ListCapacityCommitmentsResponse()

### ListCapacityCommitmentsResponse(ListCapacityCommitmentsResponse)

    public ListCapacityCommitmentsResponse(ListCapacityCommitmentsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ListCapacityCommitmentsResponse` |

## Properties

### CapacityCommitments

    public RepeatedField<CapacityCommitment> CapacityCommitments { get; }

List of capacity commitments visible to the user.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.CapacityCommitment` |   |

### NextPageToken

    public string NextPageToken { get; set; }

Token to retrieve the next page of results, or empty if there are no
more results in the list.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

## Methods

### GetEnumerator()

    public IEnumerator<CapacityCommitment> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.CapacityCommitment` |   |