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.
Parameters | |
---|---|
Name | Description |
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
Required. Input only. Password for the MySQL connection. |
↳ ssl_config |
MysqlSslConfig
SSL configuration for the MySQL connection. |
getHostname
Required. Hostname for the MySQL connection.
Returns | |
---|---|
Type | Description |
string |
setHostname
Required. Hostname for the MySQL connection.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPort
Port for the MySQL connection, default value is 3306.
Returns | |
---|---|
Type | Description |
int |
setPort
Port for the MySQL connection, default value is 3306.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getUsername
Required. Username for the MySQL connection.
Returns | |
---|---|
Type | Description |
string |
setUsername
Required. Username for the MySQL connection.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPassword
Required. Input only. Password for the MySQL connection.
Returns | |
---|---|
Type | Description |
string |
setPassword
Required. Input only. Password for the MySQL connection.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSslConfig
SSL configuration for the MySQL connection.
Returns | |
---|---|
Type | Description |
MysqlSslConfig|null |
hasSslConfig
clearSslConfig
setSslConfig
SSL configuration for the MySQL connection.
Parameter | |
---|---|
Name | Description |
var |
MysqlSslConfig
|
Returns | |
---|---|
Type | Description |
$this |