class Google::Apis::DataprocV1::ParameterValidation
Configuration for parameter validation.
Attributes
regex[RW]
Validation based on regular expressions. Corresponds to the JSON property `regex` @return [Google::Apis::DataprocV1::RegexValidation]
values[RW]
Validation based on a list of allowed values. Corresponds to the JSON property `values` @return [Google::Apis::DataprocV1::ValueValidation]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataproc_v1/classes.rb, line 2611 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_v1/classes.rb, line 2616 def update!(**args) @regex = args[:regex] if args.key?(:regex) @values = args[:values] if args.key?(:values) end