datadog_api_client 1.0.0.beta.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.azure-pipelines/all.yml +0 -1
  4. data/.rubocop.yml +1 -1
  5. data/CHANGELOG.md +23 -0
  6. data/Gemfile +1 -1
  7. data/LICENSE-3rdparty.csv +0 -1
  8. data/check-examples.sh +7 -2
  9. data/data/v1/openapi.yaml +1963 -245
  10. data/data/v2/openapi.yaml +67 -13
  11. data/docs/v1/DashboardsAPI.md +10 -5
  12. data/docs/v1/DistributionWidgetDefinition.md +9 -3
  13. data/docs/v1/DistributionWidgetXAxis.md +24 -0
  14. data/docs/v1/DistributionWidgetYAxis.md +26 -0
  15. data/docs/v1/EventsAPI.md +7 -3
  16. data/docs/v1/GroupWidgetDefinition.md +8 -0
  17. data/docs/v1/ImageWidgetDefinition.md +11 -1
  18. data/docs/v1/LogsByRetention.md +22 -0
  19. data/docs/v1/LogsByRetentionMonthlyUsage.md +20 -0
  20. data/docs/v1/LogsByRetentionOrgUsage.md +18 -0
  21. data/docs/v1/LogsByRetentionOrgs.md +18 -0
  22. data/docs/v1/LogsRetentionAggSumUsage.md +24 -0
  23. data/docs/v1/LogsRetentionSumUsage.md +24 -0
  24. data/docs/v1/MonitorsAPI.md +1 -1
  25. data/docs/v1/NoteWidgetDefinition.md +5 -1
  26. data/docs/v1/NotebookAbsoluteTime.md +22 -0
  27. data/docs/v1/NotebookAuthor.md +34 -0
  28. data/docs/v1/NotebookCellCreateRequest.md +20 -0
  29. data/docs/v1/NotebookCellCreateRequestAttributes.md +57 -0
  30. data/docs/v1/NotebookCellResourceType.md +15 -0
  31. data/docs/v1/NotebookCellResponse.md +22 -0
  32. data/docs/v1/NotebookCellResponseAttributes.md +57 -0
  33. data/docs/v1/NotebookCellTime.md +49 -0
  34. data/docs/v1/NotebookCellUpdateRequest.md +22 -0
  35. data/docs/v1/NotebookCellUpdateRequestAttributes.md +57 -0
  36. data/docs/v1/NotebookCreateData.md +20 -0
  37. data/docs/v1/NotebookCreateDataAttributes.md +24 -0
  38. data/docs/v1/NotebookCreateRequest.md +18 -0
  39. data/docs/v1/NotebookDistributionCellAttributes.md +24 -0
  40. data/docs/v1/NotebookGlobalTime.md +49 -0
  41. data/docs/v1/NotebookGraphSize.md +15 -0
  42. data/docs/v1/NotebookHeatMapCellAttributes.md +24 -0
  43. data/docs/v1/NotebookLogStreamCellAttributes.md +22 -0
  44. data/docs/v1/NotebookMarkdownCellAttributes.md +18 -0
  45. data/docs/v1/NotebookMarkdownCellDefinition.md +21 -0
  46. data/docs/v1/NotebookMarkdownCellDefinitionType.md +15 -0
  47. data/docs/v1/NotebookRelativeTime.md +18 -0
  48. data/docs/v1/NotebookResourceType.md +15 -0
  49. data/docs/v1/NotebookResponse.md +18 -0
  50. data/docs/v1/NotebookResponseData.md +22 -0
  51. data/docs/v1/NotebookResponseDataAttributes.md +30 -0
  52. data/docs/v1/NotebookSplitBy.md +20 -0
  53. data/docs/v1/NotebookStatus.md +15 -0
  54. data/docs/v1/NotebookTimeseriesCellAttributes.md +24 -0
  55. data/docs/v1/NotebookToplistCellAttributes.md +24 -0
  56. data/docs/v1/NotebookUpdateCell.md +49 -0
  57. data/docs/v1/NotebookUpdateData.md +20 -0
  58. data/docs/v1/NotebookUpdateDataAttributes.md +24 -0
  59. data/docs/v1/NotebookUpdateRequest.md +18 -0
  60. data/docs/v1/NotebooksAPI.md +339 -0
  61. data/docs/v1/NotebooksResponse.md +20 -0
  62. data/docs/v1/NotebooksResponseMeta.md +18 -0
  63. data/docs/v1/NotebooksResponsePage.md +20 -0
  64. data/docs/v1/README.md +66 -9
  65. data/docs/v1/SLOListResponse.md +3 -1
  66. data/docs/v1/SLOListResponseMetadata.md +18 -0
  67. data/docs/v1/SLOListResponseMetadataPage.md +20 -0
  68. data/docs/v1/SLOResponse.md +1 -1
  69. data/docs/v1/SLOResponseData.md +44 -0
  70. data/docs/v1/ServiceLevelObjectivesAPI.md +8 -4
  71. data/docs/v1/SyntheticsAPI.md +28 -156
  72. data/docs/v1/SyntheticsAPIStep.md +4 -0
  73. data/docs/v1/SyntheticsBrowserTestConfig.md +2 -0
  74. data/docs/v1/SyntheticsTestConfig.md +1 -1
  75. data/docs/v1/SyntheticsTestOptions.md +1 -1
  76. data/docs/v1/SyntheticsTestRequest.md +6 -0
  77. data/docs/v1/UsageAttributionSupportedMetrics.md +15 -0
  78. data/docs/v1/UsageAttributionValues.md +8 -0
  79. data/docs/v1/UsageHostHour.md +3 -1
  80. data/docs/v1/UsageIoTHour.md +1 -1
  81. data/docs/v1/UsageLogsByRetentionHour.md +24 -0
  82. data/docs/v1/UsageLogsByRetentionResponse.md +18 -0
  83. data/docs/v1/UsageMeteringAPI.md +69 -2
  84. data/docs/v1/UsageSummaryDate.md +11 -9
  85. data/docs/v1/UsageSummaryDateOrg.md +3 -1
  86. data/docs/v1/UsageSummaryResponse.md +5 -1
  87. data/docs/v1/WidgetHorizontalAlign.md +15 -0
  88. data/docs/v1/WidgetLayout.md +2 -0
  89. data/docs/v1/WidgetMarker.md +1 -1
  90. data/docs/v1/WidgetVerticalAlign.md +15 -0
  91. data/docs/v2/IncidentServiceUpdateData.md +1 -1
  92. data/docs/v2/IncidentServicesAPI.md +1 -1
  93. data/docs/v2/IncidentTeamUpdateData.md +1 -1
  94. data/docs/v2/IncidentTeamsAPI.md +1 -1
  95. data/docs/v2/MetricsAPI.md +1 -11
  96. data/extract-code-blocks.sh +6 -2
  97. data/lib/datadog_api_client/v1.rb +54 -0
  98. data/lib/datadog_api_client/v1/api/dashboards_api.rb +3 -0
  99. data/lib/datadog_api_client/v1/api/events_api.rb +14 -4
  100. data/lib/datadog_api_client/v1/api/monitors_api.rb +2 -2
  101. data/lib/datadog_api_client/v1/api/notebooks_api.rb +418 -0
  102. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -0
  103. data/lib/datadog_api_client/v1/api/synthetics_api.rb +14 -170
  104. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +79 -2
  105. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +36 -6
  106. data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +259 -0
  107. data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +269 -0
  108. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +42 -1
  109. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +56 -4
  110. data/lib/datadog_api_client/v1/models/logs_by_retention.rb +243 -0
  111. data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +235 -0
  112. data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +225 -0
  113. data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +225 -0
  114. data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +253 -0
  115. data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +253 -0
  116. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +25 -4
  117. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +253 -0
  118. data/lib/datadog_api_client/v1/models/notebook_author.rb +303 -0
  119. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +243 -0
  120. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +113 -0
  121. data/lib/datadog_api_client/v1/models/notebook_cell_resource_type.rb +39 -0
  122. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +258 -0
  123. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +113 -0
  124. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +109 -0
  125. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +258 -0
  126. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +113 -0
  127. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +243 -0
  128. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +298 -0
  129. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +227 -0
  130. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +255 -0
  131. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +109 -0
  132. data/lib/datadog_api_client/v1/models/notebook_graph_size.rb +43 -0
  133. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +255 -0
  134. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +246 -0
  135. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +227 -0
  136. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +244 -0
  137. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition_type.rb +39 -0
  138. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +227 -0
  139. data/lib/datadog_api_client/v1/models/notebook_resource_type.rb +39 -0
  140. data/lib/datadog_api_client/v1/models/notebook_response.rb +222 -0
  141. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +258 -0
  142. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +327 -0
  143. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +247 -0
  144. data/lib/datadog_api_client/v1/models/notebook_status.rb +39 -0
  145. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +255 -0
  146. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +255 -0
  147. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +109 -0
  148. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +243 -0
  149. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +298 -0
  150. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +227 -0
  151. data/lib/datadog_api_client/v1/models/notebooks_response.rb +234 -0
  152. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +222 -0
  153. data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +233 -0
  154. data/lib/datadog_api_client/v1/models/slo_list_response.rb +13 -4
  155. data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +222 -0
  156. data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +233 -0
  157. data/lib/datadog_api_client/v1/models/slo_response.rb +1 -1
  158. data/lib/datadog_api_client/v1/models/slo_response_data.rb +363 -0
  159. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +21 -1
  160. data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +4 -0
  161. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +11 -1
  162. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -5
  163. data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +1 -0
  164. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +79 -1
  166. data/lib/datadog_api_client/v1/models/synthetics_tick_interval.rb +1 -0
  167. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +67 -0
  168. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +41 -1
  169. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +14 -4
  170. data/lib/datadog_api_client/v1/models/usage_io_t_hour.rb +1 -1
  171. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +253 -0
  172. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +225 -0
  173. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +38 -28
  174. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +14 -4
  175. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +23 -4
  176. data/lib/datadog_api_client/v1/models/widget.rb +1 -1
  177. data/lib/datadog_api_client/v1/models/widget_horizontal_align.rb +41 -0
  178. data/lib/datadog_api_client/v1/models/widget_image_sizing.rb +5 -0
  179. data/lib/datadog_api_client/v1/models/widget_layout.rb +12 -2
  180. data/lib/datadog_api_client/v1/models/widget_margin.rb +3 -0
  181. data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
  182. data/lib/datadog_api_client/v1/models/widget_vertical_align.rb +41 -0
  183. data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
  184. data/lib/datadog_api_client/v2/configuration.rb +0 -2
  185. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +0 -5
  186. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +0 -5
  187. data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +1 -0
  188. data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
  189. data/lib/datadog_api_client/version.rb +1 -1
  190. data/run-tests.sh +0 -6
  191. data/spec/v1/api/notebooks_api_spec.rb +106 -0
  192. data/spec/v1/models/distribution_widget_x_axis_spec.rb +55 -0
  193. data/spec/v1/models/distribution_widget_y_axis_spec.rb +61 -0
  194. data/spec/v1/models/logs_by_retention_monthly_usage_spec.rb +43 -0
  195. data/spec/v1/models/logs_by_retention_org_usage_spec.rb +37 -0
  196. data/spec/v1/models/logs_by_retention_orgs_spec.rb +37 -0
  197. data/spec/v1/models/logs_by_retention_spec.rb +49 -0
  198. data/spec/v1/models/logs_retention_agg_sum_usage_spec.rb +55 -0
  199. data/spec/v1/models/logs_retention_sum_usage_spec.rb +55 -0
  200. data/spec/v1/models/notebook_absolute_time_spec.rb +49 -0
  201. data/spec/v1/models/notebook_author_spec.rb +85 -0
  202. data/spec/v1/models/notebook_cell_create_request_attributes_spec.rb +34 -0
  203. data/spec/v1/models/notebook_cell_create_request_spec.rb +43 -0
  204. data/spec/v1/models/notebook_cell_resource_type_spec.rb +31 -0
  205. data/spec/v1/models/notebook_cell_response_attributes_spec.rb +34 -0
  206. data/spec/v1/models/notebook_cell_response_spec.rb +49 -0
  207. data/spec/v1/models/notebook_cell_time_spec.rb +34 -0
  208. data/spec/v1/models/notebook_cell_update_request_attributes_spec.rb +34 -0
  209. data/spec/v1/models/notebook_cell_update_request_spec.rb +49 -0
  210. data/spec/v1/models/notebook_create_data_attributes_spec.rb +55 -0
  211. data/spec/v1/models/notebook_create_data_spec.rb +43 -0
  212. data/spec/v1/models/notebook_create_request_spec.rb +37 -0
  213. data/spec/v1/models/notebook_distribution_cell_attributes_spec.rb +55 -0
  214. data/spec/v1/models/notebook_global_time_spec.rb +34 -0
  215. data/spec/v1/models/notebook_graph_size_spec.rb +31 -0
  216. data/spec/v1/models/notebook_heat_map_cell_attributes_spec.rb +55 -0
  217. data/spec/v1/models/notebook_log_stream_cell_attributes_spec.rb +49 -0
  218. data/spec/v1/models/notebook_markdown_cell_attributes_spec.rb +37 -0
  219. data/spec/v1/models/notebook_markdown_cell_definition_spec.rb +43 -0
  220. data/spec/v1/models/notebook_markdown_cell_definition_type_spec.rb +31 -0
  221. data/spec/v1/models/notebook_relative_time_spec.rb +37 -0
  222. data/spec/v1/models/notebook_resource_type_spec.rb +31 -0
  223. data/spec/v1/models/notebook_response_data_attributes_spec.rb +73 -0
  224. data/spec/v1/models/notebook_response_data_spec.rb +49 -0
  225. data/spec/v1/models/notebook_response_spec.rb +37 -0
  226. data/spec/v1/models/notebook_split_by_spec.rb +43 -0
  227. data/spec/v1/models/notebook_status_spec.rb +31 -0
  228. data/spec/v1/models/notebook_timeseries_cell_attributes_spec.rb +55 -0
  229. data/spec/v1/models/notebook_toplist_cell_attributes_spec.rb +55 -0
  230. data/spec/v1/models/notebook_update_cell_spec.rb +34 -0
  231. data/spec/v1/models/notebook_update_data_attributes_spec.rb +55 -0
  232. data/spec/v1/models/notebook_update_data_spec.rb +43 -0
  233. data/spec/v1/models/notebook_update_request_spec.rb +37 -0
  234. data/spec/v1/models/notebooks_response_meta_spec.rb +37 -0
  235. data/spec/v1/models/notebooks_response_page_spec.rb +43 -0
  236. data/spec/v1/models/notebooks_response_spec.rb +43 -0
  237. data/spec/v1/models/slo_list_response_metadata_page_spec.rb +43 -0
  238. data/spec/v1/models/slo_list_response_metadata_spec.rb +37 -0
  239. data/spec/v1/models/slo_response_data_spec.rb +115 -0
  240. data/spec/v1/models/usage_attribution_supported_metrics_spec.rb +31 -0
  241. data/spec/v1/models/usage_logs_by_retention_hour_spec.rb +55 -0
  242. data/spec/v1/models/usage_logs_by_retention_response_spec.rb +37 -0
  243. data/spec/v1/models/widget_horizontal_align_spec.rb +31 -0
  244. data/spec/v1/models/widget_vertical_align_spec.rb +31 -0
  245. metadata +220 -4
@@ -71,7 +71,7 @@ module DatadogAPIClient::V1
71
71
  attr_accessor :gcp_host_top99p
72
72
 
73
73
  # Shows the 99th percentile of all Heroku dynos over all hours in the current date for all organizations.
74
- attr_accessor :heroku_host_top99p_sum
74
+ attr_accessor :heroku_host_top99p
75
75
 
76
76
  # Shows the high-water mark of incident management monthly active users over all hours in the current date for all organizations.
77
77
  attr_accessor :incident_management_monthly_active_users_hwm
@@ -86,10 +86,10 @@ module DatadogAPIClient::V1
86
86
  attr_accessor :ingested_events_bytes_sum
87
87
 
88
88
  # Shows the sum of all IoT devices over all hours in the current date for all organizations.
89
- attr_accessor :iot_device_agg_sum
89
+ attr_accessor :iot_device_sum
90
90
 
91
91
  # Shows the 99th percentile of all IoT devices over all hours in the current date all organizations.
92
- attr_accessor :iot_device_top99p_sum
92
+ attr_accessor :iot_device_top99p
93
93
 
94
94
  # Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations.
95
95
  attr_accessor :mobile_rum_session_count_android_sum
@@ -107,7 +107,7 @@ module DatadogAPIClient::V1
107
107
  attr_accessor :npm_host_top99p
108
108
 
109
109
  # Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
110
- attr_accessor :opentelemetry_host_top99p_sum
110
+ attr_accessor :opentelemetry_host_top99p
111
111
 
112
112
  # Organizations associated with a user.
113
113
  attr_accessor :orgs
@@ -133,6 +133,9 @@ module DatadogAPIClient::V1
133
133
  # Shows the sum of all tracing without limits bytes ingested over all hours in the current date for all organizations.
134
134
  attr_accessor :twol_ingested_events_bytes_sum
135
135
 
136
+ # Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations.
137
+ attr_accessor :vsphere_host_top99p
138
+
136
139
  # Attribute mapping from ruby-style variable name to JSON key.
137
140
  def self.attribute_map
138
141
  {
@@ -153,19 +156,19 @@ module DatadogAPIClient::V1
153
156
  :'fargate_tasks_count_avg' => :'fargate_tasks_count_avg',
154
157
  :'fargate_tasks_count_hwm' => :'fargate_tasks_count_hwm',
155
158
  :'gcp_host_top99p' => :'gcp_host_top99p',
156
- :'heroku_host_top99p_sum' => :'heroku_host_top99p_sum',
159
+ :'heroku_host_top99p' => :'heroku_host_top99p',
157
160
  :'incident_management_monthly_active_users_hwm' => :'incident_management_monthly_active_users_hwm',
158
161
  :'indexed_events_count_sum' => :'indexed_events_count_sum',
159
162
  :'infra_host_top99p' => :'infra_host_top99p',
160
163
  :'ingested_events_bytes_sum' => :'ingested_events_bytes_sum',
161
- :'iot_device_agg_sum' => :'iot_device_agg_sum',
162
- :'iot_device_top99p_sum' => :'iot_device_top99p_sum',
164
+ :'iot_device_sum' => :'iot_device_sum',
165
+ :'iot_device_top99p' => :'iot_device_top99p',
163
166
  :'mobile_rum_session_count_android_sum' => :'mobile_rum_session_count_android_sum',
164
167
  :'mobile_rum_session_count_ios_sum' => :'mobile_rum_session_count_ios_sum',
165
168
  :'mobile_rum_session_count_sum' => :'mobile_rum_session_count_sum',
166
169
  :'netflow_indexed_events_count_sum' => :'netflow_indexed_events_count_sum',
167
170
  :'npm_host_top99p' => :'npm_host_top99p',
168
- :'opentelemetry_host_top99p_sum' => :'opentelemetry_host_top99p_sum',
171
+ :'opentelemetry_host_top99p' => :'opentelemetry_host_top99p',
169
172
  :'orgs' => :'orgs',
170
173
  :'profiling_host_top99p' => :'profiling_host_top99p',
171
174
  :'rum_session_count_sum' => :'rum_session_count_sum',
@@ -173,7 +176,8 @@ module DatadogAPIClient::V1
173
176
  :'synthetics_browser_check_calls_count_sum' => :'synthetics_browser_check_calls_count_sum',
174
177
  :'synthetics_check_calls_count_sum' => :'synthetics_check_calls_count_sum',
175
178
  :'trace_search_indexed_events_count_sum' => :'trace_search_indexed_events_count_sum',
176
- :'twol_ingested_events_bytes_sum' => :'twol_ingested_events_bytes_sum'
179
+ :'twol_ingested_events_bytes_sum' => :'twol_ingested_events_bytes_sum',
180
+ :'vsphere_host_top99p' => :'vsphere_host_top99p'
177
181
  }
178
182
  end
179
183
 
@@ -202,19 +206,19 @@ module DatadogAPIClient::V1
202
206
  :'fargate_tasks_count_avg' => :'Integer',
203
207
  :'fargate_tasks_count_hwm' => :'Integer',
204
208
  :'gcp_host_top99p' => :'Integer',
205
- :'heroku_host_top99p_sum' => :'Integer',
209
+ :'heroku_host_top99p' => :'Integer',
206
210
  :'incident_management_monthly_active_users_hwm' => :'Integer',
207
211
  :'indexed_events_count_sum' => :'Integer',
208
212
  :'infra_host_top99p' => :'Integer',
209
213
  :'ingested_events_bytes_sum' => :'Integer',
210
- :'iot_device_agg_sum' => :'Integer',
211
- :'iot_device_top99p_sum' => :'Integer',
214
+ :'iot_device_sum' => :'Integer',
215
+ :'iot_device_top99p' => :'Integer',
212
216
  :'mobile_rum_session_count_android_sum' => :'Integer',
213
217
  :'mobile_rum_session_count_ios_sum' => :'Integer',
214
218
  :'mobile_rum_session_count_sum' => :'Integer',
215
219
  :'netflow_indexed_events_count_sum' => :'Integer',
216
220
  :'npm_host_top99p' => :'Integer',
217
- :'opentelemetry_host_top99p_sum' => :'Integer',
221
+ :'opentelemetry_host_top99p' => :'Integer',
218
222
  :'orgs' => :'Array<UsageSummaryDateOrg>',
219
223
  :'profiling_host_top99p' => :'Integer',
220
224
  :'rum_session_count_sum' => :'Integer',
@@ -222,7 +226,8 @@ module DatadogAPIClient::V1
222
226
  :'synthetics_browser_check_calls_count_sum' => :'Integer',
223
227
  :'synthetics_check_calls_count_sum' => :'Integer',
224
228
  :'trace_search_indexed_events_count_sum' => :'Integer',
225
- :'twol_ingested_events_bytes_sum' => :'Integer'
229
+ :'twol_ingested_events_bytes_sum' => :'Integer',
230
+ :'vsphere_host_top99p' => :'Integer'
226
231
  }
227
232
  end
228
233
 
@@ -316,8 +321,8 @@ module DatadogAPIClient::V1
316
321
  self.gcp_host_top99p = attributes[:'gcp_host_top99p']
317
322
  end
318
323
 
319
- if attributes.key?(:'heroku_host_top99p_sum')
320
- self.heroku_host_top99p_sum = attributes[:'heroku_host_top99p_sum']
324
+ if attributes.key?(:'heroku_host_top99p')
325
+ self.heroku_host_top99p = attributes[:'heroku_host_top99p']
321
326
  end
322
327
 
323
328
  if attributes.key?(:'incident_management_monthly_active_users_hwm')
@@ -336,12 +341,12 @@ module DatadogAPIClient::V1
336
341
  self.ingested_events_bytes_sum = attributes[:'ingested_events_bytes_sum']
337
342
  end
338
343
 
339
- if attributes.key?(:'iot_device_agg_sum')
340
- self.iot_device_agg_sum = attributes[:'iot_device_agg_sum']
344
+ if attributes.key?(:'iot_device_sum')
345
+ self.iot_device_sum = attributes[:'iot_device_sum']
341
346
  end
342
347
 
343
- if attributes.key?(:'iot_device_top99p_sum')
344
- self.iot_device_top99p_sum = attributes[:'iot_device_top99p_sum']
348
+ if attributes.key?(:'iot_device_top99p')
349
+ self.iot_device_top99p = attributes[:'iot_device_top99p']
345
350
  end
346
351
 
347
352
  if attributes.key?(:'mobile_rum_session_count_android_sum')
@@ -364,8 +369,8 @@ module DatadogAPIClient::V1
364
369
  self.npm_host_top99p = attributes[:'npm_host_top99p']
365
370
  end
366
371
 
367
- if attributes.key?(:'opentelemetry_host_top99p_sum')
368
- self.opentelemetry_host_top99p_sum = attributes[:'opentelemetry_host_top99p_sum']
372
+ if attributes.key?(:'opentelemetry_host_top99p')
373
+ self.opentelemetry_host_top99p = attributes[:'opentelemetry_host_top99p']
369
374
  end
370
375
 
371
376
  if attributes.key?(:'orgs')
@@ -401,6 +406,10 @@ module DatadogAPIClient::V1
401
406
  if attributes.key?(:'twol_ingested_events_bytes_sum')
402
407
  self.twol_ingested_events_bytes_sum = attributes[:'twol_ingested_events_bytes_sum']
403
408
  end
409
+
410
+ if attributes.key?(:'vsphere_host_top99p')
411
+ self.vsphere_host_top99p = attributes[:'vsphere_host_top99p']
412
+ end
404
413
  end
405
414
 
406
415
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -438,19 +447,19 @@ module DatadogAPIClient::V1
438
447
  fargate_tasks_count_avg == o.fargate_tasks_count_avg &&
439
448
  fargate_tasks_count_hwm == o.fargate_tasks_count_hwm &&
440
449
  gcp_host_top99p == o.gcp_host_top99p &&
441
- heroku_host_top99p_sum == o.heroku_host_top99p_sum &&
450
+ heroku_host_top99p == o.heroku_host_top99p &&
442
451
  incident_management_monthly_active_users_hwm == o.incident_management_monthly_active_users_hwm &&
443
452
  indexed_events_count_sum == o.indexed_events_count_sum &&
444
453
  infra_host_top99p == o.infra_host_top99p &&
445
454
  ingested_events_bytes_sum == o.ingested_events_bytes_sum &&
446
- iot_device_agg_sum == o.iot_device_agg_sum &&
447
- iot_device_top99p_sum == o.iot_device_top99p_sum &&
455
+ iot_device_sum == o.iot_device_sum &&
456
+ iot_device_top99p == o.iot_device_top99p &&
448
457
  mobile_rum_session_count_android_sum == o.mobile_rum_session_count_android_sum &&
449
458
  mobile_rum_session_count_ios_sum == o.mobile_rum_session_count_ios_sum &&
450
459
  mobile_rum_session_count_sum == o.mobile_rum_session_count_sum &&
451
460
  netflow_indexed_events_count_sum == o.netflow_indexed_events_count_sum &&
452
461
  npm_host_top99p == o.npm_host_top99p &&
