# Network Connectivity V1alpha1 API - Class Google::Cloud::NetworkConnectivity::V1alpha1::GetHubRequest (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::GetHubRequest.

Request for [HubService.GetHub](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_get_hub_instance_ "Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client#get_hub (method)") method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the Hub resource to get.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the Hub resource to get.
**Returns**

- (::String) --- Required. Name of the Hub resource to get.