Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle.
Properties that determine how the title and content are styled
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#background_color
def background_color() -> ::String
Returns
- (::String) — The background color as a hex string. "#RRGGBB" or "#RGB"
#background_color=
def background_color=(value) -> ::String
Parameter
- value (::String) — The background color as a hex string. "#RRGGBB" or "#RGB"
Returns
- (::String) — The background color as a hex string. "#RRGGBB" or "#RGB"
#font_size
def font_size() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize) — Font sizes for both the title and content. The title will still be larger relative to the content.
#font_size=
def font_size=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize) — Font sizes for both the title and content. The title will still be larger relative to the content.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize) — Font sizes for both the title and content. The title will still be larger relative to the content.
#horizontal_alignment
def horizontal_alignment() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment) — The horizontal alignment of both the title and content
#horizontal_alignment=
def horizontal_alignment=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment) — The horizontal alignment of both the title and content
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment) — The horizontal alignment of both the title and content
#padding
def padding() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize) — The amount of padding around the widget
#padding=
def padding=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize) — The amount of padding around the widget
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize) — The amount of padding around the widget
#pointer_location
def pointer_location() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation) — The pointer location for this widget (also sometimes called a "tail")
#pointer_location=
def pointer_location=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation) — The pointer location for this widget (also sometimes called a "tail")
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation) — The pointer location for this widget (also sometimes called a "tail")
#text_color
def text_color() -> ::String
Returns
- (::String) — The text color as a hex string. "#RRGGBB" or "#RGB"
#text_color=
def text_color=(value) -> ::String
Parameter
- value (::String) — The text color as a hex string. "#RRGGBB" or "#RGB"
Returns
- (::String) — The text color as a hex string. "#RRGGBB" or "#RGB"
#vertical_alignment
def vertical_alignment() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment) — The vertical alignment of both the title and content
#vertical_alignment=
def vertical_alignment=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment) — The vertical alignment of both the title and content
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment) — The vertical alignment of both the title and content