class Google::Apis::MonitoringV1::Text

A widget that displays textual content.

Attributes

content[RW]

The text content to be displayed. Corresponds to the JSON property `content` @return [String]

format[RW]

How the text content is formatted. Corresponds to the JSON property `format` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v1/classes.rb, line 1148
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_v1/classes.rb, line 1153
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @format = args[:format] if args.key?(:format)
end