# DatadogAPIClient::V1::ServiceLevelObjective ## 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] | | **monitor_tags** | **Array<String>** | The union of monitor tags for all monitors referenced by the `monitor_ids` field. Always included in service level objective responses for monitor service level objectives (but may be empty). Ignored in create/update requests. Does not affect which monitors are included in the service level objective (that is determined entirely by the `monitor_ids` field). | [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. | | | **type** | [**SLOType**](SLOType.md) | | | ## Example ```ruby require 'datadog_api_client/v1' instance = DatadogAPIClient::V1::ServiceLevelObjective.new( created_at: null, creator: null, description: null, groups: ["env:prod","role:mysql"], id: null, modified_at: null, monitor_ids: null, monitor_tags: null, name: Custom Metric SLO, query: null, tags: ["env:prod","app:core"], thresholds: [{"target":95,"timeframe":"7d"},{"target":95,"timeframe":"30d","warning":97}], type: null ) ```