public sealed class DataQualitySpec : IMessage<DataQualitySpec>, IEquatable<DataQualitySpec>, IDeepCloneable<DataQualitySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Dataplex v1 API class DataQualitySpec.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eDataQualitySpec\u003c/code\u003e within the Cloud Dataplex V1 API is 3.6.0, while the current page's documentation refers to version 2.8.0, offering links to various previous versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataQualitySpec\u003c/code\u003e is a class used for data quality scanning within Cloud Dataplex, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataQualitySpec\u003c/code\u003e class allows users to define settings for data quality scans, including post-scan actions, a row filter, a list of data quality rules, and the percentage of data to be sampled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRules\u003c/code\u003e property of \u003ccode\u003eDataQualitySpec\u003c/code\u003e is required, meaning that at least one rule must be defined for any data quality scan to take place.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provided covers the available constructors for \u003ccode\u003eDataQualitySpec\u003c/code\u003e, which include a parameterless constructor and a constructor that accepts another \u003ccode\u003eDataQualitySpec\u003c/code\u003e object, along with the description of the \u003ccode\u003ePostScanActions\u003c/code\u003e, \u003ccode\u003eRowFilter\u003c/code\u003e, \u003ccode\u003eRules\u003c/code\u003e and \u003ccode\u003eSamplingPercent\u003c/code\u003e properties, showing their types and purpose.\u003c/p\u003e\n"]]],[],null,[]]