Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Describe CSV and similar semi-structured data formats.
Instance Attribute Summary collapse
-
#delimiter ⇒ String
Optional.
-
#disable_type_inference ⇒ Boolean
(also: #disable_type_inference?)
Optional.
-
#encoding ⇒ String
Optional.
-
#header_rows ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
constructor
A new instance of GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
Returns a new instance of GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions.
6015 6016 6017 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6015 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delimiter ⇒ String
Optional. The delimiter being used to separate values. This defaults to ','.
Corresponds to the JSON property delimiter
5995 5996 5997 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5995 def delimiter @delimiter end |
#disable_type_inference ⇒ Boolean Also known as: disable_type_inference?
Optional. Whether to disable the inference of data type for CSV data. If true,
all columns will be registered as strings.
Corresponds to the JSON property disableTypeInference
6001 6002 6003 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6001 def disable_type_inference @disable_type_inference end |
#encoding ⇒ String
Optional. The character encoding of the data. The default is UTF-8.
Corresponds to the JSON property encoding
6007 6008 6009 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6007 def encoding @encoding end |
#header_rows ⇒ Fixnum
Optional. The number of rows to interpret as header rows that should be
skipped when reading data rows.
Corresponds to the JSON property headerRows
6013 6014 6015 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6013 def header_rows @header_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6020 6021 6022 6023 6024 6025 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6020 def update!(**args) @delimiter = args[:delimiter] if args.key?(:delimiter) @disable_type_inference = args[:disable_type_inference] if args.key?(:disable_type_inference) @encoding = args[:encoding] if args.key?(:encoding) @header_rows = args[:header_rows] if args.key?(:header_rows) end |