You can selectively enable or disable lineage ingestion for specific integrations at the project, folder, or organization level.
For more information about supported integrations and configuration scenarios, see Control data lineage ingestion.
Prerequisites
To control lineage ingestion, you must use the Data Lineage API. Ensure you have a client project configured for billing and quota, because the Data Lineage API is a client-based API.
Roles and permissions
To get the permissions that you need to configure and control data lineage ingestion, ask your administrator to grant you the following Identity and Access Management (IAM) roles:
To get the permissions that you need to configure and control data lineage ingestion, ask your administrator to grant you the following IAM roles on your project:
-
Configure and manage data lineage:
Data Lineage Administrator (
roles/datalineage.admin)
For more information about granting roles, see Manage access to projects, folders, and organizations.
These predefined roles contain the permissions required to configure and control data lineage ingestion. To see the exact permissions that are required, expand the Required permissions section:
Required permissions
The following permissions are required to configure and control data lineage ingestion:
-
Get and update lineage configurations:
-
datalineage.configs.get -
datalineage.configs.update
-
You might also be able to get these permissions with custom roles or other predefined roles.
Enable the
datalineage.googleapis.comAPI in your client project. For more information, see Enable data lineage.Set the client project. For the following examples, use the
X-Goog-User-Projectheader. For more information, see System parameters.
Get current configuration
To check whether lineage ingestion is enabled for a resource or to obtain
the etag value before you modify the configuration, retrieve the current
configuration.
C#
Before trying this sample, follow the C# setup instructions in the
Knowledge Catalog quickstart using
client libraries.
For more information, see the
Knowledge Catalog C# API
reference documentation.
To authenticate to Knowledge Catalog, set up Application Default Credentials.
For more information, see
Set up authentication for a local development environment.
C#
Go
Before trying this sample, follow the Go setup instructions in the
Knowledge Catalog quickstart using
client libraries.
For more information, see the
Knowledge Catalog Go API
reference documentation.
To authenticate to Knowledge Catalog, set up Application Default Credentials.
For more information, see
Set up authentication for a local development environment.
Go