Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ImportContext::SqlImportOptions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parallel
def parallel() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Optional. Whether or not the import should be parallel.
#parallel=
def parallel=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Optional. Whether or not the import should be parallel.
Returns
- (::Google::Protobuf::BoolValue) — Optional. Whether or not the import should be parallel.
#postgres_import_options
def postgres_import_options() -> ::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions
Returns
- (::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions) — Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
#postgres_import_options=
def postgres_import_options=(value) -> ::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions
Parameter
- value (::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions) — Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
Returns
- (::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions) — Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
#threads
def threads() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Optional. The number of threads to use for parallel import.
#threads=
def threads=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Optional. The number of threads to use for parallel import.
Returns
- (::Google::Protobuf::Int32Value) — Optional. The number of threads to use for parallel import.