Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::ParameterValidation (v1.2.0)

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.

    Note: The following fields are mutually exclusive: regex, values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#regex=

def regex=(value) -> ::Google::Cloud::Dataproc::V1::RegexValidation
Parameter
  • value (::Google::Cloud::Dataproc::V1::RegexValidation) — Validation based on regular expressions.

    Note: The following fields are mutually exclusive: regex, values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dataproc::V1::RegexValidation) — Validation based on regular expressions.

    Note: The following fields are mutually exclusive: regex, values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#values

def values() -> ::Google::Cloud::Dataproc::V1::ValueValidation
Returns
  • (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.

    Note: The following fields are mutually exclusive: values, regex. If a field in that set is populated, all other fields in the set will automatically be cleared.

#values=

def values=(value) -> ::Google::Cloud::Dataproc::V1::ValueValidation
Parameter
  • value (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.

    Note: The following fields are mutually exclusive: values, regex. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dataproc::V1::ValueValidation) — Validation based on a list of allowed values.

    Note: The following fields are mutually exclusive: values, regex. If a field in that set is populated, all other fields in the set will automatically be cleared.