Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
 
 
- 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 column aggregate statistic lies between a specified range.
Instance Attribute Summary collapse
- 
  
    
      #max_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #min_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #statistic  ⇒ 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)  ⇒ GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
Returns a new instance of GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation.
      2614 2615 2616  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2614 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#max_value ⇒ String
Optional. The maximum column statistic 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
      2585 2586 2587  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2585 def max_value @max_value end  | 
  
#min_value ⇒ String
Optional. The minimum column statistic 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
      2591 2592 2593  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2591 def min_value @min_value end  | 
  
#statistic ⇒ String
Optional. The aggregate metric to evaluate.
Corresponds to the JSON property statistic
      2596 2597 2598  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2596 def statistic @statistic end  | 
  
#strict_max_enabled ⇒ Boolean Also known as: strict_max_enabled?
Optional. Whether column statistic 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
      2603 2604 2605  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2603 def strict_max_enabled @strict_max_enabled end  | 
  
#strict_min_enabled ⇒ Boolean Also known as: strict_min_enabled?
Optional. Whether column statistic 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
      2611 2612 2613  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2611 def strict_min_enabled @strict_min_enabled end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2619 2620 2621 2622 2623 2624 2625  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 2619 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) @statistic = args[:statistic] if args.key?(:statistic) @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  |