class Google::Apis::DataprocV1beta2::ValueValidation

Validation based on a list of allowed values.

Attributes

values[RW]

Required. List of allowed values for the parameter. Corresponds to the JSON property `values` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 3456
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 3461
def update!(**args)
  @values = args[:values] if args.key?(:values)
end