2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

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

A connection profile definition.

## Inheritance

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

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### ConnectionProfile()

    public ConnectionProfile()

### ConnectionProfile(ConnectionProfile)

    public ConnectionProfile(ConnectionProfile other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConnectionProfile` |

## Properties

### Alloydb

    public AlloyDbConnectionProfile Alloydb { get; set; }

An AlloyDB cluster connection profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AlloyDbConnectionProfile` |   |

### Cloudsql

    public CloudSqlConnectionProfile Cloudsql { get; set; }

A CloudSQL database connection profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CloudSqlConnectionProfile` |   |

### ConnectionProfileCase

    public ConnectionProfile.ConnectionProfileOneofCase ConnectionProfileCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConnectionProfileConnectionProfileOneofCase` |   |

### ConnectionProfileName

    public ConnectionProfileName ConnectionProfileName { get; set; }

[ConnectionProfileName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfileName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile.md.txt#Google_Cloud_CloudDms_V1_ConnectionProfile_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConnectionProfileName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The timestamp when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Example: "2014-10-02T15:01:23.045123456Z".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### DisplayName

    public string DisplayName { get; set; }

The connection profile display name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Error

    public Status Error { get; set; }

Output only. The error details in case of state FAILED.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Status` |   |

### Labels

    public MapField<string, string> Labels { get; }

The resource labels for connection profile to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.

Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Mysql

    public MySqlConnectionProfile Mysql { get; set; }

A MySQL database connection profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MySqlConnectionProfile` |   |

### Name

    public string Name { get; set; }

The name of this connection profile resource in the form of
projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Oracle

    public OracleConnectionProfile Oracle { get; set; }

An Oracle database connection profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OracleConnectionProfile` |   |

### Postgresql

    public PostgreSqlConnectionProfile Postgresql { get; set; }

A PostgreSQL database connection profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PostgreSqlConnectionProfile` |   |

### Provider

    public DatabaseProvider Provider { get; set; }

The database provider.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DatabaseProvider` |   |

### State

    public ConnectionProfile.Types.State State { get; set; }

The current connection profile state (e.g. DRAFT, READY, or FAILED).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConnectionProfileTypesState` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Example: "2014-10-02T15:01:23.045123456Z".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |