Class: DatadogAPIClient::V2::PrintReportRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::PrintReportRequestAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#from_ts ⇒ Object
The start of an absolute time range, as a Unix timestamp in milliseconds.
-
#resource_id ⇒ Object
readonly
The identifier of the dashboard or integration dashboard to render.
-
#resource_type ⇒ Object
readonly
The type of dashboard resource the report schedule targets.
-
#template_variables ⇒ Object
readonly
The dashboard template variables applied when rendering the report.
-
#timeframe ⇒ Object
A relative time window (for example
1worcalendar_month). -
#timezone ⇒ Object
readonly
The IANA time zone identifier used to evaluate the time window.
-
#to_ts ⇒ Object
The end of an absolute time range, as a Unix timestamp in milliseconds.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_ts ⇒ Object
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_id ⇒ Object
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_type ⇒ Object
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_variables ⇒ Object
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 |
#timeframe ⇒ Object
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 |
#timezone ⇒ Object
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_ts ⇒ Object
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 |