# Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataQualityScanRuleResult (v2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.1 0.20.0 0.19.0 0.18.2 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataQualityScanRuleResult.

Information about the result of a data quality rule for data quality scan.
The monitored resource is 'DataScan'.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #assertion_row_count

    def assertion_row_count() -> ::Integer

**Returns**

- (::Integer) --- The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.

### #assertion_row_count=

    def assertion_row_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
**Returns**

- (::Integer) --- The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.

### #column

    def column() -> ::String

**Returns**

- (::String) --- The column which this rule is evaluated against.

### #column=

    def column=(value) -> ::String

**Parameter**

- **value** (::String) --- The column which this rule is evaluated against.
**Returns**

- (::String) --- The column which this rule is evaluated against.

### #data_source

    def data_source() -> ::String

**Returns**

- (::String) --- The data source of the data scan (e.g. BigQuery table name).

### #data_source=

    def data_source=(value) -> ::String

**Parameter**

- **value** (::String) --- The data source of the data scan (e.g. BigQuery table name).
**Returns**

- (::String) --- The data source of the data scan (e.g. BigQuery table name).

### #evaluated_row_count

    def evaluated_row_count() -> ::Integer

**Returns**

- (::Integer) --- The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.

### #evaluated_row_count=

    def evaluated_row_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.
**Returns**

- (::Integer) --- The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.

### #evalution_type

    def evalution_type() -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-EvaluationType)) --- The evaluation type of the data quality rule.

### #evalution_type=

    def evalution_type=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-EvaluationType)) --- The evaluation type of the data quality rule.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-EvaluationType)) --- The evaluation type of the data quality rule.

### #job_id

    def job_id() -> ::String

**Returns**

- (::String) --- Identifier of the specific data scan job this log entry is for.

### #job_id=

    def job_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier of the specific data scan job this log entry is for.
**Returns**

- (::String) --- Identifier of the specific data scan job this log entry is for.

### #null_row_count

    def null_row_count() -> ::Integer

**Returns**

- (::Integer) --- The number of rows with null values in the specified column.

### #null_row_count=

    def null_row_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of rows with null values in the specified column.
**Returns**

- (::Integer) --- The number of rows with null values in the specified column.

### #passed_row_count

    def passed_row_count() -> ::Integer

**Returns**

- (::Integer) --- The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.

### #passed_row_count=

    def passed_row_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.
**Returns**

- (::Integer) --- The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.

### #result

    def result() -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-Result)) --- The result of the data quality rule.

### #result=

    def result=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-Result)) --- The result of the data quality rule.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-Result)) --- The result of the data quality rule.

### #rule_dimension

    def rule_dimension() -> ::String

**Returns**

- (::String) --- The dimension of the data quality rule.

### #rule_dimension=

    def rule_dimension=(value) -> ::String

**Parameter**

- **value** (::String) --- The dimension of the data quality rule.
**Returns**

- (::String) --- The dimension of the data quality rule.

### #rule_name

    def rule_name() -> ::String

**Returns**

- (::String) --- The name of the data quality rule.

### #rule_name=

    def rule_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the data quality rule.
**Returns**

- (::String) --- The name of the data quality rule.

### #rule_type

    def rule_type() -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-RuleType)) --- The type of the data quality rule.

### #rule_type=

    def rule_type=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-RuleType)) --- The type of the data quality rule.
**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityScanRuleResult-RuleType)) --- The type of the data quality rule.

### #threshold_percent

    def threshold_percent() -> ::Float

**Returns**

- (::Float) --- The passing threshold (\[0.0, 100.0\]) of the data quality rule.

### #threshold_percent=

    def threshold_percent=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The passing threshold (\[0.0, 100.0\]) of the data quality rule.
**Returns**

- (::Float) --- The passing threshold (\[0.0, 100.0\]) of the data quality rule.