Class UptimeCheckConfig.Types.ContentMatcher (2.3.0)

public sealed class ContentMatcher : IMessage<UptimeCheckConfig.Types.ContentMatcher>, IEquatable<UptimeCheckConfig.Types.ContentMatcher>, IDeepCloneable<UptimeCheckConfig.Types.ContentMatcher>, IBufferMessage, IMessage

Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4&nbsp;MB of an HTTP or HTTPS check's response (and the first 1&nbsp;MB of a TCP check's response) are examined for purposes of content matching.

Inheritance

Object > UptimeCheckConfig.Types.ContentMatcher

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

ContentMatcher()

public ContentMatcher()

ContentMatcher(UptimeCheckConfig.Types.ContentMatcher)

public ContentMatcher(UptimeCheckConfig.Types.ContentMatcher other)
Parameter
NameDescription
otherUptimeCheckConfig.Types.ContentMatcher

Properties

Content

public string Content { get; set; }

String or regex content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.

Property Value
TypeDescription
String

Matcher

public UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption Matcher { get; set; }

The type of content matcher that will be applied to the server output, compared to the content string when the check is run.

Property Value
TypeDescription
UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption