Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::MysqlProfile.
MySQL database profile. Next ID: 7.
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) — Optional. Input only. Password for the MySQL connection. Mutually exclusive
with the
secret_manager_stored_password
field.
#password=
def password=(value) -> ::String
Parameter
-
value (::String) — Optional. Input only. Password for the MySQL connection. Mutually exclusive
with the
secret_manager_stored_password
field.
Returns
-
(::String) — Optional. Input only. Password for the MySQL connection. Mutually exclusive
with the
secret_manager_stored_password
field.
#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::V1::MysqlSslConfig
Returns
- (::Google::Cloud::Datastream::V1::MysqlSslConfig) — SSL configuration for the MySQL connection.
#ssl_config=
def ssl_config=(value) -> ::Google::Cloud::Datastream::V1::MysqlSslConfig
Parameter
- value (::Google::Cloud::Datastream::V1::MysqlSslConfig) — SSL configuration for the MySQL connection.
Returns
- (::Google::Cloud::Datastream::V1::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.