# Google Cloud Dataplex V1 Client - Class RuleType (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class RuleType.

The type of the data quality rule.

Protobuf type `google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1 \\ DataQualityScanRuleResult

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### RULE_TYPE_UNSPECIFIED

    Value: 0

An unspecified rule type.

Generated from protobuf enum `RULE_TYPE_UNSPECIFIED = 0;`

### NON_NULL_EXPECTATION

    Value: 1

See
[DataQualityRule.NonNullExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.NonNullExpectation).

Generated from protobuf enum `NON_NULL_EXPECTATION = 1;`

### RANGE_EXPECTATION

    Value: 2

See
[DataQualityRule.RangeExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.RangeExpectation).

Generated from protobuf enum `RANGE_EXPECTATION = 2;`

### REGEX_EXPECTATION

    Value: 3

See
[DataQualityRule.RegexExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.RegexExpectation).

Generated from protobuf enum `REGEX_EXPECTATION = 3;`

### ROW_CONDITION_EXPECTATION

    Value: 4

See
[DataQualityRule.RowConditionExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.RowConditionExpectation).

Generated from protobuf enum `ROW_CONDITION_EXPECTATION = 4;`

### SET_EXPECTATION

    Value: 5

See
[DataQualityRule.SetExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.SetExpectation).

Generated from protobuf enum `SET_EXPECTATION = 5;`

### STATISTIC_RANGE_EXPECTATION

    Value: 6

See
[DataQualityRule.StatisticRangeExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.StatisticRangeExpectation).

Generated from protobuf enum `STATISTIC_RANGE_EXPECTATION = 6;`

### TABLE_CONDITION_EXPECTATION

    Value: 7

See
[DataQualityRule.TableConditionExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.TableConditionExpectation).

Generated from protobuf enum `TABLE_CONDITION_EXPECTATION = 7;`

### UNIQUENESS_EXPECTATION

    Value: 8

See
[DataQualityRule.UniquenessExpectation](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.UniquenessExpectation).

Generated from protobuf enum `UNIQUENESS_EXPECTATION = 8;`

### SQL_ASSERTION

    Value: 9

See
[DataQualityRule.SqlAssertion](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.SqlAssertion).

Generated from protobuf enum `SQL_ASSERTION = 9;`

### TEMPLATE_REFERENCE

    Value: 10

See
[DataQualityRule.TemplateReference](https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRule.TemplateReference).

Generated from protobuf enum `TEMPLATE_REFERENCE = 10;`