Index
Lineage
(interface)BatchSearchLinkProcessesRequest
(message)BatchSearchLinkProcessesResponse
(message)CreateLineageEventRequest
(message)CreateProcessRequest
(message)CreateRunRequest
(message)DeleteLineageEventRequest
(message)DeleteProcessRequest
(message)DeleteRunRequest
(message)EntityReference
(message)EventLink
(message)GetLineageEventRequest
(message)GetProcessRequest
(message)GetRunRequest
(message)LineageEvent
(message)Link
(message)ListLineageEventsRequest
(message)ListLineageEventsResponse
(message)ListProcessesRequest
(message)ListProcessesResponse
(message)ListRunsRequest
(message)ListRunsResponse
(message)OperationMetadata
(message)OperationMetadata.State
(enum)OperationMetadata.Type
(enum)Origin
(message)Origin.SourceType
(enum)Process
(message)ProcessLinkInfo
(message)ProcessLinks
(message)ProcessOpenLineageRunEventRequest
(message)ProcessOpenLineageRunEventResponse
(message)Run
(message)Run.State
(enum)SearchLinksRequest
(message)SearchLinksResponse
(message)UpdateProcessRequest
(message)UpdateRunRequest
(message)
Lineage
Lineage is used to track data flows between assets over time. You can create LineageEvents
to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.
BatchSearchLinkProcesses |
---|
Retrieve information about LineageProcesses associated with specific links. LineageProcesses are transformation pipelines that result in data flowing from source to target assets. Links between assets represent this operation. If you have specific link names, you can use this method to verify which LineageProcesses contribute to creating those links. See the You can retrieve the LineageProcess information in every project where you have the
|
CreateLineageEvent |
---|
Creates a new lineage event.
|
CreateProcess |
---|
Creates a new process.
|
CreateRun |
---|
Creates a new run.
|
DeleteLineageEvent |
---|
Deletes the lineage event with the specified name.
|
DeleteProcess |
---|
Deletes the process with the specified name.
|
DeleteRun |
---|
Deletes the run with the specified name.
|
GetLineageEvent |
---|
Gets details of a specified lineage event.
|
GetProcess |
---|
Gets the details of the specified process.
|
GetRun |
---|
Gets the details of the specified run.
|
ListLineageEvents |
---|
Lists lineage events in the given project and location. The list order is not defined.
|
ListProcesses |
---|
List processes in the given project and location. List order is descending by insertion time.
|
ListRuns |
---|
Lists runs in the given project and location. List order is descending by
|
ProcessOpenLineageRunEvent |
---|
Creates new lineage events together with their parents: process and run. Updates the process and run if they already exist. Mapped from Open Lineage specification: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
|
SearchLinks |
---|
Retrieve a list of links connected to a specific asset. Links represent the data flow between source (upstream) and target (downstream) assets in transformation pipelines. Links are stored in the same project as the Lineage Events that create them. You can retrieve links in every project where you have the
|
UpdateProcess |
---|
Updates a process.
|
UpdateRun |
---|
Updates a run.
|
BatchSearchLinkProcessesRequest
Request message for BatchSearchLinkProcesses
.
Fields | |
---|---|
parent |
Required. The project and location where you want to search. |
links[] |
Required. An array of links to check for their associated LineageProcesses. The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the Format: |
page_ |
The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value. |
page_ |
The page token received from a previous When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request. |
BatchSearchLinkProcessesResponse
Response message for BatchSearchLinkProcesses
.
Fields | |
---|---|
process_ |
An array of processes associated with the specified links. |
next_ |
The token to specify as |
CreateLineageEventRequest
Request message for CreateLineageEvent
.
Fields | |
---|---|
parent |
Required. The name of the run that should own the lineage event. |
lineage_ |
Required. The lineage event to create. |
request_ |
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a |
CreateProcessRequest
Request message for CreateProcess
.
Fields | |
---|---|
parent |
Required. The name of the project and its location that should own the process. |
process |
Required. The process to create. |
request_ |
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a |
CreateRunRequest
Request message for CreateRun
.
Fields | |
---|---|
parent |
Required. The name of the process that should own the run. |
run |
Required. The run to create. |
request_ |
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a |
DeleteLineageEventRequest
Request message for DeleteLineageEvent
.
Fields | |
---|---|
name |
Required. The name of the lineage event to delete. |
allow_ |
If set to true and the lineage event is not found, the request succeeds but the server doesn't perform any actions. |
DeleteProcessRequest
Request message for DeleteProcess
.
Fields | |
---|---|
name |
Required. The name of the process to delete. |
allow_ |
If set to true and the process is not found, the request succeeds but the server doesn't perform any actions. |
DeleteRunRequest
Request message for DeleteRun
.
Fields | |
---|---|
name |
Required. The name of the run to delete. |
allow_ |
If set to true and the run is not found, the request succeeds but the server doesn't perform any actions. |
EntityReference
The soft reference to everything you can attach a lineage event to.
Fields | |
---|---|
fully_ |
Required. Fully Qualified Name (FQN) of the entity. |
EventLink
A lineage between source and target entities.
Fields | |
---|---|
source |
Required. Reference to the source entity |
target |
Required. Reference to the target entity |
GetLineageEventRequest
Request message for GetLineageEvent
.
Fields | |
---|---|
name |
Required. The name of the lineage event to get. |
GetProcessRequest
Request message for GetProcess
.
Fields | |
---|---|
name |
Required. The name of the process to get. |
GetRunRequest
Request message for GetRun
.
Fields | |
---|---|
name |
Required. The name of the run to get. |
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.
Fields | |
---|---|
name |
Immutable. The resource name of the lineage event. Format: |
links[] |
Optional. List of source-target pairs. Can't contain more than 100 tuples. |
start_ |
Required. 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_ |
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. |
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.
Fields | |
---|---|
name |
Output only. Immutable. The name of the link. Format: |
source |
The pointer to the entity that is the source of this link. |
target |
The pointer to the entity that is the target of this link. |
start_ |
The start of the first event establishing this link. |
end_ |
The end of the last event establishing this link. |
ListLineageEventsRequest
Request message for ListLineageEvents
.
Fields | |
---|---|
parent |
Required. The name of the run that owns the collection of lineage events to get. |
page_ |
The maximum number of lineage events to return. The service may return fewer events than this value. If unspecified, at most 50 events are returned. The maximum value is 100; values greater than 100 are cut to 100. |
page_ |
The page token received from a previous When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token. |
ListLineageEventsResponse
Response message for ListLineageEvents
.
Fields | |
---|---|
lineage_ |
Lineage events from the specified project and location. |
next_ |
The token to specify as |
ListProcessesRequest
Request message for ListProcesses
.
Fields | |
---|---|
parent |
Required. The name of the project and its location that owns this collection of processes. |
page_ |
The maximum number of processes to return. The service may return fewer than this value. If unspecified, at most 50 processes are returned. The maximum value is 100; values greater than 100 are cut to 100. |
page_ |
The page token received from a previous When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token. |
ListProcessesResponse
Response message for ListProcesses
.
Fields | |
---|---|
processes[] |
The processes from the specified project and location. |
next_ |
The token to specify as |
ListRunsRequest
Request message for ListRuns
.
Fields | |
---|---|
parent |
Required. The name of process that owns this collection of runs. |
page_ |
The maximum number of runs to return. The service may return fewer than this value. If unspecified, at most 50 runs are returned. The maximum value is 100; values greater than 100 are cut to 100. |
page_ |
The page token received from a previous When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token. |
ListRunsResponse
Response message for ListRuns
.
Fields | |
---|---|
runs[] |
The runs from the specified project and location. |
next_ |
The token to specify as |
OperationMetadata
Metadata describing the operation.
Fields | |
---|---|
state |
Output only. The current operation state. |
operation_ |
Output only. The type of the operation being performed. |
resource |
Output only. The relative name of the resource being operated on. |
resource_ |
Output only. The UUID of the resource being operated on. |
create_ |
Output only. The timestamp of the operation submission to the server. |
end_ |
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing. |
State
An enum with the state of the operation.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unused. |
PENDING |
The operation has been created but is not yet started. |
RUNNING |
The operation is underway. |
SUCCEEDED |
The operation completed successfully. |
FAILED |
The operation is no longer running and did not succeed. |
Type
Type of the long running operation.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unused. |
DELETE |
The resource deletion operation. |
CREATE |
The resource creation operation. |
Origin
Origin of a process.
Fields | |
---|---|
source_ |
Type of the source. Use of a source_type other than |
name |
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
|
SourceType
Type of the source of a process.
Enums | |
---|---|
SOURCE_TYPE_UNSPECIFIED |
Source is Unspecified |
CUSTOM |
A custom source |
BIGQUERY |
BigQuery |
DATA_FUSION |
Data Fusion |
COMPOSER |
Composer |
LOOKER_STUDIO |
Looker Studio |
DATAPROC |
Dataproc |
VERTEX_AI |
Vertex AI |
Process
A process is the definition of a data transformation operation.
Fields | |
---|---|
name |
Immutable. The resource name of the lineage process. Format: |
display_ |
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like |
attributes |
Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process). Up to 100 attributes are allowed. |
origin |
Optional. The origin of this process and its runs and lineage events. |
ProcessLinkInfo
Link details.
Fields | |
---|---|
link |
The name of the link in the format of |
start_ |
The start of the first event establishing this link-process tuple. |
end_ |
The end of the last event establishing this link-process tuple. |
ProcessLinks
Links associated with a specific process.
Fields | |
---|---|
process |
The process name in the format of |
links[] |
An array containing link details objects of the links provided in the original request. A single process can result in creating multiple links. If any of the links you provide in the request are created by the same process, they all are included in this array. |
ProcessOpenLineageRunEventRequest
Request message for ProcessOpenLineageRunEvent
.
Fields | |
---|---|
parent |
Required. The name of the project and its location that should own the process, run, and lineage event. |
open_ |
Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json |
request_ |
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a |
ProcessOpenLineageRunEventResponse
Response message for ProcessOpenLineageRunEvent
.
Fields | |
---|---|
process |
Created process name. Format: |
run |
Created run name. Format: |
lineage_ |
Created lineage event names. Format: |
Run
A lineage run represents an execution of a process that creates lineage events.
Fields | |
---|---|
name |
Immutable. The resource name of the run. Format: |
display_ |
Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like |
attributes |
Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed. |
start_ |
Required. The timestamp of the start of the run. |
end_ |
Optional. The timestamp of the end of the run. |
state |
Required. The state of the run. |
State
The current state of the run.
Enums | |
---|---|
UNKNOWN |
The state is unknown. The true state may be any of the below or a different state that is not supported here explicitly. |
STARTED |
The run is still executing. |
COMPLETED |
The run completed. |
FAILED |
The run failed. |
ABORTED |
The run aborted. |
SearchLinksRequest
Request message for SearchLinks
.
Fields | |
---|---|
parent |
Required. The project and location you want search in. |
page_ |
Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned. Maximum value is 100; values greater than 100 are reduced to 100. |
page_ |
Optional. The page token received from a previous When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request. |
Union field criteria . The asset for which you want to retrieve links. criteria can be only one of the following: |
|
source |
Optional. Send asset information in the source field to retrieve all links that lead from the specified asset to downstream assets. |
target |
Optional. Send asset information in the target field to retrieve all links that lead from upstream assets to the specified asset. |
SearchLinksResponse
Response message for SearchLinks
.
Fields | |
---|---|
links[] |
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target). |
next_ |
The token to specify as |
UpdateProcessRequest
Request message for UpdateProcess
.
Fields | |
---|---|
process |
Required. The lineage process to update. The process's |
update_ |
The list of fields to update. Currently not used. The whole message is updated. |
allow_ |
If set to true and the process is not found, the request inserts it. |
UpdateRunRequest
Request message for UpdateRun
.
Fields | |
---|---|
run |
Required. The lineage run to update. The run's Format: |
update_ |
The list of fields to update. Currently not used. The whole message is updated. |
allow_ |
If set to true and the run is not found, the request creates it. |