453
- opentelemetry_host_top99p_sum == o.opentelemetry_host_top99p_sum &&
462
+ opentelemetry_host_top99p == o.opentelemetry_host_top99p &&
454
463
  orgs == o.orgs &&
455
464
  profiling_host_top99p == o.profiling_host_top99p &&
456
465
  rum_session_count_sum == o.rum_session_count_sum &&
@@ -458,7 +467,8 @@ module DatadogAPIClient::V1
458
467
  synthetics_browser_check_calls_count_sum == o.synthetics_browser_check_calls_count_sum &&
459
468
  synthetics_check_calls_count_sum == o.synthetics_check_calls_count_sum &&
460
469
  trace_search_indexed_events_count_sum == o.trace_search_indexed_events_count_sum &&
461
- twol_ingested_events_bytes_sum == o.twol_ingested_events_bytes_sum
470
+ twol_ingested_events_bytes_sum == o.twol_ingested_events_bytes_sum &&
471
+ vsphere_host_top99p == o.vsphere_host_top99p
462
472
  end
463
473
 
464
474
  # @see the `==` method
@@ -470,7 +480,7 @@ module DatadogAPIClient::V1
470
480
  # Calculates hash code according to all attributes.
471
481
  # @return [Integer] Hash code
472
482
  def hash
473
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, compliance_container_count_sum, compliance_host_count_sum, container_avg, container_hwm, custom_ts_avg, date, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p_sum, orgs, profiling_host_top99p, rum_session_count_sum, rum_total_session_count_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum].hash
483
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, compliance_container_count_sum, compliance_host_count_sum, container_avg, container_hwm, custom_ts_avg, date, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_session_count_sum, rum_total_session_count_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
474
484
  end
475
485
 
476
486
  # Builds the object from hash
@@ -136,6 +136,9 @@ module DatadogAPIClient::V1
136
136
  # Shows the sum of all tracing without limits bytes ingested over all hours in the current date for the given org.
137
137
  attr_accessor :twol_ingested_events_bytes_sum
138
138
 
139
+ # Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.
140
+ attr_accessor :vsphere_host_top99p
141
+
139
142
  # Attribute mapping from ruby-style variable name to JSON key.
140
143
  def self.attribute_map
141
144
  {
@@ -177,7 +180,8 @@ module DatadogAPIClient::V1
177
180
  :'synthetics_browser_check_calls_count_sum' => :'synthetics_browser_check_calls_count_sum',
178
181
  :'synthetics_check_calls_count_sum' => :'synthetics_check_calls_count_sum',
179
182
  :'trace_search_indexed_events_count_sum' => :'trace_search_indexed_events_count_sum',
180
- :'twol_ingested_events_bytes_sum' => :'twol_ingested_events_bytes_sum'
183
+ :'twol_ingested_events_bytes_sum' => :'twol_ingested_events_bytes_sum',
184
+ :'vsphere_host_top99p' => :'vsphere_host_top99p'
181
185
  }
182
186
  end
183
187
 
@@ -227,7 +231,8 @@ module DatadogAPIClient::V1
227
231
  :'synthetics_browser_check_calls_count_sum' => :'Integer',
228
232
  :'synthetics_check_calls_count_sum' => :'Integer',
229
233
  :'trace_search_indexed_events_count_sum' => :'Integer',
230
- :'twol_ingested_events_bytes_sum' => :'Integer'
234
+ :'twol_ingested_events_bytes_sum' => :'Integer',
235
+ :'vsphere_host_top99p' => :'Integer'
231
236
  }
232
237
  end
233
238
 
@@ -408,6 +413,10 @@ module DatadogAPIClient::V1
408
413
  if attributes.key?(:'twol_ingested_events_bytes_sum')
409
414
  self.twol_ingested_events_bytes_sum = attributes[:'twol_ingested_events_bytes_sum']
410
415
  end
416
+
417
+ if attributes.key?(:'vsphere_host_top99p')
418
+ self.vsphere_host_top99p = attributes[:'vsphere_host_top99p']
419
+ end
411
420
  end
412
421
 
413
422
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -466,7 +475,8 @@ module DatadogAPIClient::V1
466
475
  synthetics_browser_check_calls_count_sum == o.synthetics_browser_check_calls_count_sum &&
467
476
  synthetics_check_calls_count_sum == o.synthetics_check_calls_count_sum &&
468
477
  trace_search_indexed_events_count_sum == o.trace_search_indexed_events_count_sum &&
469
- twol_ingested_events_bytes_sum == o.twol_ingested_events_bytes_sum
478
+ twol_ingested_events_bytes_sum == o.twol_ingested_events_bytes_sum &&
479
+ vsphere_host_top99p == o.vsphere_host_top99p
470
480
  end
471
481
 
472
482
  # @see the `==` method
@@ -478,7 +488,7 @@ module DatadogAPIClient::V1
478
488
  # Calculates hash code according to all attributes.
479
489
  # @return [Integer] Hash code
480
490
  def hash
481
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, compliance_container_agg_sum, compliance_host_agg_sum, container_avg, container_hwm, custom_ts_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_session_count_sum, rum_total_session_count_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum].hash
491
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, compliance_container_agg_sum, compliance_host_agg_sum, container_avg, container_hwm, custom_ts_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_session_count_sum, rum_total_session_count_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
482
492
  end
483
493
 
484
494
  # Builds the object from hash
