Google Cloud Data Catalog Lineage V1 Client - Class LineageEvent (0.2.1)

Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class LineageEvent.

A lineage event represents an operation on assets. Within the operation, the data flows from the source to the target defined in the links field.

Generated from protobuf message google.cloud.datacatalog.lineage.v1.LineageEvent

Namespace

Google \ Cloud \ DataCatalog \ Lineage \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

↳ links array<Google\Cloud\DataCatalog\Lineage\V1\EventLink>

Optional. List of source-target pairs. Can't contain more than 100 tuples.

↳ start_time Google\Protobuf\Timestamp

Optional. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.

↳ end_time Google\Protobuf\Timestamp

Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.

getName

Immutable. The resource name of the lineage event.

Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

Returns
TypeDescription
string

setName

Immutable. The resource name of the lineage event.

Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

Optional. List of source-target pairs. Can't contain more than 100 tuples.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

Optional. List of source-target pairs. Can't contain more than 100 tuples.

Parameter
NameDescription
var array<Google\Cloud\DataCatalog\Lineage\V1\EventLink>
Returns
TypeDescription
$this

getStartTime

Optional. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Optional. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this