public static interface LineageGrpc.AsyncService
Lineage is used to track data flows between assets over time. You can create [LineageEvents][google.cloud.datacatalog.lineage.v1.LineageEvent] to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.
| Modifier and Type | Method and Description |
|---|---|
default void |
batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request,
io.grpc.stub.StreamObserver<BatchSearchLinkProcessesResponse> responseObserver)
Retrieve information about LineageProcesses associated with specific
links.
|
default void |
createLineageEvent(CreateLineageEventRequest request,
io.grpc.stub.StreamObserver<LineageEvent> responseObserver)
Creates a new lineage event.
|
default void |
createProcess(CreateProcessRequest request,
io.grpc.stub.StreamObserver<Process> responseObserver)
Creates a new process.
|
default void |
createRun(CreateRunRequest request,
io.grpc.stub.StreamObserver<Run> responseObserver)
Creates a new run.
|
default void |
deleteLineageEvent(DeleteLineageEventRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the lineage event with the specified name.
|
default void |
deleteProcess(DeleteProcessRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the process with the specified name.
|
default void |
deleteRun(DeleteRunRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the run with the specified name.
|
default void |
getLineageEvent(GetLineageEventRequest request,
io.grpc.stub.StreamObserver<LineageEvent> responseObserver)
Gets details of a specified lineage event.
|
default void |
getProcess(GetProcessRequest request,
io.grpc.stub.StreamObserver<Process> responseObserver)
Gets the details of the specified process.
|
default void |
getRun(GetRunRequest request,
io.grpc.stub.StreamObserver<Run> responseObserver)
Gets the details of the specified run.
|
default void |
listLineageEvents(ListLineageEventsRequest request,
io.grpc.stub.StreamObserver<ListLineageEventsResponse> responseObserver)
Lists lineage events in the given project and location.
|
default void |
listProcesses(ListProcessesRequest request,
io.grpc.stub.StreamObserver<ListProcessesResponse> responseObserver)
List processes in the given project and location.
|
default void |
listRuns(ListRunsRequest request,
io.grpc.stub.StreamObserver<ListRunsResponse> responseObserver)
Lists runs in the given project and location.
|
default void |
processOpenLineageRunEvent(ProcessOpenLineageRunEventRequest request,
io.grpc.stub.StreamObserver<ProcessOpenLineageRunEventResponse> responseObserver)
Creates new lineage events together with their parents: process and run.
|
default void |
searchLinks(SearchLinksRequest request,
io.grpc.stub.StreamObserver<SearchLinksResponse> responseObserver)
Retrieve a list of links connected to a specific asset.
|
default void |
updateProcess(UpdateProcessRequest request,
io.grpc.stub.StreamObserver<Process> responseObserver)
Updates a process.
|
default void |
updateRun(UpdateRunRequest request,
io.grpc.stub.StreamObserver<Run> responseObserver)
Updates a run.
|
default void processOpenLineageRunEvent(ProcessOpenLineageRunEventRequest request, io.grpc.stub.StreamObserver<ProcessOpenLineageRunEventResponse> responseObserver)
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.
default void createProcess(CreateProcessRequest request, io.grpc.stub.StreamObserver<Process> responseObserver)
Creates a new process.
default void updateProcess(UpdateProcessRequest request, io.grpc.stub.StreamObserver<Process> responseObserver)
Updates a process.
default void getProcess(GetProcessRequest request, io.grpc.stub.StreamObserver<Process> responseObserver)
Gets the details of the specified process.
default void listProcesses(ListProcessesRequest request, io.grpc.stub.StreamObserver<ListProcessesResponse> responseObserver)
List processes in the given project and location. List order is descending by insertion time.
default void deleteProcess(DeleteProcessRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the process with the specified name.
default void createRun(CreateRunRequest request, io.grpc.stub.StreamObserver<Run> responseObserver)
Creates a new run.
default void updateRun(UpdateRunRequest request, io.grpc.stub.StreamObserver<Run> responseObserver)
Updates a run.
default void getRun(GetRunRequest request, io.grpc.stub.StreamObserver<Run> responseObserver)
Gets the details of the specified run.
default void listRuns(ListRunsRequest request, io.grpc.stub.StreamObserver<ListRunsResponse> responseObserver)
Lists runs in the given project and location. List order is descending by `start_time`.
default void deleteRun(DeleteRunRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the run with the specified name.
default void createLineageEvent(CreateLineageEventRequest request, io.grpc.stub.StreamObserver<LineageEvent> responseObserver)
Creates a new lineage event.
default void getLineageEvent(GetLineageEventRequest request, io.grpc.stub.StreamObserver<LineageEvent> responseObserver)
Gets details of a specified lineage event.
default void listLineageEvents(ListLineageEventsRequest request, io.grpc.stub.StreamObserver<ListLineageEventsResponse> responseObserver)
Lists lineage events in the given project and location. The list order is not defined.
default void deleteLineageEvent(DeleteLineageEventRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the lineage event with the specified name.
default void searchLinks(SearchLinksRequest request, io.grpc.stub.StreamObserver<SearchLinksResponse> responseObserver)
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 `datalineage.events.get` permission. The project provided in the URL is used for Billing and Quota.
default void batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request, io.grpc.stub.StreamObserver<BatchSearchLinkProcessesResponse> responseObserver)
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 [SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks] method for more information on how to retrieve link name. You can retrieve the LineageProcess information in every project where you have the `datalineage.events.get` permission. The project provided in the URL is used for Billing and Quota.
Copyright © 2024 Google LLC. All rights reserved.