Class: Google::Apis::DataprocV1beta2::ParameterValidation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1beta2::ParameterValidation
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb 
Overview
Configuration for parameter validation.
Instance Attribute Summary collapse
- 
  
    
      #regex  ⇒ Google::Apis::DataprocV1beta2::RegexValidation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Validation based on regular expressions.
 - 
  
    
      #values  ⇒ Google::Apis::DataprocV1beta2::ValueValidation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Validation based on a list of allowed values.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ParameterValidation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ParameterValidation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ParameterValidation
Returns a new instance of ParameterValidation
      1718 1719 1720  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1718 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#regex ⇒ Google::Apis::DataprocV1beta2::RegexValidation
Validation based on regular expressions.
Corresponds to the JSON property regex
      1711 1712 1713  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1711 def regex @regex end  | 
  
#values ⇒ Google::Apis::DataprocV1beta2::ValueValidation
Validation based on a list of allowed values.
Corresponds to the JSON property values
      1716 1717 1718  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1716 def values @values end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1723 1724 1725 1726  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1723 def update!(**args) @regex = args[:regex] if args.key?(:regex) @values = args[:values] if args.key?(:values) end  |