Reference documentation and code samples for the Google Cloud Design Center V1 Client class SerializedConnection.

Serialized connection.

Generated from protobuf message `google.cloud.designcenter.v1.SerializedConnection`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Optional. The connection URI. |
| `↳ destination_component_uri` | `string` Optional. The destination component URI used to generate the connection. |
| `↳ source_component_parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` Optional. The parameters of the connection associated with the source component. |
| `↳ destination_component_parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` Optional. The parameters of the connection associated with the destination component. |
| `↳ dependency_type` | `int` Output only. The type of the connection (data or logical). |

### getUri

Optional. The connection URI.

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

### setUri

Optional. The connection URI.

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

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

### getDestinationComponentUri

Optional. The destination component URI used to generate the connection.

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

### setDestinationComponentUri

Optional. The destination component URI used to generate the connection.

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

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

### getSourceComponentParameters

Optional. The parameters of the connection associated with the source
component.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` |   |

### setSourceComponentParameters

Optional. The parameters of the connection associated with the source
component.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` |

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

### getDestinationComponentParameters

Optional. The parameters of the connection associated with the destination
component.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` |   |

### setDestinationComponentParameters

Optional. The parameters of the connection associated with the destination
component.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` |

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

### getDependencyType

Output only. The type of the connection (data or logical).

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

### setDependencyType

Output only. The type of the connection (data or logical).

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

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