Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::AlertPolicy::Documentation (v0.9.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::Documentation.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — The text 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.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — The text 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.
Returns
  • (::String) — The text 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.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown for more information.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown for more information.
Returns
  • (::String) — The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown for more information.