Google Cloud Network Connectivity V1 Client - Class SpokeStateReasonCount (1.4.2)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class SpokeStateReasonCount.

The number of spokes in the hub that are inactive for this reason.

Generated from protobuf message google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ SpokeSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state_reason_code int

Output only. The reason that a spoke is inactive.

↳ count int|string

Output only. The total number of spokes that are inactive for a particular reason and associated with a given hub.

getStateReasonCode

Output only. The reason that a spoke is inactive.

Returns
TypeDescription
int

setStateReasonCode

Output only. The reason that a spoke is inactive.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCount

Output only. The total number of spokes that are inactive for a particular reason and associated with a given hub.

Returns
TypeDescription
int|string

setCount

Output only. The total number of spokes that are inactive for a particular reason and associated with a given hub.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this