Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::MySqlConnectionProfile.
Specifies connection parameters required specifically for MySQL databases.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_sql_id
def cloud_sql_id() -> ::String
Returns
- (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
#cloud_sql_id=
def cloud_sql_id=(value) -> ::String
Parameter
- value (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
Returns
- (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
#host
def host() -> ::String
Returns
- (::String) — Required. The IP or hostname of the source MySQL database.
#host=
def host=(value) -> ::String
Parameter
- value (::String) — Required. The IP or hostname of the source MySQL database.
Returns
- (::String) — Required. The IP or hostname of the source MySQL database.
#password
def password() -> ::String
Returns
- (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
#password=
def password=(value) -> ::String
Parameter
- value (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
Returns
- (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
#password_set
def password_set() -> ::Boolean
Returns
- (::Boolean) — Output only. Indicates If this connection profile password is stored.
#port
def port() -> ::Integer
Returns
- (::Integer) — Required. The network port of the source MySQL database.
#port=
def port=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The network port of the source MySQL database.
Returns
- (::Integer) — Required. The network port of the source MySQL database.
#ssl
def ssl() -> ::Google::Cloud::CloudDMS::V1::SslConfig
Returns
- (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
#ssl=
def ssl=(value) -> ::Google::Cloud::CloudDMS::V1::SslConfig
Parameter
- value (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
Returns
- (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
#username
def username() -> ::String
Returns
- (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
#username=
def username=(value) -> ::String
Parameter
- value (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Returns
- (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.