# Google Cloud Dms V1 Client - Class AlloyDbConnectionProfile (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class AlloyDbConnectionProfile.

Specifies required connection parameters, and the parameters
required to create an AlloyDB destination cluster.

Generated from protobuf message `google.cloud.clouddms.v1.AlloyDbConnectionProfile`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cluster_id` | `string` Required. The AlloyDB cluster ID that this connection profile is associated with. |
| `↳ settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.AlloyDbSettings` Immutable. Metadata used to create the destination AlloyDB cluster. |

### getClusterId

Required. The AlloyDB cluster ID that this connection profile is associated
with.

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

### setClusterId

Required. The AlloyDB cluster ID that this connection profile is associated
with.

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

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

### getSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.AlloyDbSettings|null` |   |

### hasSettings

### clearSettings

### setSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

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

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