Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRegexExpectation
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRegexExpectation
- 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 column value matches a specified regex.
Instance Attribute Summary collapse
-
#regex ⇒ String
A regular expression the column value is expected to match.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRegexExpectation
constructor
A new instance of GoogleCloudDataplexV1DataQualityRuleRegexExpectation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRegexExpectation
Returns a new instance of GoogleCloudDataplexV1DataQualityRuleRegexExpectation.
1713 1714 1715 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#regex ⇒ String
A regular expression the column value is expected to match.
Corresponds to the JSON property regex
1711 1712 1713 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1711 def regex @regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1718 1719 1720 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1718 def update!(**args) @regex = args[:regex] if args.key?(:regex) end |