com.google.cloud.datacatalog.lineage.v1
A client to Data Lineage API
The interfaces provided are listed below, along with usage samples.
LineageClient
Service Description: 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.
Sample for LineageClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (LineageClient lineageClient = LineageClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Process process = Process.newBuilder().build();
Process response = lineageClient.createProcess(parent, process);
}