2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 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.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ListWorkerPoolsResponse : IMessage<ListWorkerPoolsResponse>, IEquatable<ListWorkerPoolsResponse>, IDeepCloneable<ListWorkerPoolsResponse>, IBufferMessage, IMessage, IPageResponse<WorkerPool>, IEnumerable<WorkerPool>, IEnumerable

Reference documentation and code samples for the Cloud Build v1 API class ListWorkerPoolsResponse.

Response containing existing `WorkerPools`.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListWorkerPoolsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.ListWorkerPoolsResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListWorkerPoolsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.ListWorkerPoolsResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListWorkerPoolsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.ListWorkerPoolsResponse.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt), [IPageResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.md.txt)[WorkerPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.WorkerPool.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[WorkerPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.WorkerPool.md.txt), [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.CloudBuild.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.md.txt)

## Assembly

Google.Cloud.CloudBuild.V1.dll

## Constructors

### ListWorkerPoolsResponse()

    public ListWorkerPoolsResponse()

### ListWorkerPoolsResponse(ListWorkerPoolsResponse)

    public ListWorkerPoolsResponse(ListWorkerPoolsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ListWorkerPoolsResponse` |

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

Continuation token used to page through large result sets. Provide this
value in a subsequent ListWorkerPoolsRequest to return the next page of
results.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### WorkerPools

    public RepeatedField<WorkerPool> WorkerPools { get; }

`WorkerPools` for the specified project.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldWorkerPool` |   |

## Methods

### GetEnumerator()

    public IEnumerator<WorkerPool> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorWorkerPool` |   |