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

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

defregex()->::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=

defregex=(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

defvalues()->::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=

defvalues=(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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.