@@ -103,6 +103,8 @@ module DatadogAPIClient::V1
103
103
  # Shows the sum of all live logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020).
104
104
  attr_accessor :live_ingested_bytes_agg_sum
105
105
 
106
+ attr_accessor :logs_by_retention
107
+
106
108
  # Shows the sum of all mobile RUM Sessions over all hours in the current months for all organizations.
107
109
  attr_accessor :mobile_rum_session_count_agg_sum
108
110
 
@@ -157,6 +159,9 @@ module DatadogAPIClient::V1
157
159
  # An array of objects regarding hourly usage.
158
160
  attr_accessor :usage
159
161
 
162
+ # Shows the 99th percentile of all vSphere hosts over all hours in the current months for all organizations.
163
+ attr_accessor :vsphere_host_top99p_sum
164
+
160
165
  # Attribute mapping from ruby-style variable name to JSON key.
161
166
  def self.attribute_map
162
167
  {
@@ -188,6 +193,7 @@ module DatadogAPIClient::V1
188
193
  :'last_updated' => :'last_updated',
189
194
  :'live_indexed_events_agg_sum' => :'live_indexed_events_agg_sum',
190
195
  :'live_ingested_bytes_agg_sum' => :'live_ingested_bytes_agg_sum',
196
+ :'logs_by_retention' => :'logs_by_retention',
191
197
  :'mobile_rum_session_count_agg_sum' => :'mobile_rum_session_count_agg_sum',
192
198
  :'mobile_rum_session_count_android_agg_sum' => :'mobile_rum_session_count_android_agg_sum',
193
199
  :'mobile_rum_session_count_ios_agg_sum' => :'mobile_rum_session_count_ios_agg_sum',
@@ -205,7 +211,8 @@ module DatadogAPIClient::V1
205
211
  :'synthetics_check_calls_count_agg_sum' => :'synthetics_check_calls_count_agg_sum',
206
212
  :'trace_search_indexed_events_count_agg_sum' => :'trace_search_indexed_events_count_agg_sum',
207
213
  :'twol_ingested_events_bytes_agg_sum' => :'twol_ingested_events_bytes_agg_sum',
208
- :'usage' => :'usage'
214
+ :'usage' => :'usage',
215
+ :'vsphere_host_top99p_sum' => :'vsphere_host_top99p_sum'
209
216
  }
210
217
  end
211
218
 
@@ -245,6 +252,7 @@ module DatadogAPIClient::V1
245
252
  :'last_updated' => :'Time',
246
253
  :'live_indexed_events_agg_sum' => :'Integer',
247
254
  :'live_ingested_bytes_agg_sum' => :'Integer',
255
+ :'logs_by_retention' => :'LogsByRetention',
248
256
  :'mobile_rum_session_count_agg_sum' => :'Integer',
249
257
  :'mobile_rum_session_count_android_agg_sum' => :'Integer',
250
258
  :'mobile_rum_session_count_ios_agg_sum' => :'Integer',
@@ -262,7 +270,8 @@ module DatadogAPIClient::V1
262
270
  :'synthetics_check_calls_count_agg_sum' => :'Integer',
263
271
  :'trace_search_indexed_events_count_agg_sum' => :'Integer',
264
272
  :'twol_ingested_events_bytes_agg_sum' => :'Integer',
265
- :'usage' => :'Array<UsageSummaryDate>'
273
+ :'usage' => :'Array<UsageSummaryDate>',
274
+ :'vsphere_host_top99p_sum' => :'Integer'
266
275
  }
267
276
  end
268
277
 
@@ -400,6 +409,10 @@ module DatadogAPIClient::V1
400
409
  self.live_ingested_bytes_agg_sum = attributes[:'live_ingested_bytes_agg_sum']
401
410
  end
402
411
 
412
+ if attributes.key?(:'logs_by_retention')
413
+ self.logs_by_retention = attributes[:'logs_by_retention']
414
+ end
415
+
403
416
  if attributes.key?(:'mobile_rum_session_count_agg_sum')
404
417
  self.mobile_rum_session_count_agg_sum = attributes[:'mobile_rum_session_count_agg_sum']
405
418
  end
@@ -473,6 +486,10 @@ module DatadogAPIClient::V1
473
486
  self.usage = value
474
487
  end
475
488
  end
489
+
490
+ if attributes.key?(:'vsphere_host_top99p_sum')
491
+ self.vsphere_host_top99p_sum = attributes[:'vsphere_host_top99p_sum']
492
+ end
476
493
  end
477
494
 
478
495
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -521,6 +538,7 @@ module DatadogAPIClient::V1
521
538
  last_updated == o.last_updated &&
522
539
  live_indexed_events_agg_sum == o.live_indexed_events_agg_sum &&
523
540
  live_ingested_bytes_agg_sum == o.live_ingested_bytes_agg_sum &&
541
+ logs_by_retention == o.logs_by_retention &&
524
542
  mobile_rum_session_count_agg_sum == o.mobile_rum_session_count_agg_sum &&
525
543
  mobile_rum_session_count_android_agg_sum == o.mobile_rum_session_count_android_agg_sum &&
526
544
  mobile_rum_session_count_ios_agg_sum == o.mobile_rum_session_count_ios_agg_sum &&
@@ -538,7 +556,8 @@ module DatadogAPIClient::V1
538
556
  synthetics_check_calls_count_agg_sum == o.synthetics_check_calls_count_agg_sum &&
