public sealed class ExtensionBinding.Types.MatchCondition.Types.StringMatch : IMessage<ExtensionBinding.Types.MatchCondition.Types.StringMatch>, IEquatable<ExtensionBinding.Types.MatchCondition.Types.StringMatch>, IDeepCloneable<ExtensionBinding.Types.MatchCondition.Types.StringMatch>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1beta1 API class ExtensionBinding.Types.MatchCondition.Types.StringMatch.
Specifies matching logic for string values.
Implements
IMessageExtensionBindingTypesMatchConditionTypesStringMatch, IEquatableExtensionBindingTypesMatchConditionTypesStringMatch, IDeepCloneableExtensionBindingTypesMatchConditionTypesStringMatch, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Beta1Assembly
Google.Cloud.NetworkServices.V1Beta1.dll
Constructors
StringMatch()
public StringMatch()StringMatch(StringMatch)
public StringMatch(ExtensionBinding.Types.MatchCondition.Types.StringMatch other)| Parameter | |
|---|---|
| Name | Description |
other |
ExtensionBindingTypesMatchConditionTypesStringMatch |
Properties
Contains
public string Contains { get; set; }Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
| Property Value | |
|---|---|
| Type | Description |
string |
|
Exact
public string Exact { get; set; }Optional. The input string must match exactly the string specified here.
Examples:
abconly matches the valueabc.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasContains
public bool HasContains { get; }Gets whether the "contains" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasExact
public bool HasExact { get; }Gets whether the "exact" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasPrefix
public bool HasPrefix { get; }Gets whether the "prefix" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasSuffix
public bool HasSuffix { get; }Gets whether the "suffix" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IgnoreCase
public bool IgnoreCase { get; set; }Optional. If true, indicates the exact/prefix/suffix/contains matching
should be case insensitive. For example, the matcher data will
match both input string Data and data if set to true.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
MatchPatternCase
public ExtensionBinding.Types.MatchCondition.Types.StringMatch.MatchPatternOneofCase MatchPatternCase { get; }| Property Value | |
|---|---|
| Type | Description |
ExtensionBindingTypesMatchConditionTypesStringMatchMatchPatternOneofCase |
|
Prefix
public string Prefix { get; set; }Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
| Property Value | |
|---|---|
| Type | Description |
string |
|
Suffix
public string Suffix { get; set; }Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
| Property Value | |
|---|---|
| Type | Description |
string |
|