Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::ParameterValidation.
Configuration for parameter validation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#regex
def regex() -> ::Google::Cloud::Dataproc::V1::RegexValidation
Returns
- (::Google::Cloud::Dataproc::V1::RegexValidation) — Validation based on regular expressions.
#regex=
def regex=(value) -> ::Google::Cloud::Dataproc::V1::RegexValidation
Parameter
- value (::Google::Cloud::Dataproc::V1::RegexValidation) — Validation based on regular expressions.
Returns
- (::Google::Cloud::Dataproc::V1::RegexValidation) — Validation based on regular expressions.
#values
def values() -> ::Google::Cloud::Dataproc::V1::ValueValidation
Returns
- (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.
#values=
def values=(value) -> ::Google::Cloud::Dataproc::V1::ValueValidation
Parameter
- value (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.
Returns
- (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.