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

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.

#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.
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.

#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.