Google Cloud Datastream V1 Client - Class MysqlDatabase (2.0.1)

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