Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class 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.
Generated from protobuf messagegoogle.cloud.networkconnectivity.v1.SpokeSummary
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class SpokeSummary (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.SpokeSummary)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.SpokeSummary)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.SpokeSummary)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.SpokeSummary)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.SpokeSummary)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.SpokeSummary)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.SpokeSummary)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.SpokeSummary)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.SpokeSummary)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.SpokeSummary) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class SpokeSummary.\n\nSummarizes information about the spokes associated with a hub.\n\nThe summary includes a count of spokes according to type\nand according to state. If any spokes are inactive,\nthe summary also lists the reasons they are inactive,\nincluding a count for each reason.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.SpokeSummary`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSpokeTypeCounts\n\nOutput only. Counts the number of spokes of each type that are\nassociated with a specific hub.\n\n### setSpokeTypeCounts\n\nOutput only. Counts the number of spokes of each type that are\nassociated with a specific hub.\n\n### getSpokeStateCounts\n\nOutput only. Counts the number of spokes that are in each state\nand associated with a given hub.\n\n### setSpokeStateCounts\n\nOutput only. Counts the number of spokes that are in each state\nand associated with a given hub.\n\n### getSpokeStateReasonCounts\n\nOutput only. Counts the number of spokes that are inactive for each\npossible reason and associated with a given hub.\n\n### setSpokeStateReasonCounts\n\nOutput only. Counts the number of spokes that are inactive for each\npossible reason and associated with a given hub."]]