539
557
  trace_search_indexed_events_count_agg_sum == o.trace_search_indexed_events_count_agg_sum &&
540
558
  twol_ingested_events_bytes_agg_sum == o.twol_ingested_events_bytes_agg_sum &&
541
- usage == o.usage
559
+ usage == o.usage &&
560
+ vsphere_host_top99p_sum == o.vsphere_host_top99p_sum
542
561
  end
543
562
 
544
563
  # @see the `==` method
@@ -550,7 +569,7 @@ module DatadogAPIClient::V1
550
569
  # Calculates hash code according to all attributes.
551
570
  # @return [Integer] Hash code
552
571
  def hash
553
- [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, compliance_container_agg_sum, compliance_host_agg_sum, container_avg_sum, container_hwm_sum, custom_ts_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_session_count_agg_sum, rum_total_session_count_agg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage].hash
572
+ [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, compliance_container_agg_sum, compliance_host_agg_sum, container_avg_sum, container_hwm_sum, custom_ts_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_session_count_agg_sum, rum_total_session_count_agg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage, vsphere_host_top99p_sum].hash
554
573
  end
555
574
 
556
575
  # Builds the object from hash
@@ -17,7 +17,7 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V1
20
- # Information about widget. Note: The `layout` property is required for widgets in dashboards with `free` `layout_type` only.
20
+ # Information about widget. **Note**: The `layout` property is required for widgets in dashboards with `free` `layout_type`. For the **new dashboard layout**, the `layout` property depends on the `reflow_type` of the dashboard. - If `reflow_type` is `fixed`, `layout` is required. - If `reflow_type` is `auto`, `layout` should not be set.
21
21
  class Widget
22
22
  attr_accessor :definition
23
23
 
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ class WidgetHorizontalAlign
21
+ CENTER = "center".freeze
22
+ LEFT = "left".freeze
23
+ RIGHT = "right".freeze
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def self.build_from_hash(value)
29
+ new.build_from_hash(value)
30
+ end
31
+
32
+ # Builds the enum from string
33
+ # @param [String] The enum value in the form of the string
34
+ # @return [String] The enum value
35
+ def build_from_hash(value)
36
+ constantValues = WidgetHorizontalAlign.constants.select { |c| WidgetHorizontalAlign::const_get(c) == value }
37
+ raise "Invalid ENUM value #{value} for class #WidgetHorizontalAlign" if constantValues.empty?
38
+ value
39
+ end
40
+ end
41
+ end
@@ -18,6 +18,11 @@ require 'time'
18
18
 
19
19
  module DatadogAPIClient::V1
20
20
  class WidgetImageSizing
21
+ FILL = "fill".freeze
22
+ CONTAIN = "contain".freeze
23
+ COVER = "cover".freeze
24
+ NONE = "none".freeze
25
+ SCALEDOWN = "scale-down".freeze
21
26
  ZOOM = "zoom".freeze
22
27
  FIT = "fit".freeze
23
28
  CENTER = "center".freeze
@@ -17,11 +17,14 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V1
20
- # The layout for a widget on a free dashboard.
20
+ # The layout for a widget on a `free` or **new dashboard layout** dashboard.
21
21
  class WidgetLayout
22
22
  # The height of the widget. Should be a non-negative integer.
23
23
  attr_accessor :height
24
24
 
25
+ # Whether the widget should be the first one on the second column in high density or not. **Note**: Only for the **new dashboard layout** and only one widget in the dashboard should have this property set to `true`.
26
+ attr_accessor :is_column_break
27
+
25
28
  # The width of the widget. Should be a non-negative integer.
26
29
  attr_accessor :width
27
30
 
@@ -35,6 +38,7 @@ module DatadogAPIClient::V1
35
38
  def self.attribute_map
36
39
  {
37
40
  :'height' => :'height',
41
+ :'is_column_break' => :'is_column_break',
38
42
  :'width' => :'width',
39
43
  :'x' => :'x',
40
44
  :'y' => :'y'
@@ -50,6 +54,7 @@ module DatadogAPIClient::V1
50
54
  def self.openapi_types
51
55
  {
52
56
  :'height' => :'Integer',
57
+ :'is_column_break' => :'Boolean',
53
58
  :'width' => :'Integer',
54
59
  :'x' => :'Integer',
55
60
  :'y' => :'Integer'
@@ -81,6 +86,10 @@ module DatadogAPIClient::V1
81
86
  self.height = attributes[:'height']
82
87
  end
83
88
 
89
+ if attributes.key?(:'is_column_break')
90
+ self.is_column_break = attributes[:'is_column_break']
91
+ end
92
+
84
93
  if attributes.key?(:'width')
85
94
  self.width = attributes[:'width']
86
95
  end
@@ -209,6 +218,7 @@ module DatadogAPIClient::V1
209
218
  return true if self.equal?(o)
210
219
  self.class == o.class &&
211
220
  height == o.height &&
221
+ is_column_break == o.is_column_break &&
212
222
  width == o.width &&
213
223
  x == o.x &&
214
224
  y == o.y
@@ -223,7 +233,7 @@ module DatadogAPIClient::V1
223
233
  # Calculates hash code according to all attributes.
224
234
  # @return [Integer] Hash code
225
235
  def hash
226
- [height, width, x, y].hash
236
+ [height, is_column_break, width, x, y].hash
227
237
  end
228
238
 
229
239
  # Builds the object from hash