Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation

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 the provided expression is true.The SQL expression needs to use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/ standard-sql/query-syntax) and should produce a scalar boolean result.Example: MIN(col1) >= 0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation

Returns a new instance of GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation.



3034
3035
3036
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3034

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

Instance Attribute Details

#sql_expressionString

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

Returns:

  • (String)


3032
3033
3034
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3032

def sql_expression
  @sql_expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3039
3040
3041
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3039

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