Class: Google::Cloud::Dataplex::V1::DataDiscoverySpec::StorageConfig::CsvOptions

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

Overview

Describes CSV and similar semi-structured data formats.

Instance Attribute Summary collapse

Instance Attribute Details

#delimiter::String

Returns Optional. The delimiter that is used to separate values. The default is , (comma).

Returns:

  • (::String)

    Optional. The delimiter that is used to separate values. The default is , (comma).



113
114
115
116
# File 'proto_docs/google/cloud/dataplex/v1/data_discovery.rb', line 113

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

#encoding::String

Returns Optional. The character encoding of the data. The default is UTF-8.

Returns:

  • (::String)

    Optional. The character encoding of the data. The default is UTF-8.



113
114
115
116
# File 'proto_docs/google/cloud/dataplex/v1/data_discovery.rb', line 113

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.

Returns:

  • (::Integer)

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



113
114
115
116
# File 'proto_docs/google/cloud/dataplex/v1/data_discovery.rb', line 113

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). If unspecified, defaults to " (double quotation mark).

Returns:

  • (::String)

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



113
114
115
116
# File 'proto_docs/google/cloud/dataplex/v1/data_discovery.rb', line 113

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

#type_inference_disabled::Boolean

Returns Optional. Whether to disable the inference of data types for CSV data. If true, all columns are registered as strings.

Returns:

  • (::Boolean)

    Optional. Whether to disable the inference of data types for CSV data. If true, all columns are registered as strings.



113
114
115
116
# File 'proto_docs/google/cloud/dataplex/v1/data_discovery.rb', line 113

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