Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class Link.
Links represent the data flow between source (upstream) and target (downstream) assets in transformation pipelines.
Links are created when LineageEvents record data transformation between related assets.
Generated from protobuf message google.cloud.datacatalog.lineage.v1.Link
Namespace
Google \ Cloud \ DataCatalog \ Lineage \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. Immutable. The name of the link. Format: |
↳ source |
EntityReference
The pointer to the entity that is the source of this link. |
↳ target |
EntityReference
The pointer to the entity that is the target of this link. |
↳ start_time |
Google\Protobuf\Timestamp
The start of the first event establishing this link. |
↳ end_time |
Google\Protobuf\Timestamp
The end of the last event establishing this link. |
getName
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. Immutable. The name of the link. Format:
projects/{project}/locations/{location}/links/{link}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSource
The pointer to the entity that is the source of this link.
Returns | |
---|---|
Type | Description |
EntityReference|null |
hasSource
clearSource
setSource
The pointer to the entity that is the source of this link.
Parameter | |
---|---|
Name | Description |
var |
EntityReference
|
Returns | |
---|---|
Type | Description |
$this |
getTarget
The pointer to the entity that is the target of this link.
Returns | |
---|---|
Type | Description |
EntityReference|null |
hasTarget
clearTarget
setTarget
The pointer to the entity that is the target of this link.
Parameter | |
---|---|
Name | Description |
var |
EntityReference
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
The start of the first event establishing this link.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
The start of the first event establishing this link.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
The end of the last event establishing this link.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
The end of the last event establishing this link.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |