Class: Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions

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

Overview

Describes CSV and similar semi-structured data formats.

Instance Attribute Summary collapse

Instance Attribute Details

#delimiter::String

Returns Optional. The delimiter used to separate values. Defaults to ','.

Returns:

  • (::String)

    Optional. The delimiter used to separate values. Defaults to ','.



617
618
619
620
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 617

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

#encoding::String

Returns Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.

Returns:

  • (::String)

    Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.



617
618
619
620
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 617

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

#header_rows::Integer

Returns Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. Defaults to 0.

Returns:

  • (::Integer)

    Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. Defaults to 0.



617
618
619
620
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 617

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

#quote::String

Returns Optional. The character used to quote column values. Accepts '"' (double quotation mark) or ''' (single quotation mark). Defaults to '"' (double quotation mark) if unspecified.

Returns:

  • (::String)

    Optional. The character used to quote column values. Accepts '"' (double quotation mark) or ''' (single quotation mark). Defaults to '"' (double quotation mark) if unspecified.



617
618
619
620
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 617

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