Struct google_api_proto::google::cloud::dataplex::v1::DataQualityScanRuleResult
source · pub struct DataQualityScanRuleResult {Show 13 fields
pub job_id: String,
pub data_source: String,
pub column: String,
pub rule_name: String,
pub rule_type: i32,
pub evalution_type: i32,
pub rule_dimension: String,
pub threshold_percent: f64,
pub result: i32,
pub evaluated_row_count: i64,
pub passed_row_count: i64,
pub null_row_count: i64,
pub assertion_row_count: i64,
}
Expand description
Information about the result of a data quality rule for data quality scan. The monitored resource is ‘DataScan’.
Fields§
§job_id: String
Identifier of the specific data scan job this log entry is for.
data_source: String
The data source of the data scan (e.g. BigQuery table name).
column: String
The column which this rule is evaluated against.
rule_name: String
The name of the data quality rule.
rule_type: i32
The type of the data quality rule.
evalution_type: i32
The evaluation type of the data quality rule.
rule_dimension: String
The dimension of the data quality rule.
threshold_percent: f64
The passing threshold ([0.0, 100.0]) of the data quality rule.
result: i32
The result of the data quality rule.
evaluated_row_count: i64
The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.
passed_row_count: i64
The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.
null_row_count: i64
The number of rows with null values in the specified column.
assertion_row_count: i64
The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.
Implementations§
source§impl DataQualityScanRuleResult
impl DataQualityScanRuleResult
sourcepub fn rule_type(&self) -> RuleType
pub fn rule_type(&self) -> RuleType
Returns the enum value of rule_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_rule_type(&mut self, value: RuleType)
pub fn set_rule_type(&mut self, value: RuleType)
Sets rule_type
to the provided enum value.
sourcepub fn evalution_type(&self) -> EvaluationType
pub fn evalution_type(&self) -> EvaluationType
Returns the enum value of evalution_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_evalution_type(&mut self, value: EvaluationType)
pub fn set_evalution_type(&mut self, value: EvaluationType)
Sets evalution_type
to the provided enum value.
sourcepub fn result(&self) -> Result
pub fn result(&self) -> Result
Returns the enum value of result
, or the default if the field is set to an invalid enum value.
sourcepub fn set_result(&mut self, value: Result)
pub fn set_result(&mut self, value: Result)
Sets result
to the provided enum value.
Trait Implementations§
source§impl Clone for DataQualityScanRuleResult
impl Clone for DataQualityScanRuleResult
source§fn clone(&self) -> DataQualityScanRuleResult
fn clone(&self) -> DataQualityScanRuleResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataQualityScanRuleResult
impl Debug for DataQualityScanRuleResult
source§impl Default for DataQualityScanRuleResult
impl Default for DataQualityScanRuleResult
source§impl Message for DataQualityScanRuleResult
impl Message for DataQualityScanRuleResult
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DataQualityScanRuleResult
impl PartialEq for DataQualityScanRuleResult
source§fn eq(&self, other: &DataQualityScanRuleResult) -> bool
fn eq(&self, other: &DataQualityScanRuleResult) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataQualityScanRuleResult
Auto Trait Implementations§
impl Freeze for DataQualityScanRuleResult
impl RefUnwindSafe for DataQualityScanRuleResult
impl Send for DataQualityScanRuleResult
impl Sync for DataQualityScanRuleResult
impl Unpin for DataQualityScanRuleResult
impl UnwindSafe for DataQualityScanRuleResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request