Class: DatadogAPIClient::V2::SloReportCreateRequestAttributes

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

Overview

The attributes portion of the SLO report request.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#from_tsObject

The from timestamp for the report in epoch seconds.



25
26
27
# File 'lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb', line 25

def from_ts
  @from_ts
end

#intervalObject

The frequency at which report data is to be generated.



28
29
30
# File 'lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb', line 28

def interval
  @interval
end

#queryObject

The query string used to filter SLO results. Some examples of queries include service:<service-name> and slo-name.



31
32
33
# File 'lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb', line 31

def query
  @query
end

#timezoneObject

The timezone used to determine the start and end of each interval. For example, weekly intervals start at 12am on Sunday in the specified timezone.



34
35
36
# File 'lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb', line 34

def timezone
  @timezone
end

#to_tsObject

The to timestamp for the report in epoch seconds.



37
38
39
# File 'lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb', line 37

def to_ts
  @to_ts
end