Google Cloud Monitoring v3 API - Class UptimeCheckConfig.Types.ContentMatcher (3.4.0)

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

Reference documentation and code samples for the Google Cloud Monitoring v3 API class UptimeCheckConfig.Types.ContentMatcher.

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(ContentMatcher)

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

Properties

AdditionalMatcherInfoCase

public UptimeCheckConfig.Types.ContentMatcher.AdditionalMatcherInfoOneofCase AdditionalMatcherInfoCase { get; }
Property Value
TypeDescription
UptimeCheckConfigTypesContentMatcherAdditionalMatcherInfoOneofCase

Content

public string Content { get; set; }

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

Property Value
TypeDescription
string

JsonPathMatcher

public UptimeCheckConfig.Types.ContentMatcher.Types.JsonPathMatcher JsonPathMatcher { get; set; }

Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH

Property Value
TypeDescription
UptimeCheckConfigTypesContentMatcherTypesJsonPathMatcher

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
UptimeCheckConfigTypesContentMatcherTypesContentMatcherOption