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.



678
679
680
# File 'lib/google/apis/dataplex_v1/classes.rb', line 678

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)


666
667
668
# File 'lib/google/apis/dataplex_v1/classes.rb', line 666

def expected_format
  @expected_format
end

#new_formatString

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

Returns:

  • (String)


671
672
673
# File 'lib/google/apis/dataplex_v1/classes.rb', line 671

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>)


676
677
678
# File 'lib/google/apis/dataplex_v1/classes.rb', line 676

def sampled_data_locations
  @sampled_data_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



683
684
685
686
687
# File 'lib/google/apis/dataplex_v1/classes.rb', line 683

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