# Network Connectivity V1alpha1 API - Class Google::Cloud::NetworkConnectivity::V1alpha1::ListHubsResponse (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.5 Reference documentation and code samples for the Network Connectivity V1alpha1 API class Google::Cloud::NetworkConnectivity::V1alpha1::ListHubsResponse.

Response for [HubService.ListHubs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1alpha1/latest/Google-Cloud-NetworkConnectivity-V1alpha1-HubService-Client#Google__Cloud__NetworkConnectivity__V1alpha1__HubService__Client_list_hubs_instance_ "Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#list_hubs (method)") method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #hubs

    def hubs() -> ::Array<::Google::Cloud::NetworkConnectivity::V1alpha1::Hub>

**Returns**

- (::Array\<[::Google::Cloud::NetworkConnectivity::V1alpha1::Hub](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1alpha1/latest/Google-Cloud-NetworkConnectivity-V1alpha1-Hub)\>) --- Hubs to be returned.

### #hubs=

    def hubs=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1alpha1::Hub>

**Parameter**

- **value** (::Array\<[::Google::Cloud::NetworkConnectivity::V1alpha1::Hub](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1alpha1/latest/Google-Cloud-NetworkConnectivity-V1alpha1-Hub)\>) --- Hubs to be returned.
**Returns**

- (::Array\<[::Google::Cloud::NetworkConnectivity::V1alpha1::Hub](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1alpha1/latest/Google-Cloud-NetworkConnectivity-V1alpha1-Hub)\>) --- Hubs to be returned.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

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

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

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

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

### #unreachable

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

**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.

### #unreachable=

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

**Parameter**

- **value** (::Array\<::String\>) --- Locations that could not be reached.
**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.