Reference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlProfile.
MySQL database profile.
Generated from protobuf message google.cloud.datastream.v1.MysqlProfile
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ hostname
string
Required. Hostname for the MySQL connection.
↳ port
int
Port for the MySQL connection, default value is 3306.
↳ username
string
Required. Username for the MySQL connection.
↳ password
string
Optional. Input only. Password for the MySQL connection. Mutually exclusive with the secret_manager_stored_password
field.
↳ ssl_config
↳ secret_manager_stored_password
string
Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the password
field.
getHostname
Required. Hostname for the MySQL connection.
string
setHostname
Required. Hostname for the MySQL connection.
var
string
$this
getPort
Port for the MySQL connection, default value is 3306.
int
setPort
Port for the MySQL connection, default value is 3306.
var
int
$this
getUsername
Required. Username for the MySQL connection.
string
setUsername
Required. Username for the MySQL connection.
var
string
$this
getPassword
Optional. Input only. Password for the MySQL connection. Mutually exclusive
with the secret_manager_stored_password
field.
string
setPassword
Optional. Input only. Password for the MySQL connection. Mutually exclusive
with the secret_manager_stored_password
field.
var
string
$this
getSslConfig
SSL configuration for the MySQL connection.
hasSslConfig
clearSslConfig
setSslConfig
SSL configuration for the MySQL connection.
$this
getSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the MySQL
connection password. Mutually exclusive with the password
field.
string
setSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the MySQL
connection password. Mutually exclusive with the password
field.
var
string
$this