Google Cloud Sql Admin V1beta4 Client - Class SqlExportOptions (0.2.12)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlExportOptions.

Generated from protobuf message google.cloud.sql.v1beta4.ExportContext.SqlExportOptions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tables array

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

↳ schema_only Google\Protobuf\BoolValue

Export only schemas.

↳ mysql_export_options Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions

getTables

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTables

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSchemaOnly

Export only schemas.

Returns
TypeDescription
Google\Protobuf\BoolValue|null

hasSchemaOnly

clearSchemaOnly

getSchemaOnlyValue

Returns the unboxed value from getSchemaOnly()

Export only schemas.

Returns
TypeDescription
bool|null

setSchemaOnly

Export only schemas.

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$this

setSchemaOnlyValue

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

Export only schemas.

Parameter
NameDescription
var bool|null
Returns
TypeDescription
$this

getMysqlExportOptions

Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;

Returns
TypeDescription
Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions|null

hasMysqlExportOptions

clearMysqlExportOptions

setMysqlExportOptions

Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;

Parameter
NameDescription
var Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions
Returns
TypeDescription
$this