Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlBakExportOptions.
Options for exporting BAK files (SQL Server-only)
Generated from protobuf message google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions
Namespace
Google \ Cloud \ Sql \ V1beta4 \ 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
getStripedValue
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 |
setStripedValue
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
getStripeCountValue
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 |
setStripeCountValue
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
getCopyOnlyValue
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 |
setCopyOnlyValue
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
getDifferentialBaseValue
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 |
setDifferentialBaseValue
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 |