public sealed class DiscoverConnectionProfileRequest : IMessage<DiscoverConnectionProfileRequest>, IEquatable<DiscoverConnectionProfileRequest>, IDeepCloneable<DiscoverConnectionProfileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1 API class DiscoverConnectionProfileRequest.
Request message for 'discover' ConnectionProfile request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDiscoverConnectionProfileRequest\u003c/code\u003e class is 2.9.0, part of the Google.Cloud.Datastream.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a request message used for discovering connection profiles, offering functionalities to retrieve details about database schemas and structures.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscoverConnectionProfileRequest\u003c/code\u003e class supports various database types such as MySQL, Oracle, PostgreSQL, and SQL Server, allowing enrichment with child data objects and metadata for each.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify whether to retrieve the full hierarchy of data objects or just the current level, and control the depth of the hierarchy to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and can be constructed either with default parameters or by cloning another instance of itself.\u003c/p\u003e\n"]]],[],null,["# DataStream v1 API - Class DiscoverConnectionProfileRequest (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.10.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.9.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.8.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.7.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.6.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.5.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.4.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.3.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.2.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.1.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.0.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/1.0.0/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest) \n\n public sealed class DiscoverConnectionProfileRequest : IMessage\u003cDiscoverConnectionProfileRequest\u003e, IEquatable\u003cDiscoverConnectionProfileRequest\u003e, IDeepCloneable\u003cDiscoverConnectionProfileRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the DataStream v1 API class DiscoverConnectionProfileRequest.\n\nRequest message for 'discover' ConnectionProfile request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiscoverConnectionProfileRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoverConnectionProfileRequest](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoverConnectionProfileRequest](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoverConnectionProfileRequest](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest), [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.Datastream.V1](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastream.V1.dll\n\nConstructors\n------------\n\n### DiscoverConnectionProfileRequest()\n\n public DiscoverConnectionProfileRequest()\n\n### DiscoverConnectionProfileRequest(DiscoverConnectionProfileRequest)\n\n public DiscoverConnectionProfileRequest(DiscoverConnectionProfileRequest other)\n\nProperties\n----------\n\n### ConnectionProfile\n\n public ConnectionProfile ConnectionProfile { get; set; }\n\nAn ad-hoc connection profile configuration.\n\n### ConnectionProfileName\n\n public string ConnectionProfileName { get; set; }\n\nA reference to an existing connection profile.\n\n### DataObjectCase\n\n public DiscoverConnectionProfileRequest.DataObjectOneofCase DataObjectCase { get; }\n\n### FullHierarchy\n\n public bool FullHierarchy { get; set; }\n\nWhether to retrieve the full hierarchy of data objects (TRUE) or only the\ncurrent level (FALSE).\n\n### HasConnectionProfileName\n\n public bool HasConnectionProfileName { get; }\n\nGets whether the \"connection_profile_name\" field is set\n\n### HasFullHierarchy\n\n public bool HasFullHierarchy { get; }\n\nGets whether the \"full_hierarchy\" field is set\n\n### HasHierarchyDepth\n\n public bool HasHierarchyDepth { get; }\n\nGets whether the \"hierarchy_depth\" field is set\n\n### HierarchyCase\n\n public DiscoverConnectionProfileRequest.HierarchyOneofCase HierarchyCase { get; }\n\n### HierarchyDepth\n\n public int HierarchyDepth { get; set; }\n\nThe number of hierarchy levels below the current level to be retrieved.\n\n### MongodbCluster\n\n public MongodbCluster MongodbCluster { get; set; }\n\nMongoDB cluster to enrich with child data objects and metadata.\n\n### MysqlRdbms\n\n public MysqlRdbms MysqlRdbms { get; set; }\n\nMySQL RDBMS to enrich with child data objects and metadata.\n\n### OracleRdbms\n\n public OracleRdbms OracleRdbms { get; set; }\n\nOracle RDBMS to enrich with child data objects and metadata.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the connection profile type. Must be in\nthe format `projects/*/locations/*`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.DiscoverConnectionProfileRequest#Google_Cloud_Datastream_V1_DiscoverConnectionProfileRequest_Parent) resource name property.\n\n### PostgresqlRdbms\n\n public PostgresqlRdbms PostgresqlRdbms { get; set; }\n\nPostgreSQL RDBMS to enrich with child data objects and metadata.\n\n### SalesforceOrg\n\n public SalesforceOrg SalesforceOrg { get; set; }\n\nSalesforce organization to enrich with child data objects and metadata.\n\n### SqlServerRdbms\n\n public SqlServerRdbms SqlServerRdbms { get; set; }\n\nSQLServer RDBMS to enrich with child data objects and metadata.\n\n### TargetCase\n\n public DiscoverConnectionProfileRequest.TargetOneofCase TargetCase { get; }"]]