Reference documentation and code samples for the Google Cloud Dataplex V1 Client class IncompatibleDataSchema.
Action details for incompatible schemas detected by discovery.
Generated from protobuf message google.cloud.dataplex.v1.Action.IncompatibleDataSchema
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table |
string
The name of the table containing invalid data. |
↳ 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. |
↳ 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. |
↳ sampled_data_locations |
string[]
The list of data locations sampled and used for format/schema inference. |
↳ schema_change |
int
Whether the action relates to a schema that is incompatible or modified. |
getTable
The name of the table containing invalid data.
Generated from protobuf field string table = 1;
Returns | |
---|---|
Type | Description |
string |
setTable
The name of the table containing invalid data.
Generated from protobuf field string table = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExistingSchema
The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.
Generated from protobuf field string existing_schema = 2;
Returns | |
---|---|
Type | Description |
string |
setExistingSchema
The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.
Generated from protobuf field string existing_schema = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNewSchema
The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.
Generated from protobuf field string new_schema = 3;
Returns | |
---|---|
Type | Description |
string |
setNewSchema
The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.
Generated from protobuf field string new_schema = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSampledDataLocations
The list of data locations sampled and used for format/schema inference.
Generated from protobuf field repeated string sampled_data_locations = 4;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSampledDataLocations
The list of data locations sampled and used for format/schema inference.
Generated from protobuf field repeated string sampled_data_locations = 4;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getSchemaChange
Whether the action relates to a schema that is incompatible or modified.
Generated from protobuf field .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
Returns | |
---|---|
Type | Description |
int |
setSchemaChange
Whether the action relates to a schema that is incompatible or modified.
Generated from protobuf field .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |