Google Cloud Dataplex V1 Client - Class GovernanceEvent (0.13.0)

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

Payload associated with Governance related log events.

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

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ message string

The log message.

↳ event_type int

The type of the event.

↳ entity Google\Cloud\Dataplex\V1\GovernanceEvent\Entity

Entity resource information if the log event is associated with a specific entity.

getMessage

The log message.

Returns
TypeDescription
string

setMessage

The log message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEventType

The type of the event.

Returns
TypeDescription
int

setEventType

The type of the event.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEntity

Entity resource information if the log event is associated with a specific entity.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\GovernanceEvent\Entity|null

hasEntity

clearEntity

setEntity

Entity resource information if the log event is associated with a specific entity.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\GovernanceEvent\Entity
Returns
TypeDescription
$this