Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::Validation (v0.1.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::Validation.

Validation of the parameter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_values

def allowed_values() -> ::Google::Cloud::CloudSecurityCompliance::V1::AllowedValues
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::AllowedValues) — Allowed set of values for the parameter.

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

#allowed_values=

def allowed_values=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::AllowedValues
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::AllowedValues) — Allowed set of values for the parameter.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::AllowedValues) — Allowed set of values for the parameter.

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

#int_range

def int_range() -> ::Google::Cloud::CloudSecurityCompliance::V1::IntRange
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::IntRange) — Allowed range for numeric parameters.

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

#int_range=

def int_range=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::IntRange
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::IntRange) — Allowed range for numeric parameters.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::IntRange) — Allowed range for numeric parameters.

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

#regexp_pattern

def regexp_pattern() -> ::Google::Cloud::CloudSecurityCompliance::V1::RegexpPattern
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::RegexpPattern) — Regular expression for string parameters.

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

#regexp_pattern=

def regexp_pattern=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::RegexpPattern
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::RegexpPattern) — Regular expression for string parameters.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::RegexpPattern) — Regular expression for string parameters.

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