class Google::Apis::DataprocV1beta2::RegexValidation
Validation based on regular expressions.
Attributes
regexes[RW]
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). Corresponds to the JSON property `regexes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2836 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 2841 def update!(**args) @regexes = args[:regexes] if args.key?(:regexes) end