Sha256: 6f136414f8315a4d5c77bc4161c68723d448806e3625bd6e453b838eaba82445

Contents?: true

Size: 943 Bytes

Versions: 7

Compression:

Stored size: 943 Bytes

Contents

# DatadogAPIClient::V1::GraphSnapshot

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **graph_def** | **String** | A JSON document defining the graph. `graph_def` can be used instead of `metric_query`. The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded. | [optional] |
| **metric_query** | **String** | The metric query. One of `metric_query` or `graph_def` is required. | [optional] |
| **snapshot_url** | **String** | URL of your [graph snapshot](https://docs.datadoghq.com/metrics/explorer/#snapshot). | [optional] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::GraphSnapshot.new(
  graph_def: null,
  metric_query: null,
  snapshot_url: https://app.datadoghq.com/s/f12345678/aaa-bbb-ccc
)
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.3.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.2.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.1.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.0.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.0.0.beta.3 docs/v1/GraphSnapshot.md
datadog_api_client-1.0.0.beta.2 docs/v1/GraphSnapshot.md