Google Cloud Dataplex V1 Client - Class DiscoveryEvent (0.13.0)

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

Namespace

Google \ Cloud \ Dataplex \ V1

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.

Returns
TypeDescription
string

setMessage

The log message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLakeId

The id of the associated lake.

Returns
TypeDescription
string

setLakeId

The id of the associated lake.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getZoneId

The id of the associated zone.

Returns
TypeDescription
string

setZoneId

The id of the associated zone.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssetId

The id of the associated asset.

Returns
TypeDescription
string

setAssetId

The id of the associated asset.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataLocation

The data location associated with the event.

Returns
TypeDescription
string

setDataLocation

The data location associated with the event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The type of the event being logged.

Returns
TypeDescription
int

setType

The type of the event being logged.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getConfig

Details about discovery configuration in effect.

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

hasConfig

setConfig

Details about discovery configuration in effect.

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

getEntity

Details about the entity associated with the event.

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

hasEntity

setEntity

Details about the entity associated with the event.

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

getPartition

Details about the partition associated with the event.

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

hasPartition

setPartition

Details about the partition associated with the event.

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

getAction

Details about the action associated with the event.

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

hasAction

setAction

Details about the action associated with the event.

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

getDetails

Returns
TypeDescription
string