public sealed class AlertPolicy.Types.Documentation : IMessage<AlertPolicy.Types.Documentation>, IEquatable<AlertPolicy.Types.Documentation>, IDeepCloneable<AlertPolicy.Types.Documentation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicy.Types.Documentation.
A content string and a MIME type that describes the content string's
format.
The body of the documentation, interpreted according to mime_type.
The content may not exceed 8,192 Unicode characters and may not exceed
more than 10,240 bytes when encoded in UTF-8 format, whichever is
smaller. This text can be templatized by using
variables.
Optional. The subject line of the notification. The subject line may not
exceed 10,240 bytes. In notifications generated by this policy, the
contents of the subject line after variable expansion will be truncated
to 255 bytes or shorter at the latest UTF-8 character boundary. The
255-byte limit is recommended by this
thread.
It is both the limit imposed by some third-party ticketing products and
it is common to define textual fields in databases as VARCHAR(255).
The contents of the subject line can be templatized by using
variables.
If this field is missing or empty, a default subject line will be
generated.
[[["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\u003eThe webpage provides reference documentation and code samples for the \u003ccode\u003eAlertPolicy.Types.Documentation\u003c/code\u003e class within the Google Cloud Monitoring v3 API, covering versions from 2.3.0 to 3.15.0 with 3.15.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlertPolicy.Types.Documentation\u003c/code\u003e includes properties for \u003ccode\u003eContent\u003c/code\u003e, \u003ccode\u003eMimeType\u003c/code\u003e, and an optional \u003ccode\u003eSubject\u003c/code\u003e, with \u003ccode\u003eContent\u003c/code\u003e representing the body of the documentation and \u003ccode\u003eMimeType\u003c/code\u003e specifying its format, currently only supporting \u003ccode\u003e"text/markdown"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContent\u003c/code\u003e property has limits, such as not exceeding 8,192 Unicode characters or 10,240 bytes in UTF-8, and allows for templating using variables, while the subject line has a recommended maximum limit of 255 bytes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlertPolicy.Types.Documentation\u003c/code\u003e class inherits from the base object class, and implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors to create \u003ccode\u003eDocumentation\u003c/code\u003e, one that is default and another that is a copy constructor that takes in an existing \u003ccode\u003eAlertPolicy.Types.Documentation\u003c/code\u003e as an argument.\u003c/p\u003e\n"]]],[],null,[]]