public sealed class OracleConnectionProfile : IMessage<OracleConnectionProfile>, IEquatable<OracleConnectionProfile>, IDeepCloneable<OracleConnectionProfile>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class OracleConnectionProfile.
Specifies connection parameters required specifically for Oracle
databases.
Required. Input only. The password for the user that Database Migration
Service will be using to connect to the database. This field is not
returned on request, and the value is encrypted when stored in Database
Migration Service.
Required. The username that Database Migration Service will use to connect
to the database. The value is encrypted when stored in Database Migration
Service.
[[["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\u003eThe \u003ccode\u003eOracleConnectionProfile\u003c/code\u003e class in the Database Migration v1 API is used to specify connection parameters for Oracle databases.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eOracleConnectionProfile\u003c/code\u003e is 2.5.0, with older versions available for reference, ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class requires properties like \u003ccode\u003eHost\u003c/code\u003e, \u003ccode\u003ePort\u003c/code\u003e, \u003ccode\u003eUsername\u003c/code\u003e, \u003ccode\u003ePassword\u003c/code\u003e and \u003ccode\u003eDatabaseService\u003c/code\u003e to establish a connection, while offering connectivity options like Forward SSH tunnel, private connectivity, or static service IP.\u003c/p\u003e\n"],["\u003cp\u003eThe class can use SSL configuration, supporting only \u003ccode\u003eSERVER_ONLY\u003c/code\u003e for Oracle versions 12 and above.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOracleConnectionProfile\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces like \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"]]],[],null,["# Database Migration v1 API - Class OracleConnectionProfile (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.OracleConnectionProfile)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.OracleConnectionProfile) \n\n public sealed class OracleConnectionProfile : IMessage\u003cOracleConnectionProfile\u003e, IEquatable\u003cOracleConnectionProfile\u003e, IDeepCloneable\u003cOracleConnectionProfile\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class OracleConnectionProfile.\n\nSpecifies connection parameters required specifically for Oracle\ndatabases. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OracleConnectionProfile \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OracleConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.OracleConnectionProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OracleConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.OracleConnectionProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OracleConnectionProfile](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.OracleConnectionProfile), [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### OracleConnectionProfile()\n\n public OracleConnectionProfile()\n\n### OracleConnectionProfile(OracleConnectionProfile)\n\n public OracleConnectionProfile(OracleConnectionProfile other)\n\nProperties\n----------\n\n### ConnectivityCase\n\n public OracleConnectionProfile.ConnectivityOneofCase ConnectivityCase { get; }\n\n### DatabaseService\n\n public string DatabaseService { get; set; }\n\nRequired. Database service for the Oracle connection.\n\n### ForwardSshConnectivity\n\n public ForwardSshTunnelConnectivity ForwardSshConnectivity { get; set; }\n\nForward SSH tunnel connectivity.\n\n### Host\n\n public string Host { get; set; }\n\nRequired. The IP or hostname of the source Oracle database.\n\n### Password\n\n public string Password { get; set; }\n\nRequired. Input only. The password for the user that Database Migration\nService will be using to connect to the database. This field is not\nreturned on request, and the value is encrypted when stored in Database\nMigration Service.\n\n### PasswordSet\n\n public bool PasswordSet { get; set; }\n\nOutput only. Indicates whether a new password is included in the request.\n\n### Port\n\n public int Port { get; set; }\n\nRequired. The network port of the source Oracle database.\n\n### PrivateConnectivity\n\n public PrivateConnectivity PrivateConnectivity { get; set; }\n\nPrivate connectivity.\n\n### Ssl\n\n public SslConfig Ssl { get; set; }\n\nSSL configuration for the connection to the source Oracle database.\n\n- Only `SERVER_ONLY` configuration is supported for Oracle SSL.\n- SSL is supported for Oracle versions 12 and above.\n\n### StaticServiceIpConnectivity\n\n public StaticServiceIpConnectivity StaticServiceIpConnectivity { get; set; }\n\nStatic Service IP connectivity.\n\n### Username\n\n public string Username { get; set; }\n\nRequired. The username that Database Migration Service will use to connect\nto the database. The value is encrypted when stored in Database Migration\nService."]]