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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ spoke_type_counts array<SpokeSummary\SpokeTypeCount>

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

↳ spoke_state_counts array<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<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
Type Description
Google\Protobuf\Internal\RepeatedField

setSpokeTypeCounts

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

Parameter
Name Description
var array<SpokeSummary\SpokeTypeCount>
Returns
Type Description
$this

getSpokeStateCounts

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSpokeStateCounts

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

Parameter
Name Description
var array<SpokeSummary\SpokeStateCount>
Returns
Type Description
$this

getSpokeStateReasonCounts

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

Returns
Type Description
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
Name Description
var array<SpokeSummary\SpokeStateReasonCount>
Returns
Type Description
$this