Google Cloud Network Connectivity V1 Client - Class HubStatusEntry (2.1.0)

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

A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.

Generated from protobuf message google.cloud.networkconnectivity.v1.HubStatusEntry

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ count int

The number of propagated Private Service Connect connections with this status. If the group_by field was not set in the request message, the value of this field is 1.

↳ group_by string

The fields that this entry is grouped by. This has the same value as the group_by field in the request message.

↳ psc_propagation_status PscPropagationStatus

The Private Service Connect propagation status.

getCount

The number of propagated Private Service Connect connections with this status. If the group_by field was not set in the request message, the value of this field is 1.

Returns
Type Description
int

setCount

The number of propagated Private Service Connect connections with this status. If the group_by field was not set in the request message, the value of this field is 1.

Parameter
Name Description
var int
Returns
Type Description
$this

getGroupBy

The fields that this entry is grouped by. This has the same value as the group_by field in the request message.

Returns
Type Description
string

setGroupBy

The fields that this entry is grouped by. This has the same value as the group_by field in the request message.

Parameter
Name Description
var string
Returns
Type Description
$this

getPscPropagationStatus

The Private Service Connect propagation status.

Returns
Type Description
PscPropagationStatus|null

hasPscPropagationStatus

clearPscPropagationStatus

setPscPropagationStatus

The Private Service Connect propagation status.

Parameter
Name Description
var PscPropagationStatus
Returns
Type Description
$this