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.
218 219 220 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 218 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
195 196 197 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 195 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
201 202 203 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 201 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
206 207 208 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 206 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
211 212 213 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 211 def schema_change @schema_change end |
#table ⇒ String
The name of the table containing invalid data.
Corresponds to the JSON property table
216 217 218 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 216 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 227 228 229 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 223 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 |