Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::Text.
A widget that displays textual content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — The text content to be displayed.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — The text content to be displayed.
Returns
- (::String) — The text content to be displayed.
#format
def format() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::Format
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::Format) — How the text content is formatted.
#format=
def format=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::Format
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::Format) — How the text content is formatted.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::Format) — How the text content is formatted.
#style
def style() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle) — How the text is styled
#style=
def style=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle) — How the text is styled
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle) — How the text is styled