Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
- 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 per row as the result. Example: col1 >= 0 AND col2 < 10
Instance Attribute Summary collapse
-
#sql_expression ⇒ String
Corresponds to the JSON property
sqlExpression.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
constructor
A new instance of GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
Returns a new instance of GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation.
1537 1538 1539 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sql_expression ⇒ String
Corresponds to the JSON property sqlExpression
1535 1536 1537 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1535 def sql_expression @sql_expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1542 1543 1544 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1542 def update!(**args) @sql_expression = args[:sql_expression] if args.key?(:sql_expression) end |