Class: Google::Cloud::AlloyDB::V1beta::ImportClusterRequest::CsvImportOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1beta/service.rb

Overview

Options for importing data in CSV format.

Instance Attribute Summary collapse

Instance Attribute Details

#columns::Array<::String>

Returns Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

Returns:

  • (::Array<::String>)

    Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.



347
348
349
350
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 347

class CsvImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#escape_character::String

Returns Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.

Returns:

  • (::String)

    Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.



347
348
349
350
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 347

class CsvImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field_delimiter::String

Returns Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.

Returns:

  • (::String)

    Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.



347
348
349
350
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 347

class CsvImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#quote_character::String

Returns Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.

Returns:

  • (::String)

    Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.



347
348
349
350
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 347

class CsvImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#table::String

Returns Required. The database table to import CSV file into.

Returns:

  • (::String)

    Required. The database table to import CSV file into.



347
348
349
350
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 347

class CsvImportOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end