Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle (v0.15.0)

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

#font_size=

def font_size=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize
Parameter
Returns

#horizontal_alignment

def horizontal_alignment() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
Returns

#horizontal_alignment=

def horizontal_alignment=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
Parameter
Returns

#padding

def padding() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
Returns

#padding=

def padding=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
Parameter
Returns

#pointer_location

def pointer_location() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
Returns

#pointer_location=

def pointer_location=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
Parameter
Returns

#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

#vertical_alignment=

def vertical_alignment=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment
Parameter
Returns