Reference documentation and code samples for the Google Cloud Chronicle Client class EntityGraphEnrichment.
EntityGraphEnrichment contains the data table name and the enrichment applied to the entity.
Generated from protobuf message google.backstory.EntityGraphEnrichment
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_table |
string
The name of the data table. |
↳ enrichment_type |
int
The type of enrichment. |
↳ overridden_entity |
Entity
The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE. |
getDataTable
The name of the data table.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDataTable
The name of the data table.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnrichmentType
The type of enrichment.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type EnrichmentType. |
setEnrichmentType
The type of enrichment.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type EnrichmentType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOverriddenEntity
The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.
| Returns | |
|---|---|
| Type | Description |
Entity|null |
|
hasOverriddenEntity
clearOverriddenEntity
setOverriddenEntity
The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE.
| Parameter | |
|---|---|
| Name | Description |
var |
Entity
|
| Returns | |
|---|---|
| Type | Description |
$this |
|