# DataStream v1alpha1 API - Class DiscoverConnectionProfileRequest (2.0.0-alpha06)

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

- [2.0.0-alpha06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest)
- [2.0.0-alpha05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/2.0.0-alpha05/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest)
- [1.0.0-beta02](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/1.0.0-beta02/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest)

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

Reference documentation and code samples for the DataStream v1alpha1 API class DiscoverConnectionProfileRequest.

Request message for 'discover' ConnectionProfile request.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoverConnectionProfileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoverConnectionProfileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoverConnectionProfileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.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)

## 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.Datastream.V1Alpha1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1)

## Assembly

Google.Cloud.Datastream.V1Alpha1.dll

## Constructors

### DiscoverConnectionProfileRequest()

    public DiscoverConnectionProfileRequest()

### DiscoverConnectionProfileRequest(DiscoverConnectionProfileRequest)

    public DiscoverConnectionProfileRequest(DiscoverConnectionProfileRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest` |

## Properties

### ConnectionProfile

    public ConnectionProfile ConnectionProfile { get; set; }

An ad-hoc ConnectionProfile configuration.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.ConnectionProfile` |   |

### ConnectionProfileName

    public string ConnectionProfileName { get; set; }

A reference to an existing ConnectionProfile.

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

### DataObjectCase

    public DiscoverConnectionProfileRequest.DataObjectOneofCase DataObjectCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest.DataObjectOneofCase` |   |

### DepthCase

    public DiscoverConnectionProfileRequest.DepthOneofCase DepthCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest.DepthOneofCase` |   |

### HasConnectionProfileName

    public bool HasConnectionProfileName { get; }

Gets whether the "connection_profile_name" field is set

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

### HasRecursionDepth

    public bool HasRecursionDepth { get; }

Gets whether the "recursion_depth" field is set

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

### HasRecursive

    public bool HasRecursive { get; }

Gets whether the "recursive" field is set

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

### MysqlRdbms

    public MysqlRdbms MysqlRdbms { get; set; }

MySQL RDBMS to enrich with child data objects and metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlRdbms` |   |

### OracleRdbms

    public OracleRdbms OracleRdbms { get; set; }

Oracle RDBMS to enrich with child data objects and metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.OracleRdbms` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource of the ConnectionProfile type. Must be in the
format `projects/*/locations/*`.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest#Google_Cloud_Datastream_V1Alpha1_DiscoverConnectionProfileRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### RecursionDepth

    public int RecursionDepth { get; set; }

The number of hierarchy levels below the current level to be retrieved.

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

### Recursive

    public bool Recursive { get; set; }

Whether to retrieve the full hierarchy of data objects (TRUE) or only the
current level (FALSE).

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

### TargetCase

    public DiscoverConnectionProfileRequest.TargetOneofCase TargetCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.DiscoverConnectionProfileRequest.TargetOneofCase` |   |