Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Evaluates whether each row passes the specified condition.The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result.Example: col1 >= 0 AND col2 < 10

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation

Returns a new instance of GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation.



2743
2744
2745
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2743

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sql_expressionString

Optional. The SQL expression. Corresponds to the JSON property sqlExpression

Returns:

  • (String)


2741
2742
2743
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2741

def sql_expression
  @sql_expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2748
2749
2750
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2748

def update!(**args)
  @sql_expression = args[:sql_expression] if args.key?(:sql_expression)
end