Class: Google::Cloud::Monitoring::V3::AlertPolicy::Documentation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/alert.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

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



127
128
129
130
# File 'proto_docs/google/monitoring/v3/alert.rb', line 127

class Documentation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

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



127
128
129
130
# File 'proto_docs/google/monitoring/v3/alert.rb', line 127

class Documentation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end