Class: DatadogAPIClient::V1::GraphSnapshot
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::GraphSnapshot
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/graph_snapshot.rb
Overview
Object representing a graph snapshot.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#graph_def ⇒ Object
A JSON document defining the graph.
-
#metric_query ⇒ Object
The metric query.
-
#snapshot_url ⇒ Object
URL of your [graph snapshot](docs.datadoghq.com/metrics/explorer/#snapshot).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 35 def additional_properties @additional_properties end |
#graph_def ⇒ Object
A JSON document defining the graph. ‘graph_def` can be used instead of `metric_query`. The JSON document uses the [grammar defined here](docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 27 def graph_def @graph_def end |
#metric_query ⇒ Object
The metric query. One of ‘metric_query` or `graph_def` is required.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 30 def metric_query @metric_query end |
#snapshot_url ⇒ Object
URL of your [graph snapshot](docs.datadoghq.com/metrics/explorer/#snapshot).
33 34 35 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 33 def snapshot_url @snapshot_url end |