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 MB of an HTTP or HTTPS check's response (and the first
1 MB of a TCP check's response) are examined for purposes of content
matching.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eContentMatcher\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace, used for content matching in uptime checks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContentMatcher\u003c/code\u003e class supports matching based on substrings and regular expressions, including negations, within HTTP/HTTPS and TCP check responses.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the \u003ccode\u003eContentMatcher\u003c/code\u003e class, ranging from the latest version 3.15.0 down to version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContentMatcher\u003c/code\u003e class has properties such as \u003ccode\u003eContent\u003c/code\u003e, which holds the string or regex to match, and \u003ccode\u003eMatcher\u003c/code\u003e, which defines the type of content matching to apply.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContentMatcher\u003c/code\u003e implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e, which gives it several methods.\u003c/p\u003e\n"]]],[],null,[]]