Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataFormat
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataFormat
- 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
Action details for invalid or unsupported data files detected by discovery.
Instance Attribute Summary collapse
-
#expected_format ⇒ String
The expected data format of the entity.
-
#new_format ⇒ String
The new unexpected data format within the entity.
-
#sampled_data_locations ⇒ Array<String>
The list of data locations sampled and used for format/schema inference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ActionInvalidDataFormat
constructor
A new instance of GoogleCloudDataplexV1ActionInvalidDataFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1ActionInvalidDataFormat
Returns a new instance of GoogleCloudDataplexV1ActionInvalidDataFormat.
251 252 253 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expected_format ⇒ String
The expected data format of the entity.
Corresponds to the JSON property expectedFormat
239 240 241 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 239 def expected_format @expected_format end |
#new_format ⇒ String
The new unexpected data format within the entity.
Corresponds to the JSON property newFormat
244 245 246 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 244 def new_format @new_format end |
#sampled_data_locations ⇒ Array<String>
The list of data locations sampled and used for format/schema inference.
Corresponds to the JSON property sampledDataLocations
249 250 251 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 249 def sampled_data_locations @sampled_data_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
256 257 258 259 260 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 256 def update!(**args) @expected_format = args[:expected_format] if args.key?(:expected_format) @new_format = args[:new_format] if args.key?(:new_format) @sampled_data_locations = args[:sampled_data_locations] if args.key?(:sampled_data_locations) end |