Google Cloud Recommender v1 API - Class ValueMatcher (3.4.0)

public sealed class ValueMatcher : IMessage<ValueMatcher>, IEquatable<ValueMatcher>, IDeepCloneable<ValueMatcher>, IBufferMessage, IMessage

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

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

Inheritance

object > ValueMatcher

Namespace

Google.Cloud.Recommender.V1

Assembly

Google.Cloud.Recommender.V1.dll

Constructors

ValueMatcher()

public ValueMatcher()

ValueMatcher(ValueMatcher)

public ValueMatcher(ValueMatcher other)
Parameter
NameDescription
otherValueMatcher

Properties

HasMatchesPattern

public bool HasMatchesPattern { get; }

Gets whether the "matches_pattern" field is set

Property Value
TypeDescription
bool

MatchVariantCase

public ValueMatcher.MatchVariantOneofCase MatchVariantCase { get; }
Property Value
TypeDescription
ValueMatcherMatchVariantOneofCase

MatchesPattern

public string MatchesPattern { get; set; }

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

Property Value
TypeDescription
string