Google Cloud Sql Admin V1 Client - Class PostgresExportOptions (1.6.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class PostgresExportOptions.

Options for exporting from a Cloud SQL for PostgreSQL instance.

Generated from protobuf message google.cloud.sql.v1.ExportContext.SqlExportOptions.PostgresExportOptions

Namespace

Google \ Cloud \ Sql \ V1 \ ExportContext \ SqlExportOptions

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ clean Google\Protobuf\BoolValue

Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.

↳ if_exists Google\Protobuf\BoolValue

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

getClean

Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.

Returns
Type Description
Google\Protobuf\BoolValue|null

hasClean

clearClean

getCleanUnwrapped

Returns the unboxed value from getClean()

Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.

Returns
Type Description
bool|null

setClean

Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.

Parameter
Name Description
var Google\Protobuf\BoolValue
Returns
Type Description
$this

setCleanUnwrapped

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

Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.

Parameter
Name Description
var bool|null
Returns
Type Description
$this

getIfExists

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

Returns
Type Description
Google\Protobuf\BoolValue|null

hasIfExists

clearIfExists

getIfExistsUnwrapped

Returns the unboxed value from getIfExists()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

Returns
Type Description
bool|null

setIfExists

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

Parameter
Name Description
var Google\Protobuf\BoolValue
Returns
Type Description
$this

setIfExistsUnwrapped

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

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

Parameter
Name Description
var bool|null
Returns
Type Description
$this