REST Resource: folders.locations.config

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 (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 (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 (IngestionRule)
    }
  ]
}
Fields
rules[]

object (IngestionRule)

Optional. List of rules for Data Lineage ingestion.

IngestionRule

Ingestion rule for Data Lineage ingestion.

JSON representation
{
  "integrationSelector": {
    object (IntegrationSelector)
  },
  "lineageEnablement": {
    object (LineageEnablement)
  }
}
Fields
integrationSelector

object (IntegrationSelector)

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

lineageEnablement

object (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 (Integration)
}
Fields
integration

enum (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
DATAPROC Dataproc

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

get

Get the Config for a given resource.

patch

Update the Config for a given resource.