Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionIncompatibleDataSchema
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionIncompatibleDataSchema
- 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 incompatible schemas detected by discovery.
Instance Attribute Summary collapse
-
#existing_schema ⇒ String
The existing and expected schema of the table.
-
#new_schema ⇒ String
The new and incompatible schema within the table.
-
#sampled_data_locations ⇒ Array<String>
The list of data locations sampled and used for format/schema inference.
-
#schema_change ⇒ String
Whether the action relates to a schema that is incompatible or modified.
-
#table ⇒ String
The name of the table containing invalid data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ActionIncompatibleDataSchema
constructor
A new instance of GoogleCloudDataplexV1ActionIncompatibleDataSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1ActionIncompatibleDataSchema
Returns a new instance of GoogleCloudDataplexV1ActionIncompatibleDataSchema.
645 646 647 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#existing_schema ⇒ String
The existing and expected schema of the table. The schema is provided as a
JSON formatted structure listing columns and data types.
Corresponds to the JSON property existingSchema
622 623 624 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 622 def existing_schema @existing_schema end |
#new_schema ⇒ String
The new and incompatible schema within the table. The schema is provided as a
JSON formatted structured listing columns and data types.
Corresponds to the JSON property newSchema
628 629 630 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 628 def new_schema @new_schema end |
#sampled_data_locations ⇒ Array<String>
The list of data locations sampled and used for format/schema inference.
Corresponds to the JSON property sampledDataLocations
633 634 635 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 633 def sampled_data_locations @sampled_data_locations end |
#schema_change ⇒ String
Whether the action relates to a schema that is incompatible or modified.
Corresponds to the JSON property schemaChange
638 639 640 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 638 def schema_change @schema_change end |
#table ⇒ String
The name of the table containing invalid data.
Corresponds to the JSON property table
643 644 645 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 643 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
650 651 652 653 654 655 656 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 650 def update!(**args) @existing_schema = args[:existing_schema] if args.key?(:existing_schema) @new_schema = args[:new_schema] if args.key?(:new_schema) @sampled_data_locations = args[:sampled_data_locations] if args.key?(:sampled_data_locations) @schema_change = args[:schema_change] if args.key?(:schema_change) @table = args[:table] if args.key?(:table) end |