Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class LineageLink.
Lineage link between two entities.
Generated from protobuf message google.cloud.datacatalog.lineage.v1.LineageLink
Namespace
Google \ Cloud \ DataCatalog \ Lineage \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source |
EntityReference
The entity that is the source of this link. |
↳ target |
EntityReference
The entity that is the target of this link. |
↳ processes |
array<LineageLink\LineageProcess>
Processes metadata associated with the link. |
↳ dependency_info |
array<LineageLink\DependencyInfo>
Describes how the target entity is dependent on the source entity. |
↳ depth |
int
Depth of the current link in the graph starting from 1. |
↳ location |
string
The location where the LineageEvent that created the link is stored. |
getSource
The entity that is the source of this link.
| Returns | |
|---|---|
| Type | Description |
EntityReference|null |
|
hasSource
clearSource
setSource
The entity that is the source of this link.
| Parameter | |
|---|---|
| Name | Description |
var |
EntityReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTarget
The entity that is the target of this link.
| Returns | |
|---|---|
| Type | Description |
EntityReference|null |
|
hasTarget
clearTarget
setTarget
The entity that is the target of this link.
| Parameter | |
|---|---|
| Name | Description |
var |
EntityReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProcesses
Processes metadata associated with the link.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<LineageLink\LineageProcess> |
|
setProcesses
Processes metadata associated with the link.
| Parameter | |
|---|---|
| Name | Description |
var |
array<LineageLink\LineageProcess>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDependencyInfo
Describes how the target entity is dependent on the source entity.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<LineageLink\DependencyInfo> |
|
setDependencyInfo
Describes how the target entity is dependent on the source entity.
| Parameter | |
|---|---|
| Name | Description |
var |
array<LineageLink\DependencyInfo>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDepth
Depth of the current link in the graph starting from 1.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDepth
Depth of the current link in the graph starting from 1.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
The location where the LineageEvent that created the link is stored.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
The location where the LineageEvent that created the link is stored.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|