Class: DatadogAPIClient::V1::GraphSnapshot

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/graph_snapshot.rb

Overview

Object representing a graph snapshot.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_defObject

A JSON document defining the graph. graph_def can be used instead of metric_query. The JSON document uses the grammar defined here 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_queryObject

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_urlObject

URL of your graph snapshot.



33
34
35
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 33

def snapshot_url
  @snapshot_url
end