1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. getDataQualityRules
Google Cloud v8.37.0 published on Monday, Jul 7, 2025 by Pulumi

gcp.dataplex.getDataQualityRules

Explore with Pulumi AI

gcp logo
Google Cloud v8.37.0 published on Monday, Jul 7, 2025 by Pulumi

    Retrieves the generated data quality rules for the creating a new data quality scan. For more information see the official documentation and API.

    example

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const dqrs = gcp.dataplex.getDataQualityRules({
        project: "my-project",
        location: "use-central1",
        dataScanId: "my-datascan-profile",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    dqrs = gcp.dataplex.get_data_quality_rules(project="my-project",
        location="use-central1",
        data_scan_id="my-datascan-profile")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataplex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dataplex.GetDataQualityRules(ctx, &dataplex.GetDataQualityRulesArgs{
    			Project:    pulumi.StringRef("my-project"),
    			Location:   pulumi.StringRef("use-central1"),
    			DataScanId: "my-datascan-profile",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var dqrs = Gcp.DataPlex.GetDataQualityRules.Invoke(new()
        {
            Project = "my-project",
            Location = "use-central1",
            DataScanId = "my-datascan-profile",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataplex.DataplexFunctions;
    import com.pulumi.gcp.dataplex.inputs.GetDataQualityRulesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var dqrs = DataplexFunctions.getDataQualityRules(GetDataQualityRulesArgs.builder()
                .project("my-project")
                .location("use-central1")
                .dataScanId("my-datascan-profile")
                .build());
    
        }
    }
    
    variables:
      dqrs:
        fn::invoke:
          function: gcp:dataplex:getDataQualityRules
          arguments:
            project: my-project
            location: use-central1
            dataScanId: my-datascan-profile
    

    Using getDataQualityRules

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDataQualityRules(args: GetDataQualityRulesArgs, opts?: InvokeOptions): Promise<GetDataQualityRulesResult>
    function getDataQualityRulesOutput(args: GetDataQualityRulesOutputArgs, opts?: InvokeOptions): Output<GetDataQualityRulesResult>
    def get_data_quality_rules(data_scan_id: Optional[str] = None,
                               location: Optional[str] = None,
                               project: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDataQualityRulesResult
    def get_data_quality_rules_output(data_scan_id: Optional[pulumi.Input[str]] = None,
                               location: Optional[pulumi.Input[str]] = None,
                               project: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDataQualityRulesResult]
    func GetDataQualityRules(ctx *Context, args *GetDataQualityRulesArgs, opts ...InvokeOption) (*GetDataQualityRulesResult, error)
    func GetDataQualityRulesOutput(ctx *Context, args *GetDataQualityRulesOutputArgs, opts ...InvokeOption) GetDataQualityRulesResultOutput

    > Note: This function is named GetDataQualityRules in the Go SDK.

    public static class GetDataQualityRules 
    {
        public static Task<GetDataQualityRulesResult> InvokeAsync(GetDataQualityRulesArgs args, InvokeOptions? opts = null)
        public static Output<GetDataQualityRulesResult> Invoke(GetDataQualityRulesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataQualityRulesResult> getDataQualityRules(GetDataQualityRulesArgs args, InvokeOptions options)
    public static Output<GetDataQualityRulesResult> getDataQualityRules(GetDataQualityRulesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:dataplex/getDataQualityRules:getDataQualityRules
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataScanId string
    The ID of the data profile scan which the generation of quality rules will be basing on.
    Location string
    The location where the referenced data profile scan resides.
    Project string
    The ID of the project in which the datascan belongs.
    DataScanId string
    The ID of the data profile scan which the generation of quality rules will be basing on.
    Location string
    The location where the referenced data profile scan resides.
    Project string
    The ID of the project in which the datascan belongs.
    dataScanId String
    The ID of the data profile scan which the generation of quality rules will be basing on.
    location String
    The location where the referenced data profile scan resides.
    project String
    The ID of the project in which the datascan belongs.
    dataScanId string
    The ID of the data profile scan which the generation of quality rules will be basing on.
    location string
    The location where the referenced data profile scan resides.
    project string
    The ID of the project in which the datascan belongs.
    data_scan_id str
    The ID of the data profile scan which the generation of quality rules will be basing on.
    location str
    The location where the referenced data profile scan resides.
    project str
    The ID of the project in which the datascan belongs.
    dataScanId String
    The ID of the data profile scan which the generation of quality rules will be basing on.
    location String
    The location where the referenced data profile scan resides.
    project String
    The ID of the project in which the datascan belongs.

    getDataQualityRules Result

    The following output properties are available:

    DataScanId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules List<GetDataQualityRulesRule>
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    Location string
    Project string
    DataScanId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules []GetDataQualityRulesRule
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    Location string
    Project string
    dataScanId String
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<GetDataQualityRulesRule>
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    location String
    project String
    dataScanId string
    id string
    The provider-assigned unique ID for this managed resource.
    rules GetDataQualityRulesRule[]
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    location string
    project string
    data_scan_id str
    id str
    The provider-assigned unique ID for this managed resource.
    rules Sequence[GetDataQualityRulesRule]
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    location str
    project str
    dataScanId String
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<Property Map>
    (Computed) The list of generated data quality rules. For more details, please see the datascan page.
    location String
    project String

    Supporting Types

    GetDataQualityRulesRule

    Column string
    The unnested column which this rule is evaluated against.
    Description string
    Description of the rule. (The maximum length is 1,024 characters.)
    Dimension string
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    IgnoreNull bool
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    Name string
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    NonNullExpectations List<GetDataQualityRulesRuleNonNullExpectation>
    Row-level rule which evaluates whether each column value is null.
    RangeExpectations List<GetDataQualityRulesRuleRangeExpectation>
    Row-level rule which evaluates whether each column value lies between a specified range.
    RegexExpectations List<GetDataQualityRulesRuleRegexExpectation>
    Row-level rule which evaluates whether each column value matches a specified regex.
    RowConditionExpectations List<GetDataQualityRulesRuleRowConditionExpectation>
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    SetExpectations List<GetDataQualityRulesRuleSetExpectation>
    Row-level rule which evaluates whether each column value is contained by a specified set.
    SqlAssertions List<GetDataQualityRulesRuleSqlAssertion>
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    StatisticRangeExpectations List<GetDataQualityRulesRuleStatisticRangeExpectation>
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    Suspended bool
    Whether the Rule is active or suspended. Default is false.
    TableConditionExpectations List<GetDataQualityRulesRuleTableConditionExpectation>
    Aggregate rule which evaluates whether the provided expression is true for a table.
    Threshold double
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    UniquenessExpectations List<GetDataQualityRulesRuleUniquenessExpectation>
    Row-level rule which evaluates whether each column value is unique.
    Column string
    The unnested column which this rule is evaluated against.
    Description string
    Description of the rule. (The maximum length is 1,024 characters.)
    Dimension string
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    IgnoreNull bool
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    Name string
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    NonNullExpectations []GetDataQualityRulesRuleNonNullExpectation
    Row-level rule which evaluates whether each column value is null.
    RangeExpectations []GetDataQualityRulesRuleRangeExpectation
    Row-level rule which evaluates whether each column value lies between a specified range.
    RegexExpectations []GetDataQualityRulesRuleRegexExpectation
    Row-level rule which evaluates whether each column value matches a specified regex.
    RowConditionExpectations []GetDataQualityRulesRuleRowConditionExpectation
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    SetExpectations []GetDataQualityRulesRuleSetExpectation
    Row-level rule which evaluates whether each column value is contained by a specified set.
    SqlAssertions []GetDataQualityRulesRuleSqlAssertion
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    StatisticRangeExpectations []GetDataQualityRulesRuleStatisticRangeExpectation
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    Suspended bool
    Whether the Rule is active or suspended. Default is false.
    TableConditionExpectations []GetDataQualityRulesRuleTableConditionExpectation
    Aggregate rule which evaluates whether the provided expression is true for a table.
    Threshold float64
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    UniquenessExpectations []GetDataQualityRulesRuleUniquenessExpectation
    Row-level rule which evaluates whether each column value is unique.
    column String
    The unnested column which this rule is evaluated against.
    description String
    Description of the rule. (The maximum length is 1,024 characters.)
    dimension String
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    ignoreNull Boolean
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    name String
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    nonNullExpectations List<GetDataQualityRulesRuleNonNullExpectation>
    Row-level rule which evaluates whether each column value is null.
    rangeExpectations List<GetDataQualityRulesRuleRangeExpectation>
    Row-level rule which evaluates whether each column value lies between a specified range.
    regexExpectations List<GetDataQualityRulesRuleRegexExpectation>
    Row-level rule which evaluates whether each column value matches a specified regex.
    rowConditionExpectations List<GetDataQualityRulesRuleRowConditionExpectation>
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    setExpectations List<GetDataQualityRulesRuleSetExpectation>
    Row-level rule which evaluates whether each column value is contained by a specified set.
    sqlAssertions List<GetDataQualityRulesRuleSqlAssertion>
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    statisticRangeExpectations List<GetDataQualityRulesRuleStatisticRangeExpectation>
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    suspended Boolean
    Whether the Rule is active or suspended. Default is false.
    tableConditionExpectations List<GetDataQualityRulesRuleTableConditionExpectation>
    Aggregate rule which evaluates whether the provided expression is true for a table.
    threshold Double
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    uniquenessExpectations List<GetDataQualityRulesRuleUniquenessExpectation>
    Row-level rule which evaluates whether each column value is unique.
    column string
    The unnested column which this rule is evaluated against.
    description string
    Description of the rule. (The maximum length is 1,024 characters.)
    dimension string
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    ignoreNull boolean
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    name string
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    nonNullExpectations GetDataQualityRulesRuleNonNullExpectation[]
    Row-level rule which evaluates whether each column value is null.
    rangeExpectations GetDataQualityRulesRuleRangeExpectation[]
    Row-level rule which evaluates whether each column value lies between a specified range.
    regexExpectations GetDataQualityRulesRuleRegexExpectation[]
    Row-level rule which evaluates whether each column value matches a specified regex.
    rowConditionExpectations GetDataQualityRulesRuleRowConditionExpectation[]
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    setExpectations GetDataQualityRulesRuleSetExpectation[]
    Row-level rule which evaluates whether each column value is contained by a specified set.
    sqlAssertions GetDataQualityRulesRuleSqlAssertion[]
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    statisticRangeExpectations GetDataQualityRulesRuleStatisticRangeExpectation[]
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    suspended boolean
    Whether the Rule is active or suspended. Default is false.
    tableConditionExpectations GetDataQualityRulesRuleTableConditionExpectation[]
    Aggregate rule which evaluates whether the provided expression is true for a table.
    threshold number
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    uniquenessExpectations GetDataQualityRulesRuleUniquenessExpectation[]
    Row-level rule which evaluates whether each column value is unique.
    column str
    The unnested column which this rule is evaluated against.
    description str
    Description of the rule. (The maximum length is 1,024 characters.)
    dimension str
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    ignore_null bool
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    name str
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    non_null_expectations Sequence[GetDataQualityRulesRuleNonNullExpectation]
    Row-level rule which evaluates whether each column value is null.
    range_expectations Sequence[GetDataQualityRulesRuleRangeExpectation]
    Row-level rule which evaluates whether each column value lies between a specified range.
    regex_expectations Sequence[GetDataQualityRulesRuleRegexExpectation]
    Row-level rule which evaluates whether each column value matches a specified regex.
    row_condition_expectations Sequence[GetDataQualityRulesRuleRowConditionExpectation]
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    set_expectations Sequence[GetDataQualityRulesRuleSetExpectation]
    Row-level rule which evaluates whether each column value is contained by a specified set.
    sql_assertions Sequence[GetDataQualityRulesRuleSqlAssertion]
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    statistic_range_expectations Sequence[GetDataQualityRulesRuleStatisticRangeExpectation]
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    suspended bool
    Whether the Rule is active or suspended. Default is false.
    table_condition_expectations Sequence[GetDataQualityRulesRuleTableConditionExpectation]
    Aggregate rule which evaluates whether the provided expression is true for a table.
    threshold float
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    uniqueness_expectations Sequence[GetDataQualityRulesRuleUniquenessExpectation]
    Row-level rule which evaluates whether each column value is unique.
    column String
    The unnested column which this rule is evaluated against.
    description String
    Description of the rule. (The maximum length is 1,024 characters.)
    dimension String
    The dimension a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
    ignoreNull Boolean
    Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. This field is only valid for the following type of rules: RangeExpectation, RegexExpectation, SetExpectation, UniquenessExpectation
    name String
    A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter.
    nonNullExpectations List<Property Map>
    Row-level rule which evaluates whether each column value is null.
    rangeExpectations List<Property Map>
    Row-level rule which evaluates whether each column value lies between a specified range.
    regexExpectations List<Property Map>
    Row-level rule which evaluates whether each column value matches a specified regex.
    rowConditionExpectations List<Property Map>
    Row-level rule which evaluates whether each row in a table passes the specified condition.
    setExpectations List<Property Map>
    Row-level rule which evaluates whether each column value is contained by a specified set.
    sqlAssertions List<Property Map>
    Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails.
    statisticRangeExpectations List<Property Map>
    Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
    suspended Boolean
    Whether the Rule is active or suspended. Default is false.
    tableConditionExpectations List<Property Map>
    Aggregate rule which evaluates whether the provided expression is true for a table.
    threshold Number
    The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). This field is only valid for row-level type rules.
    uniquenessExpectations List<Property Map>
    Row-level rule which evaluates whether each column value is unique.

    GetDataQualityRulesRuleRangeExpectation

    MaxValue string
    The maximum column value allowed for a row to pass this validation.
    MinValue string
    The minimum column value allowed for a row to pass this validation.
    StrictMaxEnabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    StrictMinEnabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    MaxValue string
    The maximum column value allowed for a row to pass this validation.
    MinValue string
    The minimum column value allowed for a row to pass this validation.
    StrictMaxEnabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    StrictMinEnabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue String
    The maximum column value allowed for a row to pass this validation.
    minValue String
    The minimum column value allowed for a row to pass this validation.
    strictMaxEnabled Boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled Boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue string
    The maximum column value allowed for a row to pass this validation.
    minValue string
    The minimum column value allowed for a row to pass this validation.
    strictMaxEnabled boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    max_value str
    The maximum column value allowed for a row to pass this validation.
    min_value str
    The minimum column value allowed for a row to pass this validation.
    strict_max_enabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strict_min_enabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue String
    The maximum column value allowed for a row to pass this validation.
    minValue String
    The minimum column value allowed for a row to pass this validation.
    strictMaxEnabled Boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled Boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.

    GetDataQualityRulesRuleRegexExpectation

    Regex string
    A regular expression the column value is expected to match.
    Regex string
    A regular expression the column value is expected to match.
    regex String
    A regular expression the column value is expected to match.
    regex string
    A regular expression the column value is expected to match.
    regex str
    A regular expression the column value is expected to match.
    regex String
    A regular expression the column value is expected to match.

    GetDataQualityRulesRuleRowConditionExpectation

    SqlExpression string
    The SQL expression.
    SqlExpression string
    The SQL expression.
    sqlExpression String
    The SQL expression.
    sqlExpression string
    The SQL expression.
    sql_expression str
    The SQL expression.
    sqlExpression String
    The SQL expression.

    GetDataQualityRulesRuleSetExpectation

    Values List<string>
    Expected values for the column value.
    Values []string
    Expected values for the column value.
    values List<String>
    Expected values for the column value.
    values string[]
    Expected values for the column value.
    values Sequence[str]
    Expected values for the column value.
    values List<String>
    Expected values for the column value.

    GetDataQualityRulesRuleSqlAssertion

    SqlStatement string
    The SQL expression.
    SqlStatement string
    The SQL expression.
    sqlStatement String
    The SQL expression.
    sqlStatement string
    The SQL expression.
    sql_statement str
    The SQL expression.
    sqlStatement String
    The SQL expression.

    GetDataQualityRulesRuleStatisticRangeExpectation

    MaxValue string
    The maximum column value allowed for a row to pass this validation.
    MinValue string
    The minimum column value allowed for a row to pass this validation.
    Statistic string
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    StrictMaxEnabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    StrictMinEnabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    MaxValue string
    The maximum column value allowed for a row to pass this validation.
    MinValue string
    The minimum column value allowed for a row to pass this validation.
    Statistic string
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    StrictMaxEnabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    StrictMinEnabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue String
    The maximum column value allowed for a row to pass this validation.
    minValue String
    The minimum column value allowed for a row to pass this validation.
    statistic String
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    strictMaxEnabled Boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled Boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue string
    The maximum column value allowed for a row to pass this validation.
    minValue string
    The minimum column value allowed for a row to pass this validation.
    statistic string
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    strictMaxEnabled boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    max_value str
    The maximum column value allowed for a row to pass this validation.
    min_value str
    The minimum column value allowed for a row to pass this validation.
    statistic str
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    strict_max_enabled bool
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strict_min_enabled bool
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.
    maxValue String
    The maximum column value allowed for a row to pass this validation.
    minValue String
    The minimum column value allowed for a row to pass this validation.
    statistic String
    The list of aggregate metrics a rule can be evaluated against. Possible values: ["STATISTIC_UNDEFINED", "MEAN", "MIN", "MAX"]
    strictMaxEnabled Boolean
    Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
    strictMinEnabled Boolean
    Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.

    GetDataQualityRulesRuleTableConditionExpectation

    SqlExpression string
    The SQL expression.
    SqlExpression string
    The SQL expression.
    sqlExpression String
    The SQL expression.
    sqlExpression string
    The SQL expression.
    sql_expression str
    The SQL expression.
    sqlExpression String
    The SQL expression.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v8.37.0 published on Monday, Jul 7, 2025 by Pulumi