1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ExtractionRule : IMessage<ExtractionRule>, IEquatable<ExtractionRule>, IDeepCloneable<ExtractionRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Integration Connectors v1 API class ExtractionRule.

Extraction Rule.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ExtractionRule

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ExtractionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ExtractionRule.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExtractionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ExtractionRule.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ExtractionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ExtractionRule.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Connectors.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.md.txt)

## Assembly

Google.Cloud.Connectors.V1.dll

## Constructors

### ExtractionRule()

    public ExtractionRule()

### ExtractionRule(ExtractionRule)

    public ExtractionRule(ExtractionRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ExtractionRule` |

## Properties

### ExtractionRegex

    public string ExtractionRegex { get; set; }

Regex used to extract backend details from source. If empty, whole source
value will be used.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Source

    public ExtractionRule.Types.Source Source { get; set; }

Source on which the rule is applied.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExtractionRuleTypesSource` |   |