# Google Cloud Network Connectivity V1 Client - Class HubStatusEntry (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 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` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.PscPropagationStatus|null` |   |

### hasPscPropagationStatus

### clearPscPropagationStatus

### setPscPropagationStatus

The Private Service Connect propagation status.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.PscPropagationStatus` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |