# Datastream V1 API - Class Google::Cloud::Datastream::V1::ConnectionProfile (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::ConnectionProfile.

A set of reusable connection configurations to be used as a source or
destination for a stream.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #bigquery_profile

    def bigquery_profile() -> ::Google::Cloud::Datastream::V1::BigQueryProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryProfile)) --- BigQuery Connection Profile configuration.


  Note: The following fields are mutually exclusive: `bigquery_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #bigquery_profile=

    def bigquery_profile=(value) -> ::Google::Cloud::Datastream::V1::BigQueryProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryProfile)) --- BigQuery Connection Profile configuration.


  Note: The following fields are mutually exclusive: `bigquery_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryProfile)) --- BigQuery Connection Profile configuration.


  Note: The following fields are mutually exclusive: `bigquery_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The create time of the resource.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. Display name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Display name.
**Returns**

- (::String) --- Required. Display name.

### #forward_ssh_connectivity

    def forward_ssh_connectivity() -> ::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity

**Returns**

- ([::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ForwardSshTunnelConnectivity)) --- Forward SSH tunnel connectivity.


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

### #forward_ssh_connectivity=

    def forward_ssh_connectivity=(value) -> ::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ForwardSshTunnelConnectivity)) --- Forward SSH tunnel connectivity.


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

- ([::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-ForwardSshTunnelConnectivity)) --- Forward SSH tunnel connectivity.


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

### #gcs_profile

    def gcs_profile() -> ::Google::Cloud::Datastream::V1::GcsProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::GcsProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-GcsProfile)) --- Cloud Storage ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `gcs_profile`, `oracle_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #gcs_profile=

    def gcs_profile=(value) -> ::Google::Cloud::Datastream::V1::GcsProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::GcsProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-GcsProfile)) --- Cloud Storage ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `gcs_profile`, `oracle_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::GcsProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-GcsProfile)) --- Cloud Storage ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `gcs_profile`, `oracle_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.

### #mongodb_profile

    def mongodb_profile() -> ::Google::Cloud::Datastream::V1::MongodbProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbProfile)) --- MongoDB Connection Profile configuration.


  Note: The following fields are mutually exclusive: `mongodb_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mongodb_profile=

    def mongodb_profile=(value) -> ::Google::Cloud::Datastream::V1::MongodbProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MongodbProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbProfile)) --- MongoDB Connection Profile configuration.


  Note: The following fields are mutually exclusive: `mongodb_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MongodbProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MongodbProfile)) --- MongoDB Connection Profile configuration.


  Note: The following fields are mutually exclusive: `mongodb_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_profile

    def mysql_profile() -> ::Google::Cloud::Datastream::V1::MysqlProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlProfile)) --- MySQL ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `mysql_profile`, `oracle_profile`, `gcs_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #mysql_profile=

    def mysql_profile=(value) -> ::Google::Cloud::Datastream::V1::MysqlProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::MysqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlProfile)) --- MySQL ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `mysql_profile`, `oracle_profile`, `gcs_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::MysqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-MysqlProfile)) --- MySQL ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `mysql_profile`, `oracle_profile`, `gcs_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. The resource's name.

### #oracle_profile

    def oracle_profile() -> ::Google::Cloud::Datastream::V1::OracleProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::OracleProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleProfile)) --- Oracle ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #oracle_profile=

    def oracle_profile=(value) -> ::Google::Cloud::Datastream::V1::OracleProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::OracleProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleProfile)) --- Oracle ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::OracleProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-OracleProfile)) --- Oracle ConnectionProfile configuration.


  Note: The following fields are mutually exclusive: `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #postgresql_profile

    def postgresql_profile() -> ::Google::Cloud::Datastream::V1::PostgresqlProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::PostgresqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlProfile)) --- PostgreSQL Connection Profile configuration.


  Note: The following fields are mutually exclusive: `postgresql_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #postgresql_profile=

    def postgresql_profile=(value) -> ::Google::Cloud::Datastream::V1::PostgresqlProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::PostgresqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlProfile)) --- PostgreSQL Connection Profile configuration.


  Note: The following fields are mutually exclusive: `postgresql_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::PostgresqlProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PostgresqlProfile)) --- PostgreSQL Connection Profile configuration.


  Note: The following fields are mutually exclusive: `postgresql_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `sql_server_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #private_connectivity

    def private_connectivity() -> ::Google::Cloud::Datastream::V1::PrivateConnectivity

**Returns**

- ([::Google::Cloud::Datastream::V1::PrivateConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PrivateConnectivity)) --- Private connectivity.


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

### #private_connectivity=

    def private_connectivity=(value) -> ::Google::Cloud::Datastream::V1::PrivateConnectivity

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::PrivateConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PrivateConnectivity)) --- Private connectivity.


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

- ([::Google::Cloud::Datastream::V1::PrivateConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-PrivateConnectivity)) --- Private connectivity.


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

### #salesforce_profile

    def salesforce_profile() -> ::Google::Cloud::Datastream::V1::SalesforceProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::SalesforceProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceProfile)) --- Salesforce Connection Profile configuration.


  Note: The following fields are mutually exclusive: `salesforce_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #salesforce_profile=

    def salesforce_profile=(value) -> ::Google::Cloud::Datastream::V1::SalesforceProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SalesforceProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceProfile)) --- Salesforce Connection Profile configuration.


  Note: The following fields are mutually exclusive: `salesforce_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SalesforceProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SalesforceProfile)) --- Salesforce Connection Profile configuration.


  Note: The following fields are mutually exclusive: `salesforce_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #satisfies_pzi

    def satisfies_pzi() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Reserved for future use.

### #satisfies_pzs

    def satisfies_pzs() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Reserved for future use.

### #sql_server_profile

    def sql_server_profile() -> ::Google::Cloud::Datastream::V1::SqlServerProfile

**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerProfile)) --- SQLServer Connection Profile configuration.


  Note: The following fields are mutually exclusive: `sql_server_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sql_server_profile=

    def sql_server_profile=(value) -> ::Google::Cloud::Datastream::V1::SqlServerProfile

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::SqlServerProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerProfile)) --- SQLServer Connection Profile configuration.


  Note: The following fields are mutually exclusive: `sql_server_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::SqlServerProfile](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-SqlServerProfile)) --- SQLServer Connection Profile configuration.


  Note: The following fields are mutually exclusive: `sql_server_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `salesforce_profile`, `mongodb_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #static_service_ip_connectivity

    def static_service_ip_connectivity() -> ::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity

**Returns**

- ([::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-StaticServiceIpConnectivity)) --- Static Service IP connectivity.


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

### #static_service_ip_connectivity=

    def static_service_ip_connectivity=(value) -> ::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-StaticServiceIpConnectivity)) --- Static Service IP connectivity.


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

- ([::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-StaticServiceIpConnectivity)) --- Static Service IP connectivity.


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

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The update time of the resource.