Google Cloud Dataplex V1 Client - Class IncompatibleDataSchema (0.3.0)

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 array

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.

Returns
TypeDescription
string

setTable

The name of the table containing invalid data.

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.

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.

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSampledDataLocations

The list of data locations sampled and used for format/schema inference.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSampledDataLocations

The list of data locations sampled and used for format/schema inference.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSchemaChange

Whether the action relates to a schema that is incompatible or modified.

Returns
TypeDescription
int

setSchemaChange

Whether the action relates to a schema that is incompatible or modified.

Parameter
NameDescription
var int
Returns
TypeDescription
$this