Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataFormat

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_formatString

The expected data format of the entity. Corresponds to the JSON property expectedFormat

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/dataplex_v1/classes.rb', line 239

def expected_format
  @expected_format
end

#new_formatString

The new unexpected data format within the entity. Corresponds to the JSON property newFormat

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/dataplex_v1/classes.rb', line 244

def new_format
  @new_format
end

#sampled_data_locationsArray<String>

The list of data locations sampled and used for format/schema inference. Corresponds to the JSON property sampledDataLocations

Returns:

  • (Array<String>)


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