Class: Google::Apis::SqladminV1::ExportContext::BakExportOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::ExportContext::BakExportOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Options for exporting BAK files (SQL Server-only)
Instance Attribute Summary collapse
-
#stripe_count ⇒ Fixnum
Option for specifying how many stripes to use for the export.
-
#striped ⇒ Boolean
(also: #striped?)
Whether or not the export should be striped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BakExportOptions
constructor
A new instance of BakExportOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BakExportOptions
Returns a new instance of BakExportOptions.
1242 1243 1244 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stripe_count ⇒ Fixnum
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.
Corresponds to the JSON property stripeCount
1234 1235 1236 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1234 def stripe_count @stripe_count end |
#striped ⇒ Boolean Also known as: striped?
Whether or not the export should be striped.
Corresponds to the JSON property striped
1239 1240 1241 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1239 def striped @striped end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1247 1248 1249 1250 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1247 def update!(**args) @stripe_count = args[:stripe_count] if args.key?(:stripe_count) @striped = args[:striped] if args.key?(:striped) end |