Class: DatadogAPIClient::V1::QueryValueWidgetDefinition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::QueryValueWidgetDefinition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/query_value_widget_definition.rb
Overview
Query values display the current value of a given metric, APM, or log query.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#autoscale ⇒ Object
Whether to use auto-scaling or not.
-
#custom_links ⇒ Object
List of custom links.
-
#custom_unit ⇒ Object
Display a unit of your choice on the widget.
-
#precision ⇒ Object
Number of decimals to show.
-
#requests ⇒ Object
readonly
Widget definition.
-
#text_align ⇒ Object
How to align the text on the widget.
-
#time ⇒ Object
Time setting for the widget.
-
#timeseries_background ⇒ Object
Set a timeseries on the widget background.
-
#title ⇒ Object
Title of your widget.
-
#title_align ⇒ Object
How to align the text on the widget.
-
#title_size ⇒ Object
Size of the title.
-
#type ⇒ Object
readonly
Type of the query value widget.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
60 61 62 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 60 def additional_properties @additional_properties end |
#autoscale ⇒ Object
Whether to use auto-scaling or not.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 25 def autoscale @autoscale end |
#custom_links ⇒ Object
List of custom links.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 28 def custom_links @custom_links end |
#custom_unit ⇒ Object
Display a unit of your choice on the widget.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 31 def custom_unit @custom_unit end |
#precision ⇒ Object
Number of decimals to show. If not defined, the widget uses the raw value.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 34 def precision @precision end |
#requests ⇒ Object
Widget definition.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 37 def requests @requests end |
#text_align ⇒ Object
How to align the text on the widget.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 40 def text_align @text_align end |
#time ⇒ Object
Time setting for the widget.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 43 def time @time end |
#timeseries_background ⇒ Object
Set a timeseries on the widget background.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 46 def timeseries_background @timeseries_background end |
#title ⇒ Object
Title of your widget.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 49 def title @title end |
#title_align ⇒ Object
How to align the text on the widget.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 52 def title_align @title_align end |
#title_size ⇒ Object
Size of the title.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 55 def title_size @title_size end |
#type ⇒ Object
Type of the query value widget.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 58 def type @type end |