Class: DatadogAPIClient::V2::PrintReportRequestAttributes

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

Overview

The configuration for a print-only report. Specify exactly one of timeframe (for a relative time window) or both from_ts and to_ts (for an absolute time range).

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



49
50
51
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 49

def additional_properties
  @additional_properties
end

#from_tsObject

The start of an absolute time range, as a Unix timestamp in milliseconds. Required when timeframe is omitted.



27
28
29
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 27

def from_ts
  @from_ts
end

#resource_idObject

The identifier of the dashboard or integration dashboard to render.



30
31
32
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 30

def resource_id
  @resource_id
end

#resource_typeObject

The type of dashboard resource the report schedule targets.



33
34
35
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 33

def resource_type
  @resource_type
end

#template_variablesObject

The dashboard template variables applied when rendering the report.



36
37
38
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 36

def template_variables
  @template_variables
end

#timeframeObject

A relative time window (for example 1w or calendar_month). Mutually exclusive with from_ts and to_ts.



40
41
42
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 40

def timeframe
  @timeframe
end

#timezoneObject

The IANA time zone identifier used to evaluate the time window.



43
44
45
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 43

def timezone
  @timezone
end

#to_tsObject

The end of an absolute time range, as a Unix timestamp in milliseconds. Required when timeframe is omitted.



47
48
49
# File 'lib/datadog_api_client/v2/models/print_report_request_attributes.rb', line 47

def to_ts
  @to_ts
end