# Datastream V1 API - Class Google::Cloud::Datastream::V1::DiscoverConnectionProfileRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::DiscoverConnectionProfileRequest.

Request message for 'discover' ConnectionProfile request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #connection_profile

    def connection_profile() -> ::Google::Cloud::Datastream::V1::ConnectionProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::ConnectionProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ConnectionProfile)) --- An ad-hoc connection profile configuration.


  Note: The following fields are mutually exclusive: `connection_profile`, `connection_profile_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #connection_profile=

    def connection_profile=(value) -> ::Google::Cloud::Datastream::V1::ConnectionProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::ConnectionProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ConnectionProfile)) --- An ad-hoc connection profile configuration.


  Note: The following fields are mutually exclusive: `connection_profile`, `connection_profile_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::ConnectionProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ConnectionProfile)) --- An ad-hoc connection profile configuration.


  Note: The following fields are mutually exclusive: `connection_profile`, `connection_profile_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #connection_profile_name

    def connection_profile_name() -> ::String

**Returns**

- (::String) --- A reference to an existing connection profile.

  Note: The following fields are mutually exclusive: `connection_profile_name`, `connection_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #connection_profile_name=

    def connection_profile_name=(value) -> ::String

**Parameter**

- **value** (::String) --- A reference to an existing connection profile.


  Note: The following fields are mutually exclusive: `connection_profile_name`, `connection_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- A reference to an existing connection profile.

  Note: The following fields are mutually exclusive: `connection_profile_name`, `connection_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #full_hierarchy

    def full_hierarchy() -> ::Boolean

**Returns**

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

  Note: The following fields are mutually exclusive: `full_hierarchy`, `hierarchy_depth`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #full_hierarchy=

    def full_hierarchy=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).


  Note: The following fields are mutually exclusive: `full_hierarchy`, `hierarchy_depth`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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

  Note: The following fields are mutually exclusive: `full_hierarchy`, `hierarchy_depth`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #hierarchy_depth

    def hierarchy_depth() -> ::Integer

**Returns**

- (::Integer) --- The number of hierarchy levels below the current level to be retrieved.

  Note: The following fields are mutually exclusive: `hierarchy_depth`, `full_hierarchy`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #hierarchy_depth=

    def hierarchy_depth=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of hierarchy levels below the current level to be retrieved.


  Note: The following fields are mutually exclusive: `hierarchy_depth`, `full_hierarchy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- The number of hierarchy levels below the current level to be retrieved.

  Note: The following fields are mutually exclusive: `hierarchy_depth`, `full_hierarchy`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mongodb_cluster

    def mongodb_cluster() -> ::Google::Cloud::Datastream::V1::MongodbCluster

**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB cluster to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mongodb_cluster`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mongodb_cluster=

    def mongodb_cluster=(value) -> ::Google::Cloud::Datastream::V1::MongodbCluster

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB cluster to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mongodb_cluster`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbCluster)) --- MongoDB cluster to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mongodb_cluster`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_rdbms

    def mysql_rdbms() -> ::Google::Cloud::Datastream::V1::MysqlRdbms

**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlRdbms)) --- MySQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mysql_rdbms`, `oracle_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_rdbms=

    def mysql_rdbms=(value) -> ::Google::Cloud::Datastream::V1::MysqlRdbms

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MysqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlRdbms)) --- MySQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mysql_rdbms`, `oracle_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlRdbms)) --- MySQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `mysql_rdbms`, `oracle_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_rdbms

    def oracle_rdbms() -> ::Google::Cloud::Datastream::V1::OracleRdbms

**Returns**

- ([::Google::Cloud::Datastream::V1::OracleRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleRdbms)) --- Oracle RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_rdbms=

    def oracle_rdbms=(value) -> ::Google::Cloud::Datastream::V1::OracleRdbms

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::OracleRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleRdbms)) --- Oracle RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::OracleRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleRdbms)) --- Oracle RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`.

### #postgresql_rdbms

    def postgresql_rdbms() -> ::Google::Cloud::Datastream::V1::PostgresqlRdbms

**Returns**

- ([::Google::Cloud::Datastream::V1::PostgresqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlRdbms)) --- PostgreSQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `postgresql_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #postgresql_rdbms=

    def postgresql_rdbms=(value) -> ::Google::Cloud::Datastream::V1::PostgresqlRdbms

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::PostgresqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlRdbms)) --- PostgreSQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `postgresql_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::PostgresqlRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlRdbms)) --- PostgreSQL RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `postgresql_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `sql_server_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #salesforce_org

    def salesforce_org() -> ::Google::Cloud::Datastream::V1::SalesforceOrg

**Returns**

- ([::Google::Cloud::Datastream::V1::SalesforceOrg](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceOrg)) --- Salesforce organization to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `salesforce_org`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #salesforce_org=

    def salesforce_org=(value) -> ::Google::Cloud::Datastream::V1::SalesforceOrg

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SalesforceOrg](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceOrg)) --- Salesforce organization to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `salesforce_org`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SalesforceOrg](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceOrg)) --- Salesforce organization to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `salesforce_org`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `sql_server_rdbms`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_rdbms

    def sql_server_rdbms() -> ::Google::Cloud::Datastream::V1::SqlServerRdbms

**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerRdbms)) --- SQLServer RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `sql_server_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_rdbms=

    def sql_server_rdbms=(value) -> ::Google::Cloud::Datastream::V1::SqlServerRdbms

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SqlServerRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerRdbms)) --- SQLServer RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `sql_server_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerRdbms](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerRdbms)) --- SQLServer RDBMS to enrich with child data objects and metadata.


  Note: The following fields are mutually exclusive: `sql_server_rdbms`, `oracle_rdbms`, `mysql_rdbms`, `postgresql_rdbms`, `salesforce_org`, `mongodb_cluster`. If a field in that set is populated, all other fields in the set will automatically be cleared.