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.
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".
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.
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eConnectionProfile\u003c/code\u003e class within the Google Cloud Database Migration v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionProfile\u003c/code\u003e class represents a definition for a database connection profile and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for various database types like AlloyDB, CloudSQL, MySQL, Oracle, and PostgreSQL, allowing configuration of different connection profiles.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the properties of the \u003ccode\u003eConnectionProfile\u003c/code\u003e class, including its name, display name, creation and update timestamps, as well as its current state and error details.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available, with version 2.5.0 being the latest, and it links to versions back to 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class ConnectionProfile (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.ConnectionProfile)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.ConnectionProfile) \n\n public sealed class ConnectionProfile : IMessage\u003cConnectionProfile\u003e, IEquatable\u003cConnectionProfile\u003e, IDeepCloneable\u003cConnectionProfile\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class ConnectionProfile.\n\nA connection profile definition. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConnectionProfile \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### ConnectionProfile()\n\n public ConnectionProfile()\n\n### ConnectionProfile(ConnectionProfile)\n\n public ConnectionProfile(ConnectionProfile other)\n\nProperties\n----------\n\n### Alloydb\n\n public AlloyDbConnectionProfile Alloydb { get; set; }\n\nAn AlloyDB cluster connection profile.\n\n### Cloudsql\n\n public CloudSqlConnectionProfile Cloudsql { get; set; }\n\nA CloudSQL database connection profile.\n\n### ConnectionProfileCase\n\n public ConnectionProfile.ConnectionProfileOneofCase ConnectionProfileCase { get; }\n\n### ConnectionProfileName\n\n public ConnectionProfileName ConnectionProfileName { get; set; }\n\n[ConnectionProfileName](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfileName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConnectionProfile#Google_Cloud_CloudDms_V1_ConnectionProfile_Name) resource name property.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp when the resource was created.\nA timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds.\nExample: \"2014-10-02T15:01:23.045123456Z\".\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe connection profile display name.\n\n### Error\n\n public Status Error { get; set; }\n\nOutput only. The error details in case of state FAILED.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nThe resource labels for connection profile to use to annotate any related\nunderlying resources such as Compute Engine VMs. An object containing a\nlist of \"key\": \"value\" pairs.\n\nExample: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`.\n\n### Mysql\n\n public MySqlConnectionProfile Mysql { get; set; }\n\nA MySQL database connection profile.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of this connection profile resource in the form of\nprojects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.\n\n### Oracle\n\n public OracleConnectionProfile Oracle { get; set; }\n\nAn Oracle database connection profile.\n\n### Postgresql\n\n public PostgreSqlConnectionProfile Postgresql { get; set; }\n\nA PostgreSQL database connection profile.\n\n### Provider\n\n public DatabaseProvider Provider { get; set; }\n\nThe database provider.\n\n### State\n\n public ConnectionProfile.Types.State State { get; set; }\n\nThe current connection profile state (e.g. DRAFT, READY, or FAILED).\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the resource was last updated.\nA timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds.\nExample: \"2014-10-02T15:01:23.045123456Z\"."]]