# Database Migration v1 API - Class CloudSqlConnectionProfile (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.5.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile)

    public sealed class CloudSqlConnectionProfile : IMessage<CloudSqlConnectionProfile>, IEquatable<CloudSqlConnectionProfile>, IDeepCloneable<CloudSqlConnectionProfile>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class CloudSqlConnectionProfile.

Specifies required connection parameters, and, optionally, the parameters
required to create a Cloud SQL destination database instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CloudSqlConnectionProfile

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudSqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudSqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudSqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### CloudSqlConnectionProfile()

    public CloudSqlConnectionProfile()

### CloudSqlConnectionProfile(CloudSqlConnectionProfile)

    public CloudSqlConnectionProfile(CloudSqlConnectionProfile other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlConnectionProfile` |

## Properties

### AdditionalPublicIp

    public string AdditionalPublicIp { get; set; }

Output only. The Cloud SQL database instance's additional (outgoing) public
IP. Used when the Cloud SQL database availability type is REGIONAL (i.e.
multiple zones / highly available).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CloudSqlId

    public string CloudSqlId { get; set; }

Output only. The Cloud SQL instance ID that this connection profile is
associated with.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PrivateIp

    public string PrivateIp { get; set; }

Output only. The Cloud SQL database instance's private IP.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PublicIp

    public string PublicIp { get; set; }

Output only. The Cloud SQL database instance's public IP.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Settings

    public CloudSqlSettings Settings { get; set; }

Immutable. Metadata used to create the destination Cloud SQL database.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CloudSqlSettings` |   |