3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class DataQualityRule.Types.StatisticRangeExpectation : IMessage<DataQualityRule.Types.StatisticRangeExpectation>, IEquatable<DataQualityRule.Types.StatisticRangeExpectation>, IDeepCloneable<DataQualityRule.Types.StatisticRangeExpectation>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class DataQualityRule.Types.StatisticRangeExpectation.

Evaluates whether the column aggregate statistic lies between a specified
range.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataQualityRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.md.txt)[StatisticRangeExpectation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.StatisticRangeExpectation.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataQualityRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.md.txt)[StatisticRangeExpectation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.StatisticRangeExpectation.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataQualityRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.md.txt)[StatisticRangeExpectation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRule.Types.StatisticRangeExpectation.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.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### StatisticRangeExpectation()

    public StatisticRangeExpectation()

### StatisticRangeExpectation(StatisticRangeExpectation)

    public StatisticRangeExpectation(DataQualityRule.Types.StatisticRangeExpectation other)

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

## Properties

### MaxValue

    public string MaxValue { get; set; }

Optional. The maximum column statistic value allowed for a row to pass
this validation.

At least one of `min_value` and `max_value` need to be provided.

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

### MinValue

    public string MinValue { get; set; }

Optional. The minimum column statistic value allowed for a row to pass
this validation.

At least one of `min_value` and `max_value` need to be provided.

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

### Statistic

    public DataQualityRule.Types.StatisticRangeExpectation.Types.ColumnStatistic Statistic { get; set; }

Optional. The aggregate metric to evaluate.

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

### StrictMaxEnabled

    public bool StrictMaxEnabled { get; set; }

Optional. Whether column statistic needs to be strictly lesser than ('\<')
the maximum, or if equality is allowed.

Only relevant if a `max_value` has been defined. Default = false.

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

### StrictMinEnabled

    public bool StrictMinEnabled { get; set; }

Optional. Whether column statistic needs to be strictly greater than
('\>') the minimum, or if equality is allowed.

Only relevant if a `min_value` has been defined. Default = false.

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