DocumentationResponse

data class DocumentationResponse(val content: String, val mimeType: String)

A content string and a MIME type that describes the content string's format.

Constructors

Link copied to clipboard
fun DocumentationResponse(content: String, mimeType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 (https://cloud.google.com/monitoring/alerts/doc-variables).

Link copied to clipboard

The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown (https://en.wikipedia.org/wiki/Markdown) for more information.