docs/v1/ServiceLevelObjectiveRequest.md in datadog_api_client-1.0.0.beta.2 vs docs/v1/ServiceLevelObjectiveRequest.md in datadog_api_client-1.0.0.beta.3
- old
+ new
@@ -2,16 +2,12 @@
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
-| **created_at** | **Integer** | Creation timestamp (UNIX time in seconds) Always included in service level objective responses. | [optional][readonly] |
-| **creator** | [**Creator**](Creator.md) | | [optional] |
| **description** | **String** | A user-defined description of the service level objective. Always included in service level objective responses (but may be `null`). Optional in create/update requests. | [optional] |
| **groups** | **Array<String>** | A list of (up to 20) monitor groups that narrow the scope of a monitor service level objective. Included in service level objective responses if it is not empty. Optional in create/update requests for monitor service level objectives, but may only be used when then length of the `monitor_ids` field is one. | [optional] |
-| **id** | **String** | A unique identifier for the service level objective object. Always included in service level objective responses. | [optional][readonly] |
-| **modified_at** | **Integer** | Modification timestamp (UNIX time in seconds) Always included in service level objective responses. | [optional][readonly] |
| **monitor_ids** | **Array<Integer>** | A list of monitor ids that defines the scope of a monitor service level objective. **Required if type is `monitor`**. | [optional] |
| **name** | **String** | The name of the service level objective object. | |
| **query** | [**ServiceLevelObjectiveQuery**](ServiceLevelObjectiveQuery.md) | | [optional] |
| **tags** | **Array<String>** | A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty). Optional in create/update requests. | [optional] |
| **thresholds** | [**Array<SLOThreshold>**](SLOThreshold.md) | The thresholds (timeframes and associated targets) for this service level objective object. | |
@@ -21,20 +17,16 @@
```ruby
require 'datadog_api_client/v1'
instance = DatadogAPIClient::V1::ServiceLevelObjectiveRequest.new(
- created_at: null,
- creator: null,
description: null,
groups: ["env:prod","role:mysql"],
- id: null,
- modified_at: null,
monitor_ids: null,
- name: ,
+ name: Custom Metric SLO,
query: null,
tags: ["env:prod","app:core"],
- thresholds: [],
+ thresholds: [{"target":95,"timeframe":"7d"},{"target":95,"timeframe":"30d","warning":97}],
type: null
)
```