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

MySQL database profile.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #hostname

    def hostname() -> ::String

**Returns**

- (::String) --- Required. Hostname for the MySQL connection.

### #hostname=

    def hostname=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Hostname for the MySQL connection.
**Returns**

- (::String) --- Required. Hostname for the MySQL connection.

### #password

    def password() -> ::String

**Returns**

- (::String) --- Required. Input only. Password for the MySQL connection.

### #password=

    def password=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Input only. Password for the MySQL connection.
**Returns**

- (::String) --- Required. Input only. Password for the MySQL connection.

### #port

    def port() -> ::Integer

**Returns**

- (::Integer) --- Port for the MySQL connection, default value is 3306.

### #port=

    def port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Port for the MySQL connection, default value is 3306.
**Returns**

- (::Integer) --- Port for the MySQL connection, default value is 3306.

### #ssl_config

    def ssl_config() -> ::Google::Cloud::Datastream::V1alpha1::MysqlSslConfig

**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::MysqlSslConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSslConfig)) --- SSL configuration for the MySQL connection.

### #ssl_config=

    def ssl_config=(value) -> ::Google::Cloud::Datastream::V1alpha1::MysqlSslConfig

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1alpha1::MysqlSslConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSslConfig)) --- SSL configuration for the MySQL connection.
**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::MysqlSslConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-MysqlSslConfig)) --- SSL configuration for the MySQL connection.

### #username

    def username() -> ::String

**Returns**

- (::String) --- Required. Username for the MySQL connection.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Username for the MySQL connection.
**Returns**

- (::String) --- Required. Username for the MySQL connection.