Class ValueMatcher (2.7.0)

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

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

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

MatchVariantCase

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