Class: DatadogAPIClient::V1::MetricsQueryResponse
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MetricsQueryResponse
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/metrics_query_response.rb
Overview
Response Object that includes your query and the list of metrics retrieved.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#error ⇒ Object
Message indicating the errors if status is not ‘ok`.
-
#from_date ⇒ Object
Start of requested time window, milliseconds since Unix epoch.
-
#group_by ⇒ Object
List of tag keys on which to group.
-
#message ⇒ Object
Message indicating ‘success` if status is `ok`.
-
#query ⇒ Object
Query string.
-
#res_type ⇒ Object
Type of response.
-
#series ⇒ Object
List of timeseries queried.
-
#status ⇒ Object
Status of the query.
-
#to_date ⇒ Object
End of requested time window, milliseconds since Unix epoch.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
51 52 53 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 51 def additional_properties @additional_properties end |
#error ⇒ Object
Message indicating the errors if status is not ‘ok`.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 25 def error @error end |
#from_date ⇒ Object
Start of requested time window, milliseconds since Unix epoch.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 28 def from_date @from_date end |
#group_by ⇒ Object
List of tag keys on which to group.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 31 def group_by @group_by end |
#message ⇒ Object
Message indicating ‘success` if status is `ok`.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 34 def @message end |
#query ⇒ Object
Query string
37 38 39 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 37 def query @query end |
#res_type ⇒ Object
Type of response.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 40 def res_type @res_type end |
#series ⇒ Object
List of timeseries queried.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 43 def series @series end |
#status ⇒ Object
Status of the query.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 46 def status @status end |
#to_date ⇒ Object
End of requested time window, milliseconds since Unix epoch.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/metrics_query_response.rb', line 49 def to_date @to_date end |