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 |
↳ export_log_start_time |
Google\Protobuf\Timestamp
Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, |
↳ export_log_end_time |
Google\Protobuf\Timestamp
Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, |
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 |
Enum of type BakType. |
setBakType
Type of this bak file will be export, FULL or DIFF, SQL Server only
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BakType. |
| 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 |
|
getExportLogStartTime
Optional. The begin timestamp when transaction log will be included in
the export operation. RFC 3339
format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all
available logs from the beginning of retention period will be included.
Only applied to Cloud SQL for SQL Server.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasExportLogStartTime
clearExportLogStartTime
setExportLogStartTime
Optional. The begin timestamp when transaction log will be included in
the export operation. RFC 3339
format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all
available logs from the beginning of retention period will be included.
Only applied to Cloud SQL for SQL Server.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExportLogEndTime
Optional. The end timestamp when transaction log will be included in the
export operation. RFC 3339 format
(for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all
available logs until current time will be included. Only applied to Cloud
SQL for SQL Server.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasExportLogEndTime
clearExportLogEndTime
setExportLogEndTime
Optional. The end timestamp when transaction log will be included in the
export operation. RFC 3339 format
(for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all
available logs until current time will be included. Only applied to Cloud
SQL for SQL Server.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|