Google Cloud Sql Admin V1beta4 Client - Class SqlBakExportOptions (0.12.0)

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 \ ExportContext

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\BoolValue|null

hasStriped

clearStriped

getStripedValue

Returns the unboxed value from getStriped()

Whether or not the export should be striped.

Returns
TypeDescription
bool|null

setStriped

Whether or not the export should be striped.

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$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
NameDescription
var bool|null
Returns
TypeDescription
$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
TypeDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\Int32Value
Returns
TypeDescription
$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
NameDescription
var int|null
Returns
TypeDescription
$this

getBakType

Type of this bak file will be export, FULL or DIFF, SQL Server only

Returns
TypeDescription
int

setBakType

Type of this bak file will be export, FULL or DIFF, SQL Server only

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCopyOnly

Deprecated: copy_only is deprecated. Use differential_base instead

Returns
TypeDescription
Google\Protobuf\BoolValue|null

hasCopyOnly

clearCopyOnly

getCopyOnlyValue

Returns the unboxed value from getCopyOnly()

Deprecated: copy_only is deprecated. Use differential_base instead

Returns
TypeDescription
bool|null

setCopyOnly

Deprecated: copy_only is deprecated. Use differential_base instead

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$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
NameDescription
var bool|null
Returns
TypeDescription
$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
TypeDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$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
NameDescription
var bool|null
Returns
TypeDescription
$this