Recommender V1 API - Class Google::Cloud::Recommender::V1::ValueMatcher (v1.0.1)

Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::ValueMatcher.

Contains various matching options for values for a GCP resource field.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#matches_pattern

def matches_pattern() -> ::String
Returns
  • (::String) — To be used for full regex matching. The regular expression is using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be used with RE2::FullMatch

#matches_pattern=

def matches_pattern=(value) -> ::String
Parameter
  • value (::String) — To be used for full regex matching. The regular expression is using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be used with RE2::FullMatch
Returns
  • (::String) — To be used for full regex matching. The regular expression is using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be used with RE2::FullMatch