Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Entity.
Information about Entity resource that the log event is associated with.
Generated from protobuf message google.cloud.dataplex.v1.GovernanceEvent.Entity
Namespace
Google \ Cloud \ Dataplex \ V1 \ GovernanceEventMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ entity |
string
The Entity resource the log event is associated with. Format: |
↳ entity_type |
int
Type of entity. |
getEntity
The Entity resource the log event is associated with.
Format:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}
Returns | |
---|---|
Type | Description |
string |
setEntity
The Entity resource the log event is associated with.
Format:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEntityType
Type of entity.
Returns | |
---|---|
Type | Description |
int |
Enum of type EntityType. |
setEntityType
Type of entity.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type EntityType. |
Returns | |
---|---|
Type | Description |
$this |