# Data Lineage v1 API - Class Config.Types.Ingestion.Types.IngestionRule (1.0.0-beta01)

    public sealed class Config.Types.Ingestion.Types.IngestionRule : IMessage<Config.Types.Ingestion.Types.IngestionRule>, IEquatable<Config.Types.Ingestion.Types.IngestionRule>, IDeepCloneable<Config.Types.Ingestion.Types.IngestionRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Lineage v1 API class Config.Types.Ingestion.Types.IngestionRule.

Ingestion rule for Data Lineage ingestion.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Config.Types.Ingestion.Types.IngestionRule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Config](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types)[Ingestion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types)[IngestionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Config](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types)[Ingestion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types)[IngestionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Config](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types)[Ingestion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types)[IngestionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1)

## Assembly

Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.dll

## Constructors

### IngestionRule()

    public IngestionRule()

### IngestionRule(IngestionRule)

    public IngestionRule(Config.Types.Ingestion.Types.IngestionRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Confighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule` |

## Properties

### IntegrationSelector

    public Config.Types.Ingestion.Types.IngestionRule.Types.IntegrationSelector IntegrationSelector { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Confighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRulehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule.Types.IntegrationSelector` |   |

### LineageEnablement

    public Config.Types.Ingestion.Types.IngestionRule.Types.LineageEnablement LineageEnablement { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Confighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRulehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1/latest/Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.Config.Types.Ingestion.Types.IngestionRule.Types.LineageEnablement` |   |