Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class SqlExportOptions.
Options for exporting data in SQL format.
Generated from protobuf message google.cloud.alloydb.v1.ExportClusterRequest.SqlExportOptions
Namespace
Google \ Cloud \ AlloyDb \ V1 \ ExportClusterRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tables |
array
Optional. Tables to export from. |
↳ schema_only |
bool
Optional. If true, only export the schema. |
↳ clean_target_objects |
bool
Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them. |
↳ if_exist_target_objects |
bool
Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode. |
getTables
Optional. Tables to export from.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTables
Optional. Tables to export from.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getSchemaOnly
Optional. If true, only export the schema.
Returns | |
---|---|
Type | Description |
bool |
hasSchemaOnly
clearSchemaOnly
setSchemaOnly
Optional. If true, only export the schema.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getCleanTargetObjects
Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
Returns | |
---|---|
Type | Description |
bool |
hasCleanTargetObjects
clearCleanTargetObjects
setCleanTargetObjects
Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getIfExistTargetObjects
Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
Returns | |
---|---|
Type | Description |
bool |
hasIfExistTargetObjects
clearIfExistTargetObjects
setIfExistTargetObjects
Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |