class Google::Apis::DataprocV1beta2::ParameterValidation
Configuration for parameter validation.
Attributes
regex[RW]
Validation based on regular expressions. Corresponds to the JSON property `regex` @return [Google::Apis::DataprocV1beta2::RegexValidation]
values[RW]
Validation based on a list of allowed values. Corresponds to the JSON property `values` @return [Google::Apis::DataprocV1beta2::ValueValidation]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2509 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2514 def update!(**args) @regex = args[:regex] if args.key?(:regex) @values = args[:values] if args.key?(:values) end