Reference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlDatabase.
MySQL database.
Generated from protobuf message google.cloud.datastream.v1.MysqlDatabase
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ database | stringDatabase name. | 
| ↳ mysql_tables | array<MysqlTable>Tables in the database. | 
getDatabase
Database name.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setDatabase
Database name.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getMysqlTables
Tables in the database.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setMysqlTables
Tables in the database.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<MysqlTable> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |