# Google Cloud Network Connectivity V1 Client - Class PscPropagationStatus (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 PscPropagationStatus.

The status of one or more propagated Private Service Connect connections in a
hub.

Generated from protobuf message `google.cloud.networkconnectivity.v1.PscPropagationStatus`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_spoke` | `string` The name of the spoke that the source forwarding rule belongs to. |
| `↳ source_group` | `string` The name of the group that the source spoke belongs to. |
| `↳ source_forwarding_rule` | `string` The name of the forwarding rule exported to the hub. |
| `↳ target_spoke` | `string` The name of the spoke that the source forwarding rule propagates to. |
| `↳ target_group` | `string` The name of the group that the target spoke belongs to. |
| `↳ code` | `int` The propagation status. |
| `↳ message` | `string` The human-readable summary of the Private Service Connect connection propagation status. |

### getSourceSpoke

The name of the spoke that the source forwarding rule belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSourceSpoke

The name of the spoke that the source forwarding rule belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getSourceGroup

The name of the group that the source spoke belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSourceGroup

The name of the group that the source spoke belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getSourceForwardingRule

The name of the forwarding rule exported to the hub.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSourceForwardingRule

The name of the forwarding rule exported to the hub.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getTargetSpoke

The name of the spoke that the source forwarding rule propagates to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTargetSpoke

The name of the spoke that the source forwarding rule propagates to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getTargetGroup

The name of the group that the target spoke belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTargetGroup

The name of the group that the target spoke belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getCode

The propagation status.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Code](https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.PscPropagationStatus.Code). |

### setCode

The propagation status.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Code](https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.PscPropagationStatus.Code). |

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

### getMessage

The human-readable summary of the Private Service Connect connection
propagation status.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMessage

The human-readable summary of the Private Service Connect connection
propagation status.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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