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

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

The number of spokes of a given type that are associated with a specific hub. The type indicates what kind of resource is associated with the spoke.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ SpokeSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ spoke_type int

Output only. The type of the spokes.

↳ count int|string

Output only. The total number of spokes of this type that are associated with the hub.

getSpokeType

Output only. The type of the spokes.

Returns
TypeDescription
int

setSpokeType

Output only. The type of the spokes.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCount

Output only. The total number of spokes of this type that are associated with the hub.

Returns
TypeDescription
int|string

setCount

Output only. The total number of spokes of this type that are associated with the hub.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this