Google Cloud Dataplex V1 Client - Class IncompatibleDataSchema (0.1.6)

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
NameDescription
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
TypeDescription
string

setTable

The name of the table containing invalid data.

Generated from protobuf field string table = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this