Google Cloud Datastream V1 Client - Class MysqlDatabase (1.5.5)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
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<Google\Cloud\Datastream\V1\MysqlTable>
Returns
Type Description
$this