Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlBakExportOptions.
Options for exporting BAK files (SQL Server-only)
Generated from protobuf message google.cloud.sql.v1.ExportContext.SqlBakExportOptions
Namespace
Google \ Cloud \ Sql \ V1 \ ExportContextMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ striped |
Google\Protobuf\BoolValue
Whether or not the export should be striped. |
↳ stripe_count |
Google\Protobuf\Int32Value
Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen. |
↳ bak_type |
int
Type of this bak file will be export, FULL or DIFF, SQL Server only |
↳ copy_only |
Google\Protobuf\BoolValue
Deprecated: copy_only is deprecated. Use differential_base instead |
↳ differential_base |
Google\Protobuf\BoolValue
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base |
getStriped
Whether or not the export should be striped.
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasStriped
clearStriped
getStripedUnwrapped
Returns the unboxed value from getStriped()
Whether or not the export should be striped.
Returns | |
---|---|
Type | Description |
bool|null |
setStriped
Whether or not the export should be striped.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setStripedUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether or not the export should be striped.
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |
getStripeCount
Option for specifying how many stripes to use for the export.
If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Int32Value|null |
hasStripeCount
clearStripeCount
getStripeCountUnwrapped
Returns the unboxed value from getStripeCount()
Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
Returns | |
---|---|
Type | Description |
int|null |
setStripeCount
Option for specifying how many stripes to use for the export.
If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Int32Value
|
Returns | |
---|---|
Type | Description |
$this |
setStripeCountUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
Parameter | |
---|---|
Name | Description |
var |
int|null
|
Returns | |
---|---|
Type | Description |
$this |
getBakType
Type of this bak file will be export, FULL or DIFF, SQL Server only
Returns | |
---|---|
Type | Description |
int |
setBakType
Type of this bak file will be export, FULL or DIFF, SQL Server only
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCopyOnly
Deprecated: copy_only is deprecated. Use differential_base instead
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasCopyOnly
clearCopyOnly
getCopyOnlyUnwrapped
Returns the unboxed value from getCopyOnly()
Deprecated: copy_only is deprecated. Use differential_base instead
Returns | |
---|---|
Type | Description |
bool|null |
setCopyOnly
Deprecated: copy_only is deprecated. Use differential_base instead
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setCopyOnlyUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Deprecated: copy_only is deprecated. Use differential_base instead
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |
getDifferentialBase
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Returns | |
---|---|
Type | Description |
Google\Protobuf\BoolValue|null |
hasDifferentialBase
clearDifferentialBase
getDifferentialBaseUnwrapped
Returns the unboxed value from getDifferentialBase()
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Returns | |
---|---|
Type | Description |
bool|null |
setDifferentialBase
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\BoolValue
|
Returns | |
---|---|
Type | Description |
$this |
setDifferentialBaseUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Parameter | |
---|---|
Name | Description |
var |
bool|null
|
Returns | |
---|---|
Type | Description |
$this |