Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation
- 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 lies between a specified range.
Instance Attribute Summary collapse
-
#max_value ⇒ String
Optional.
-
#min_value ⇒ String
Optional.
-
#strict_max_enabled ⇒ Boolean
(also: #strict_max_enabled?)
Optional.
-
#strict_min_enabled ⇒ Boolean
(also: #strict_min_enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRangeExpectation
constructor
A new instance of GoogleCloudDataplexV1DataQualityRuleRangeExpectation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleRangeExpectation
Returns a new instance of GoogleCloudDataplexV1DataQualityRuleRangeExpectation.
2798 2799 2800 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2798 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ String
Optional. The maximum column value allowed for a row to pass this validation.
At least one of min_value and max_value need to be provided.
Corresponds to the JSON property maxValue
2774 2775 2776 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2774 def max_value @max_value end |
#min_value ⇒ String
Optional. The minimum column value allowed for a row to pass this validation.
At least one of min_value and max_value need to be provided.
Corresponds to the JSON property minValue
2780 2781 2782 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2780 def min_value @min_value end |
#strict_max_enabled ⇒ Boolean Also known as: strict_max_enabled?
Optional. Whether each value needs to be strictly lesser than ('<') the
maximum, or if equality is allowed.Only relevant if a max_value has been
defined. Default = false.
Corresponds to the JSON property strictMaxEnabled
2787 2788 2789 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2787 def strict_max_enabled @strict_max_enabled end |
#strict_min_enabled ⇒ Boolean Also known as: strict_min_enabled?
Optional. Whether each value needs to be strictly greater than ('>') the
minimum, or if equality is allowed.Only relevant if a min_value has been
defined. Default = false.
Corresponds to the JSON property strictMinEnabled
2795 2796 2797 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2795 def strict_min_enabled @strict_min_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2803 2804 2805 2806 2807 2808 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2803 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) @strict_max_enabled = args[:strict_max_enabled] if args.key?(:strict_max_enabled) @strict_min_enabled = args[:strict_min_enabled] if args.key?(:strict_min_enabled) end |