- [Resource: Config](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.SCHEMA_REPRESENTATION)
  - [Ingestion](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Ingestion)
    - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Ingestion.SCHEMA_REPRESENTATION)
  - [IngestionRule](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IngestionRule)
    - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IngestionRule.SCHEMA_REPRESENTATION)
  - [IntegrationSelector](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IntegrationSelector)
    - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IntegrationSelector.SCHEMA_REPRESENTATION)
  - [Integration](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Integration)
  - [LineageEnablement](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.LineageEnablement)
    - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.LineageEnablement.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#METHODS_SUMMARY)

## Resource: Config

Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.

| JSON representation |
|---|
| ``` { "name": string, "ingestion": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Ingestion`) }, "etag": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{projectId}/locations/global/config` `projects/{project_number}/locations/global/config` |
| `ingestion` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Ingestion`)`` Optional. Ingestion rule for Data Lineage ingestion. |
| `etag` | `string` Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the `etag` in the read-modify-write cycle to perform config updates in order to avoid race conditions: An `etag` is returned in the response to `config.get`, and systems are expected to put that etag in the request to `config.patch` to ensure that their change will be applied to the same version of the config. If an `etag` is not provided in the call to `config.patch`, then the existing config, if any, will be overwritten. |

### Ingestion

Defines how Lineage should be ingested for a given resource.

| JSON representation |
|---|
| ``` { "rules": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IngestionRule`) } ] } ``` |

| Fields ||
|---|---|
| `rules[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IngestionRule`)`` Optional. List of rules for Data Lineage ingestion. |

### IngestionRule

Ingestion rule for Data Lineage ingestion.

| JSON representation |
|---|
| ``` { "integrationSelector": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IntegrationSelector`) }, "lineageEnablement": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.LineageEnablement`) } } ``` |

| Fields ||
|---|---|
| `integrationSelector` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.IntegrationSelector`)`` Required. Integration selector of the rule. The rule is only applied to the Integration selected by the selector. |
| `lineageEnablement` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.LineageEnablement`)`` Required. Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. If unspecified, the ingestion will be enabled only if it was configured in the resource's parent. |

### IntegrationSelector

Integration selector of the rule. The rule is only applied to the Integration selected by the selector.

| JSON representation |
|---|
| ``` { "integration": enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Integration`) } ``` |

| Fields ||
|---|---|
| `integration` | ``enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config#Config.Integration`)`` Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied. |

### Integration

Integration to which the rule applies. This enum is expected to grow over time.

| Enums ||
|---|---|
| `INTEGRATION_UNSPECIFIED` | Integration is Unspecified |
| `BIGQUERY` | BigQuery |
| `DATAPROC` | Dataproc |
| `LOOKER_CORE` | Looker Core |
| `MANAGED_AIRFLOW` | Managed Service for Apache Airflow (formerly known as Cloud Composer) |

### LineageEnablement

Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children.

| JSON representation |
|---|
| ``` { "enabled": boolean } ``` |

| Fields ||
|---|---|
| `enabled` | `boolean` Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config/get` | Get the Config for a given resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/data-lineage/rest/v1/folders.locations.config/patch` | Update the Config for a given resource. |