Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::Widget.
Widget contains a single dashboard component and configuration of how to present the component in the dashboard.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alert_chart
def alert_chart() -> ::Google::Cloud::Monitoring::Dashboard::V1::AlertChart
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::AlertChart) — A chart of alert policy data.
#alert_chart=
def alert_chart=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::AlertChart
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::AlertChart) — A chart of alert policy data.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::AlertChart) — A chart of alert policy data.
#blank
def blank() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — A blank space.
#blank=
def blank=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — A blank space.
Returns
- (::Google::Protobuf::Empty) — A blank space.
#collapsible_group
def collapsible_group() -> ::Google::Cloud::Monitoring::Dashboard::V1::CollapsibleGroup
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::CollapsibleGroup) — A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
#collapsible_group=
def collapsible_group=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::CollapsibleGroup
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::CollapsibleGroup) — A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::CollapsibleGroup) — A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
#logs_panel
def logs_panel() -> ::Google::Cloud::Monitoring::Dashboard::V1::LogsPanel
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::LogsPanel) — A widget that shows a stream of logs.
#logs_panel=
def logs_panel=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::LogsPanel
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::LogsPanel) — A widget that shows a stream of logs.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::LogsPanel) — A widget that shows a stream of logs.
#scorecard
def scorecard() -> ::Google::Cloud::Monitoring::Dashboard::V1::Scorecard
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Scorecard) — A scorecard summarizing time series data.
#scorecard=
def scorecard=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Scorecard
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Scorecard) — A scorecard summarizing time series data.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Scorecard) — A scorecard summarizing time series data.
#text
def text() -> ::Google::Cloud::Monitoring::Dashboard::V1::Text
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text) — A raw string or markdown displaying textual content.
#text=
def text=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Text
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Text) — A raw string or markdown displaying textual content.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Text) — A raw string or markdown displaying textual content.
#time_series_table
def time_series_table() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable) — A widget that displays time series data in a tabular format.
#time_series_table=
def time_series_table=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable) — A widget that displays time series data in a tabular format.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable) — A widget that displays time series data in a tabular format.
#title
def title() -> ::String
Returns
- (::String) — Optional. The title of the widget.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Optional. The title of the widget.
Returns
- (::String) — Optional. The title of the widget.
#xy_chart
def xy_chart() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart) — A chart of time series data.
#xy_chart=
def xy_chart=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::XyChart) — A chart of time series data.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart) — A chart of time series data.