Cloud Dataplex v1 API - Class DataQualitySpec (3.5.0)

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.

DataQualityScan related setting.

Inheritance

object > DataQualitySpec

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataQualitySpec()

public DataQualitySpec()

DataQualitySpec(DataQualitySpec)

public DataQualitySpec(DataQualitySpec other)
Parameter
Name Description
other DataQualitySpec

Properties

PostScanActions

public DataQualitySpec.Types.PostScanActions PostScanActions { get; set; }

Optional. Actions to take upon job completion.

Property Value
Type Description
DataQualitySpec Types PostScanActions

RowFilter

public string RowFilter { get; set; }

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

Property Value
Type Description
string

Rules

public RepeatedField<DataQualityRule> Rules { get; }

Required. The list of rules to evaluate against a data source. At least one rule is required.

Property Value
Type Description
RepeatedField DataQualityRule

SamplingPercent

public float SamplingPercent { get; set; }

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.
Property Value
Type Description
float

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.