# Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::SpokeSummary (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::SpokeSummary.

Summarizes information about the spokes associated with a hub.
The summary includes a count of spokes according to type
and according to state. If any spokes are inactive,
the summary also lists the reasons they are inactive,
including a count for each reason.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #spoke_state_counts

    def spoke_state_counts() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateCount>

**Returns**

- (::Array\<[::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateCount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Cloud-NetworkConnectivity-V1-SpokeSummary-SpokeStateCount)\>) --- Output only. Counts the number of spokes that are in each state and associated with a given hub.

### #spoke_state_reason_counts

    def spoke_state_reason_counts() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateReasonCount>

**Returns**

- (::Array\<[::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeStateReasonCount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Cloud-NetworkConnectivity-V1-SpokeSummary-SpokeStateReasonCount)\>) --- Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

### #spoke_type_counts

    def spoke_type_counts() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeTypeCount>

**Returns**

- (::Array\<[::Google::Cloud::NetworkConnectivity::V1::SpokeSummary::SpokeTypeCount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Cloud-NetworkConnectivity-V1-SpokeSummary-SpokeTypeCount)\>) --- Output only. Counts the number of spokes of each type that are associated with a specific hub.