# Network Connectivity v1alpha1 API - Class ListHubsResponse (2.0.0-alpha05)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-alpha05 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse)
- [2.0.0-alpha04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/2.0.0-alpha04/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse)
- [1.0.0-alpha03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/1.0.0-alpha03/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse)

    public sealed class ListHubsResponse : IMessage<ListHubsResponse>, IEquatable<ListHubsResponse>, IDeepCloneable<ListHubsResponse>, IBufferMessage, IMessage, IPageResponse<Hub>, IEnumerable<Hub>, IEnumerable

Reference documentation and code samples for the Network Connectivity v1alpha1 API class ListHubsResponse.

Response for \[HubService.ListHubs\]\[google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs\] method.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListHubsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListHubsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListHubsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse), [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)[Hub](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.Hub), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Hub](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.Hub), [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.NetworkConnectivity.V1Alpha1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1)

## Assembly

Google.Cloud.NetworkConnectivity.V1Alpha1.dll

## Constructors

### ListHubsResponse()

    public ListHubsResponse()

### ListHubsResponse(ListHubsResponse)

    public ListHubsResponse(ListHubsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.ListHubsResponse` |

## Properties

### Hubs

    public RepeatedField<Hub> Hubs { get; }

Hubs to be returned.

| **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.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.Hub` |   |

### NextPageToken

    public string NextPageToken { get; set; }

The next pagination token in the List response. It should be used as
page_token for the following request. An empty value means no more result.

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

### Unreachable

    public RepeatedField<string> Unreachable { get; }

Locations that could not be reached.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

## Methods

### GetEnumerator()

    public IEnumerator<Hub> 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.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.Hub` |   |