Google Cloud Dataplex V1 Client - Class DiscoveryEvent (1.0.1)

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

setMessage

The log message.

Parameter
Name Description
var string
Returns
Type Description
$this

getLakeId

The id of the associated lake.

Returns
Type Description
string

setLakeId

The id of the associated lake.

Parameter
Name Description
var string
Returns
Type Description
$this

getZoneId

The id of the associated zone.

Returns
Type Description
string

setZoneId

The id of the associated zone.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssetId

The id of the associated asset.

Returns
Type Description
string

setAssetId

The id of the associated asset.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataLocation

The data location associated with the event.

Returns
Type Description
string

setDataLocation

The data location associated with the event.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The type of the event being logged.

Returns
Type Description
int

setType

The type of the event being logged.

Parameter
Name Description
var int
Returns
Type Description
$this

getConfig

Details about discovery configuration in effect.

Returns
Type Description
Google\Cloud\Dataplex\V1\DiscoveryEvent\ConfigDetails|null

hasConfig

setConfig

Details about discovery configuration in effect.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\DiscoveryEvent\ConfigDetails
Returns
Type Description
$this

getEntity

Details about the entity associated with the event.

Returns
Type Description
Google\Cloud\Dataplex\V1\DiscoveryEvent\EntityDetails|null

hasEntity

setEntity

Details about the entity associated with the event.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\DiscoveryEvent\EntityDetails
Returns
Type Description
$this

getPartition

Details about the partition associated with the event.

Returns
Type Description
Google\Cloud\Dataplex\V1\DiscoveryEvent\PartitionDetails|null

hasPartition

setPartition

Details about the partition associated with the event.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\DiscoveryEvent\PartitionDetails
Returns
Type Description
$this

getAction

Details about the action associated with the event.

Returns
Type Description
Google\Cloud\Dataplex\V1\DiscoveryEvent\ActionDetails|null

hasAction

setAction

Details about the action associated with the event.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\DiscoveryEvent\ActionDetails
Returns
Type Description
$this

getDetails

Returns
Type Description
string