class Google::Apis::MonitoringV3::Documentation
A content string and a MIME type that describes the content string's format.
Attributes
content[RW]
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. Corresponds to the JSON property `content` @return [String]
mime_type[RW]
The format of the content field. Presently, only the value “text/markdown” is supported. See Markdown (en.wikipedia.org/wiki/Markdown) for more information. Corresponds to the JSON property `mimeType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1051 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 1056 def update!(**args) @content = args[:content] if args.key?(:content) @mime_type = args[:mime_type] if args.key?(:mime_type) end