Validation based on a list of allowed values.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#values
def values() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. List of allowed values for the parameter.
#values=
def values=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. List of allowed values for the parameter.
Returns
- (::Array<::String>) — Required. List of allowed values for the parameter.