Google Cloud Network Connectivity V1 Client - Class SpokeSummary (1.5.0)

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 message google.cloud.networkconnectivity.v1.SpokeSummary

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ spoke_type_counts array<Google\Cloud\NetworkConnectivity\V1\SpokeSummary\SpokeTypeCount>

Output only. Counts the number of spokes of each type that are associated with a specific hub.

↳ spoke_state_counts array<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 array<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.

getSpokeTypeCounts

Output only. Counts the number of spokes of each type that are associated with a specific hub.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSpokeTypeCounts

Output only. Counts the number of spokes of each type that are associated with a specific hub.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\SpokeSummary\SpokeTypeCount>
Returns
TypeDescription
$this

getSpokeStateCounts

Output only. Counts the number of spokes that are in each state and associated with a given hub.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSpokeStateCounts

Output only. Counts the number of spokes that are in each state and associated with a given hub.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\SpokeSummary\SpokeStateCount>
Returns
TypeDescription
$this

getSpokeStateReasonCounts

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSpokeStateReasonCounts

Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\SpokeSummary\SpokeStateReasonCount>
Returns
TypeDescription
$this