Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataLineage

import { DataLineage } from "https://googleapis.deno.dev/v1/datalineage:v1.ts";
class DataLineage {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsOperationsCancel(name: string, req: GoogleLongrunningCancelOperationRequest): Promise<GoogleProtobufEmpty>;
async projectsLocationsOperationsDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsOperationsGet(name: string): Promise<GoogleLongrunningOperation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<GoogleLongrunningListOperationsResponse>;
async projectsLocationsProcessesCreate(
parent: string,
): Promise<GoogleCloudDatacatalogLineageV1Process>;
async projectsLocationsProcessesDelete(name: string, opts?: ProjectsLocationsProcessesDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsProcessesGet(name: string): Promise<GoogleCloudDatacatalogLineageV1Process>;
async projectsLocationsProcessesList(parent: string, opts?: ProjectsLocationsProcessesListOptions): Promise<GoogleCloudDatacatalogLineageV1ListProcessesResponse>;
async projectsLocationsProcessesPatch(
name: string,
): Promise<GoogleCloudDatacatalogLineageV1Process>;
async projectsLocationsProcessesRunsCreate(
parent: string,
): Promise<GoogleCloudDatacatalogLineageV1Run>;
async projectsLocationsProcessesRunsDelete(name: string, opts?: ProjectsLocationsProcessesRunsDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsProcessesRunsGet(name: string): Promise<GoogleCloudDatacatalogLineageV1Run>;
async projectsLocationsProcessesRunsLineageEventsCreate(
parent: string,
): Promise<GoogleCloudDatacatalogLineageV1LineageEvent>;
async projectsLocationsProcessesRunsLineageEventsDelete(name: string, opts?: ProjectsLocationsProcessesRunsLineageEventsDeleteOptions): Promise<GoogleProtobufEmpty>;
async projectsLocationsProcessesRunsLineageEventsGet(name: string): Promise<GoogleCloudDatacatalogLineageV1LineageEvent>;
async projectsLocationsProcessesRunsLineageEventsList(parent: string, opts?: ProjectsLocationsProcessesRunsLineageEventsListOptions): Promise<GoogleCloudDatacatalogLineageV1ListLineageEventsResponse>;
async projectsLocationsProcessesRunsList(parent: string, opts?: ProjectsLocationsProcessesRunsListOptions): Promise<GoogleCloudDatacatalogLineageV1ListRunsResponse>;
async projectsLocationsProcessesRunsPatch(
name: string,
): Promise<GoogleCloudDatacatalogLineageV1Run>;
async projectsLocationsProcessOpenLineageRunEvent(
parent: string,
req: {
[key: string]: any;
}
,
): Promise<GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse>;
async projectsLocationsSearchLinks(parent: string, req: GoogleCloudDatacatalogLineageV1SearchLinksRequest): Promise<GoogleCloudDatacatalogLineageV1SearchLinksResponse>;
}

§Constructors

§
new DataLineage(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§

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 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.

@param parent

Required. The project and location where you want to search.

§
projectsLocationsOperationsCancel(name: string, req: GoogleLongrunningCancelOperationRequest): Promise<GoogleProtobufEmpty>
[src]

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsOperationsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsOperationsGet(name: string): Promise<GoogleLongrunningOperation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<GoogleLongrunningListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§

Creates a new process.

@param parent

Required. The name of the project and its location that should own the process.

§
projectsLocationsProcessesDelete(name: string, opts?: ProjectsLocationsProcessesDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Deletes the process with the specified name.

@param name

Required. The name of the process to delete.

§
projectsLocationsProcessesGet(name: string): Promise<GoogleCloudDatacatalogLineageV1Process>
[src]

Gets the details of the specified process.

@param name

Required. The name of the process to get.

§
projectsLocationsProcessesList(parent: string, opts?: ProjectsLocationsProcessesListOptions): Promise<GoogleCloudDatacatalogLineageV1ListProcessesResponse>
[src]

List processes in the given project and location. List order is descending by insertion time.

@param parent

Required. The name of the project and its location that owns this collection of processes.

§

Updates a process.

@param name

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

§
projectsLocationsProcessesRunsCreate(parent: string, req: GoogleCloudDatacatalogLineageV1Run, opts?: ProjectsLocationsProcessesRunsCreateOptions): Promise<GoogleCloudDatacatalogLineageV1Run>
[src]

Creates a new run.

@param parent

Required. The name of the process that should own the run.

§
projectsLocationsProcessesRunsDelete(name: string, opts?: ProjectsLocationsProcessesRunsDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Deletes the run with the specified name.

@param name

Required. The name of the run to delete.

§
projectsLocationsProcessesRunsGet(name: string): Promise<GoogleCloudDatacatalogLineageV1Run>
[src]

Gets the details of the specified run.

@param name

Required. The name of the run to get.

§

Creates a new lineage event.

@param parent

Required. The name of the run that should own the lineage event.

§
projectsLocationsProcessesRunsLineageEventsDelete(name: string, opts?: ProjectsLocationsProcessesRunsLineageEventsDeleteOptions): Promise<GoogleProtobufEmpty>
[src]

Deletes the lineage event with the specified name.

@param name

Required. The name of the lineage event to delete.

§
projectsLocationsProcessesRunsLineageEventsGet(name: string): Promise<GoogleCloudDatacatalogLineageV1LineageEvent>
[src]

Gets details of a specified lineage event.

@param name

Required. The name of the lineage event to get.

§
projectsLocationsProcessesRunsLineageEventsList(parent: string, opts?: ProjectsLocationsProcessesRunsLineageEventsListOptions): Promise<GoogleCloudDatacatalogLineageV1ListLineageEventsResponse>
[src]

Lists lineage events in the given project and location. The list order is not defined.

@param parent

Required. The name of the run that owns the collection of lineage events to get.

§
projectsLocationsProcessesRunsList(parent: string, opts?: ProjectsLocationsProcessesRunsListOptions): Promise<GoogleCloudDatacatalogLineageV1ListRunsResponse>
[src]

Lists runs in the given project and location. List order is descending by start_time.

@param parent

Required. The name of process that owns this collection of runs.

§

Updates a run.

@param name

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

§
projectsLocationsProcessOpenLineageRunEvent(parent: string, req: {
[key: string]: any;
}
, opts?: ProjectsLocationsProcessOpenLineageRunEventOptions): Promise<GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse>
[src]

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.

@param parent

Required. The name of the project and its location that should own the process, run, and lineage event.