Class: Google::Cloud::Dataplex::V1::Asset::DiscoverySpec::CsvOptions

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

Overview

Describe CSV and similar semi-structured data formats.

Instance Attribute Summary collapse

Instance Attribute Details

#delimiter::String

Returns Optional. The delimiter being used to separate values. This defaults to ','.

Returns:

  • (::String)

    Optional. The delimiter being used to separate values. This defaults to ','.



653
654
655
656
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 653

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

#disable_type_inference::Boolean

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

Returns:

  • (::Boolean)

    Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.



653
654
655
656
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 653

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.



653
654
655
656
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 653

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.



653
654
655
656
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 653

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