Google Cloud Dataplex V1 Client - Class DiscoveryEvent (0.1.6)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DiscoveryEvent.

The payload associated with Discovery data processing.

Generated from protobuf message google.cloud.dataplex.v1.DiscoveryEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ message string

The log message.

↳ lake_id string

The id of the associated lake.

↳ zone_id string

The id of the associated zone.

↳ asset_id string

The id of the associated asset.

↳ data_location string

The data location associated with the event.

↳ type int

The type of the event being logged.

↳ config Google\Cloud\Dataplex\V1\DiscoveryEvent\ConfigDetails

Details about discovery configuration in effect.

↳ entity Google\Cloud\Dataplex\V1\DiscoveryEvent\EntityDetails

Details about the entity associated with the event.

↳ partition Google\Cloud\Dataplex\V1\DiscoveryEvent\PartitionDetails

Details about the partition associated with the event.

↳ action Google\Cloud\Dataplex\V1\DiscoveryEvent\ActionDetails

Details about the action associated with the event.

getMessage

The log message.

Generated from protobuf field string message = 1;

Returns
TypeDescription
string

setMessage

The log message.

Generated from protobuf field string message = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLakeId

The id of the associated lake.

Generated from protobuf field string lake_id = 2;

Returns
TypeDescription
string

setLakeId

The id of the associated lake.

Generated from protobuf field string lake_id = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getZoneId

The id of the associated zone.

Generated from protobuf field string zone_id = 3;

Returns
TypeDescription
string

setZoneId

The id of the associated zone.

Generated from protobuf field string zone_id = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssetId

The id of the associated asset.

Generated from protobuf field string asset_id = 4;

Returns
TypeDescription
string

setAssetId

The id of the associated asset.

Generated from protobuf field string asset_id = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataLocation

The data location associated with the event.

Generated from protobuf field string data_location = 5;

Returns
TypeDescription
string

setDataLocation

The data location associated with the event.

Generated from protobuf field string data_location = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The type of the event being logged.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;

Returns
TypeDescription
int

setType

The type of the event being logged.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getConfig

Details about discovery configuration in effect.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DiscoveryEvent\ConfigDetails|null

hasConfig

setConfig

Details about discovery configuration in effect.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DiscoveryEvent\ConfigDetails
Returns
TypeDescription
$this

getEntity

Details about the entity associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DiscoveryEvent\EntityDetails|null

hasEntity

setEntity

Details about the entity associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DiscoveryEvent\EntityDetails
Returns
TypeDescription
$this

getPartition

Details about the partition associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DiscoveryEvent\PartitionDetails|null

hasPartition

setPartition

Details about the partition associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DiscoveryEvent\PartitionDetails
Returns
TypeDescription
$this

getAction

Details about the action associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DiscoveryEvent\ActionDetails|null

hasAction

setAction

Details about the action associated with the event.

Generated from protobuf field .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DiscoveryEvent\ActionDetails
Returns
TypeDescription
$this

getDetails

Returns
TypeDescription
string