Class: Google::Cloud::Sql::V1::ImportContext::SqlImportOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb

Defined Under Namespace

Classes: PostgresImportOptions

Instance Attribute Summary collapse

Instance Attribute Details

#parallel::Google::Protobuf::BoolValue

Returns Optional. Whether or not the import should be parallel.

Returns:



650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb', line 650

class SqlImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] clean
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --clean flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  # @!attribute [rw] if_exists
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --if-exists flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  class PostgresImportOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#postgres_import_options::Google::Cloud::Sql::V1::ImportContext::SqlImportOptions::PostgresImportOptions

Returns Optional. Options for importing from a Cloud SQL for PostgreSQL instance.

Returns:



650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb', line 650

class SqlImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] clean
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --clean flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  # @!attribute [rw] if_exists
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --if-exists flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  class PostgresImportOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#threads::Google::Protobuf::Int32Value

Returns Optional. The number of threads to use for parallel import.

Returns:



650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb', line 650

class SqlImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] clean
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --clean flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  # @!attribute [rw] if_exists
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. The --if-exists flag for the pg_restore utility. This flag
  #     applies only if you enabled Cloud SQL to import files in parallel.
  class PostgresImportOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end