Google Cloud Dataplex V1 Client - Class IncompatibleDataSchema (1.0.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

Namespace

Google \ Cloud \ Dataplex \ V1 \ Action

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 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
Type Description
string

setTable

The name of the table containing invalid data.

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.

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.

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.

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getSampledDataLocations

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSampledDataLocations

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSchemaChange

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

Returns
Type Description
int

setSchemaChange

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

Parameter
Name Description
var int
Returns
Type Description
$this