Class: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Overview
Optional. Options for importing data from SQL statements.
Instance Attribute Summary collapse
-
#parallel ⇒ Boolean
(also: #parallel?)
Optional.
-
#threads ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlImportOptions
constructor
A new instance of SqlImportOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlImportOptions
Returns a new instance of SqlImportOptions.
2135 2136 2137 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parallel ⇒ Boolean Also known as: parallel?
Optional. Whether or not the import should be parallel.
Corresponds to the JSON property parallel
2127 2128 2129 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2127 def parallel @parallel end |
#threads ⇒ Fixnum
Optional. The number of threads to use for parallel import.
Corresponds to the JSON property threads
2133 2134 2135 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2133 def threads @threads end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2140 2141 2142 2143 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2140 def update!(**args) @parallel = args[:parallel] if args.key?(:parallel) @threads = args[:threads] if args.key?(:threads) end |