Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ValueMatcher
- Inherits:
-
Object
- Object
- Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ValueMatcher
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/recommender_v1beta1/classes.rb,
generated/google/apis/recommender_v1beta1/representations.rb,
generated/google/apis/recommender_v1beta1/representations.rb
Overview
Contains various matching options for values for a GCP resource field.
Instance Attribute Summary collapse
-
#matches_pattern ⇒ String
To be used for full regex matching.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1ValueMatcher
constructor
A new instance of GoogleCloudRecommenderV1beta1ValueMatcher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1ValueMatcher
Returns a new instance of GoogleCloudRecommenderV1beta1ValueMatcher.
645 646 647 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#matches_pattern ⇒ 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
Corresponds to the JSON property matchesPattern
643 644 645 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 643 def matches_pattern @matches_pattern end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
650 651 652 |
# File 'generated/google/apis/recommender_v1beta1/classes.rb', line 650 def update!(**args) @matches_pattern = args[:matches_pattern] if args.key?(:matches_pattern) end |