Google Cloud Datastream V1 Client - Class MysqlDatabase (1.1.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database string

Database name.

↳ mysql_tables array<Google\Cloud\Datastream\V1\MysqlTable>

Tables in the database.

getDatabase

Database name.

Returns
TypeDescription
string

setDatabase

Database name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMysqlTables

Tables in the database.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMysqlTables

Tables in the database.

Parameter
NameDescription
var array<Google\Cloud\Datastream\V1\MysqlTable>
Returns
TypeDescription
$this