Class: Google::Cloud::Monitoring::Dashboard::V1::Text
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::Dashboard::V1::Text
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/dashboard/v1/text.rb
Overview
A widget that displays textual content.
Defined Under Namespace
Modules: Format
Instance Attribute Summary collapse
-
#content ⇒ ::String
The text content to be displayed.
-
#format ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::Format
How the text content is formatted.
Instance Attribute Details
#content ⇒ ::String
Returns The text content to be displayed.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 32 class Text include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The format type of the text content. module Format # Format is unspecified. Defaults to MARKDOWN. FORMAT_UNSPECIFIED = 0 # The text contains Markdown formatting. MARKDOWN = 1 # The text contains no special formatting. RAW = 2 end end |
#format ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::Format
Returns How the text content is formatted.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 32 class Text include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The format type of the text content. module Format # Format is unspecified. Defaults to MARKDOWN. FORMAT_UNSPECIFIED = 0 # The text contains Markdown formatting. MARKDOWN = 1 # The text contains no special formatting. RAW = 2 end end |