Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataQualitySpec.
DataQualityScan related setting.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#post_scan_actions
def post_scan_actions() -> ::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions
Returns
- (::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions) — Optional. Actions to take upon job completion.
#post_scan_actions=
def post_scan_actions=(value) -> ::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions
Parameter
- value (::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions) — Optional. Actions to take upon job completion.
Returns
- (::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions) — Optional. Actions to take upon job completion.
#row_filter
def row_filter() -> ::String
Returns
- (::String) — Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
#row_filter=
def row_filter=(value) -> ::String
Parameter
- value (::String) — Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
Returns
- (::String) — Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
#rules
def rules() -> ::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>
Returns
- (::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>) — Required. The list of rules to evaluate against a data source. At least one rule is required.
#rules=
def rules=(value) -> ::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>
Parameter
- value (::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>) — Required. The list of rules to evaluate against a data source. At least one rule is required.
Returns
- (::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>) — Required. The list of rules to evaluate against a data source. At least one rule is required.
#sampling_percent
def sampling_percent() -> ::Float
Returns
-
(::Float) —
Optional. The percentage of the records to be selected from the dataset for DataScan.
- Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
- Sampling is not applied if
sampling_percent
is not specified, 0 or 100.
#sampling_percent=
def sampling_percent=(value) -> ::Float
Parameter
-
value (::Float) —
Optional. The percentage of the records to be selected from the dataset for DataScan.
- Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
- Sampling is not applied if
sampling_percent
is not specified, 0 or 100.
Returns
-
(::Float) —
Optional. The percentage of the records to be selected from the dataset for DataScan.
- Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
- Sampling is not applied if
sampling_percent
is not specified, 0 or 100.