# Datastream V1alpha1 API - Class Google::Cloud::Datastream::V1alpha1::SourceConfig (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Datastream V1alpha1 API class Google::Cloud::Datastream::V1alpha1::SourceConfig.

The configuration of the stream source.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #mysql_source_config

    def mysql_source_config() -> ::Google::Cloud::Datastream::V1alpha1::MysqlSourceConfig

**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::MysqlSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSourceConfig)) --- MySQL data source configuration


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

### #mysql_source_config=

    def mysql_source_config=(value) -> ::Google::Cloud::Datastream::V1alpha1::MysqlSourceConfig

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1alpha1::MysqlSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSourceConfig)) --- MySQL data source configuration


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

- ([::Google::Cloud::Datastream::V1alpha1::MysqlSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSourceConfig)) --- MySQL data source configuration


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

### #oracle_source_config

    def oracle_source_config() -> ::Google::Cloud::Datastream::V1alpha1::OracleSourceConfig

**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::OracleSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-OracleSourceConfig)) --- Oracle data source configuration


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

### #oracle_source_config=

    def oracle_source_config=(value) -> ::Google::Cloud::Datastream::V1alpha1::OracleSourceConfig

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1alpha1::OracleSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-OracleSourceConfig)) --- Oracle data source configuration


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

- ([::Google::Cloud::Datastream::V1alpha1::OracleSourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-OracleSourceConfig)) --- Oracle data source configuration


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

### #source_connection_profile_name

    def source_connection_profile_name() -> ::String

**Returns**

- (::String) --- Required. Source connection profile identifier.

### #source_connection_profile_name=

    def source_connection_profile_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Source connection profile identifier.
**Returns**

- (::String) --- Required. Source connection profile identifier.