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

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

The number of spokes that are in a particular state and associated with a given hub.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ SpokeSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

Output only. The state of the spokes.

↳ count int|string

Output only. The total number of spokes that are in this state and associated with a given hub.

getState

Output only. The state of the spokes.

Returns
TypeDescription
int

setState

Output only. The state of the spokes.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCount

Output only. The total number of spokes that are in this state and associated with a given hub.

Returns
TypeDescription
int|string

setCount

Output only. The total number of spokes that are in this state and associated with a given hub.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this