datadog_api_client 2.20.0 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +5 -0
  4. data/.generator/schemas/v1/openapi.yaml +502 -754
  5. data/.generator/schemas/v2/openapi.yaml +2903 -102
  6. data/.github/workflows/prepare_release.yml +2 -2
  7. data/.github/workflows/publish.yml +2 -2
  8. data/.github/workflows/release.yml +2 -2
  9. data/.github/workflows/test.yml +1 -1
  10. data/CHANGELOG.md +52 -0
  11. data/Gemfile +1 -1
  12. data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
  13. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -0
  14. data/examples/v1/aws-integration/UpdateAWSAccount.rb +1 -1
  15. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +3 -0
  16. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +25 -0
  17. data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +118 -0
  18. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +29 -0
  19. data/examples/v1/synthetics/UpdateBrowserTest.rb +4 -0
  20. data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +2 -2
  21. data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
  22. data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
  23. data/examples/v2/case-management/ArchiveCase.rb +14 -0
  24. data/examples/v2/case-management/AssignCase.rb +20 -0
  25. data/examples/v2/case-management/CreateCase.rb +33 -0
  26. data/examples/v2/case-management/CreateProject.rb +15 -0
  27. data/examples/v2/case-management/DeleteProject.rb +5 -0
  28. data/examples/v2/case-management/GetCase.rb +8 -0
  29. data/examples/v2/case-management/GetProject.rb +5 -0
  30. data/examples/v2/case-management/GetProjects.rb +5 -0
  31. data/examples/v2/case-management/SearchCases.rb +5 -0
  32. data/examples/v2/case-management/SearchCases_3433960044.rb +5 -0
  33. data/examples/v2/case-management/UnarchiveCase.rb +14 -0
  34. data/examples/v2/case-management/UnassignCase.rb +14 -0
  35. data/examples/v2/case-management/UpdatePriority.rb +17 -0
  36. data/examples/v2/case-management/UpdateStatus.rb +17 -0
  37. data/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb +17 -0
  38. data/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb +8 -0
  39. data/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb +5 -0
  40. data/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb +8 -0
  41. data/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb +5 -0
  42. data/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb +20 -0
  43. data/examples/v2/dora-metrics/CreateDORAIncident.rb +6 -3
  44. data/examples/v2/gcp-integration/CreateGCPSTSAccount.rb +1 -1
  45. data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +1 -1
  46. data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +1 -1
  47. data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +18 -0
  48. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -1
  49. data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +1 -1
  50. data/examples/v2/gcp-integration/UpdateGCPSTSAccount.rb +1 -1
  51. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +21 -0
  52. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +1 -1
  53. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.rb +31 -0
  54. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.rb +31 -0
  55. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.rb +27 -0
  56. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.rb +32 -0
  57. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.rb +31 -0
  58. data/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb +8 -0
  59. data/examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb +8 -0
  60. data/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.rb +5 -0
  61. data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +22 -0
  62. data/examples/v2/metrics/ListMetricAssets.rb +5 -0
  63. data/examples/v2/metrics/QueryScalarData_3112571352.rb +2 -2
  64. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +3 -3
  65. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +19 -0
  66. data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb +42 -0
  67. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +4 -0
  68. data/examples/v2/service-level-objectives/CreateSLOReportJob.rb +20 -0
  69. data/examples/v2/service-level-objectives/GetSLOReport.rb +8 -0
  70. data/examples/v2/service-level-objectives/GetSLOReportJobStatus.rb +11 -0
  71. data/lib/datadog_api_client/configuration.rb +3 -0
  72. data/lib/datadog_api_client/inflector.rb +132 -7
  73. data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -3
  74. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +104 -131
  75. data/lib/datadog_api_client/v1/models/aws_account.rb +12 -2
  76. data/lib/datadog_api_client/v1/models/gcp_account.rb +14 -1
  77. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +8 -0
  78. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
  79. data/lib/datadog_api_client/v1/models/monitor_options.rb +4 -1
  80. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +12 -0
  81. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +124 -4
  82. data/lib/datadog_api_client/v1/models/series.rb +1 -1
  83. data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +14 -2
  84. data/lib/datadog_api_client/v1/models/slo_time_slice_interval.rb +29 -0
  85. data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +1 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +1 -0
  87. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +23 -1
  88. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +175 -0
  89. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +2 -0
  90. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
  91. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +83 -3
  92. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +182 -102
  93. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +6 -0
  94. data/lib/datadog_api_client/v2/api/case_management_api.rb +942 -0
  95. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +2 -2
  96. data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +392 -0
  97. data/lib/datadog_api_client/v2/api/incident_services_api.rb +15 -0
  98. data/lib/datadog_api_client/v2/api/logs_custom_destinations_api.rb +355 -0
  99. data/lib/datadog_api_client/v2/api/metrics_api.rb +70 -2
  100. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +67 -0
  101. data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -1
  102. data/lib/datadog_api_client/v2/api/service_level_objectives_api.rb +245 -0
  103. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +15 -6
  104. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
  105. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +37 -54
  106. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +2 -1
  107. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb +98 -0
  108. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb +98 -0
  109. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +14 -4
  110. data/lib/datadog_api_client/v2/models/authn_mapping_team.rb +100 -0
  111. data/lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb +212 -0
  112. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +1 -1
  113. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +37 -54
  114. data/lib/datadog_api_client/v2/models/case.rb +150 -0
  115. data/lib/datadog_api_client/v2/models/case3rd_party_ticket_status.rb +28 -0
  116. data/lib/datadog_api_client/v2/models/case_assign.rb +119 -0
  117. data/lib/datadog_api_client/v2/models/case_assign_attributes.rb +98 -0
  118. data/lib/datadog_api_client/v2/models/case_assign_request.rb +98 -0
  119. data/lib/datadog_api_client/v2/models/case_attributes.rb +202 -0
  120. data/lib/datadog_api_client/v2/models/case_create.rb +129 -0
  121. data/lib/datadog_api_client/v2/models/case_create_attributes.rb +139 -0
  122. data/lib/datadog_api_client/v2/models/case_create_relationships.rb +116 -0
  123. data/lib/datadog_api_client/v2/models/case_create_request.rb +98 -0
  124. data/lib/datadog_api_client/v2/models/case_empty.rb +98 -0
  125. data/lib/datadog_api_client/v2/models/case_empty_request.rb +98 -0
  126. data/lib/datadog_api_client/v2/models/case_priority.rb +31 -0
  127. data/lib/datadog_api_client/v2/models/case_relationships.rb +120 -0
  128. data/lib/datadog_api_client/v2/models/case_resource_type.rb +26 -0
  129. data/lib/datadog_api_client/v2/models/case_response.rb +80 -0
  130. data/lib/datadog_api_client/v2/models/case_sortable_field.rb +28 -0
  131. data/lib/datadog_api_client/v2/models/case_status.rb +28 -0
  132. data/lib/datadog_api_client/v2/models/case_type.rb +26 -0
  133. data/lib/datadog_api_client/v2/models/case_update_priority.rb +119 -0
  134. data/lib/datadog_api_client/v2/models/case_update_priority_attributes.rb +98 -0
  135. data/lib/datadog_api_client/v2/models/case_update_priority_request.rb +98 -0
  136. data/lib/datadog_api_client/v2/models/case_update_status.rb +119 -0
  137. data/lib/datadog_api_client/{v1/models/usage_attribution_pagination.rb → v2/models/case_update_status_attributes.rb} +29 -51
  138. data/lib/datadog_api_client/v2/models/case_update_status_request.rb +98 -0
  139. data/lib/datadog_api_client/{v1/models/usage_attribution_metadata.rb → v2/models/cases_response.rb} +22 -22
  140. data/lib/datadog_api_client/v2/models/cases_response_meta.rb +80 -0
  141. data/lib/datadog_api_client/v2/models/cases_response_meta_pagination.rb +100 -0
  142. data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb +1 -1
  143. data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
  144. data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
  145. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +90 -0
  146. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +21 -1
  147. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_kill.rb +80 -0
  148. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +11 -1
  149. data/lib/datadog_api_client/v2/models/custom_destination_attribute_tags_restriction_list_type.rb +31 -0
  150. data/lib/datadog_api_client/v2/models/custom_destination_create_request.rb +80 -0
  151. data/lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb +193 -0
  152. data/lib/datadog_api_client/v2/models/custom_destination_create_request_definition.rb +119 -0
  153. data/lib/datadog_api_client/v2/models/custom_destination_elasticsearch_destination_auth.rb +119 -0
  154. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb +64 -0
  155. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch.rb +181 -0
  156. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch_type.rb +26 -0
  157. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http.rb +141 -0
  158. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http_type.rb +26 -0
  159. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb +141 -0
  160. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk_type.rb +26 -0
  161. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth.rb +63 -0
  162. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic.rb +140 -0
  163. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic_type.rb +26 -0
  164. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header.rb +140 -0
  165. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header_type.rb +26 -0
  166. data/lib/datadog_api_client/v2/models/custom_destination_response.rb +80 -0
  167. data/lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb +171 -0
  168. data/lib/datadog_api_client/v2/models/custom_destination_response_definition.rb +100 -0
  169. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb +64 -0
  170. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch.rb +181 -0
  171. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch_type.rb +26 -0
  172. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http.rb +141 -0
  173. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http_type.rb +26 -0
  174. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb +120 -0
  175. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk_type.rb +26 -0
  176. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth.rb +63 -0
  177. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic.rb +98 -0
  178. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic_type.rb +26 -0
  179. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header.rb +119 -0
  180. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header_type.rb +26 -0
  181. data/lib/datadog_api_client/v2/models/custom_destination_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/custom_destination_update_request.rb +80 -0
  183. data/lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb +169 -0
  184. data/lib/datadog_api_client/v2/models/custom_destination_update_request_definition.rb +129 -0
  185. data/lib/datadog_api_client/v2/models/custom_destinations_response.rb +82 -0
  186. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
  187. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +21 -20
  188. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +14 -1
  189. data/lib/datadog_api_client/v2/models/jira_issue.rb +90 -0
  190. data/lib/datadog_api_client/v2/models/jira_issue_result.rb +110 -0
  191. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +1 -12
  192. data/lib/datadog_api_client/v2/models/metric_asset_attributes.rb +80 -0
  193. data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationship.rb +90 -0
  194. data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationships.rb +82 -0
  195. data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationship.rb +90 -0
  196. data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationships.rb +82 -0
  197. data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationship.rb +90 -0
  198. data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationships.rb +82 -0
  199. data/lib/datadog_api_client/v2/models/metric_asset_response_data.rb +129 -0
  200. data/lib/datadog_api_client/v2/models/metric_asset_response_included.rb +65 -0
  201. data/lib/datadog_api_client/v2/models/metric_asset_response_relationships.rb +110 -0
  202. data/lib/datadog_api_client/v2/models/metric_asset_slo_relationship.rb +90 -0
  203. data/lib/datadog_api_client/v2/models/metric_asset_slo_relationships.rb +82 -0
  204. data/lib/datadog_api_client/v2/models/metric_assets_response.rb +92 -0
  205. data/lib/datadog_api_client/v2/models/metric_dashboard_asset.rb +129 -0
  206. data/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb +112 -0
  207. data/lib/datadog_api_client/v2/models/metric_dashboard_type.rb +26 -0
  208. data/lib/datadog_api_client/v2/models/metric_monitor_asset.rb +129 -0
  209. data/lib/datadog_api_client/v2/models/metric_monitor_type.rb +26 -0
  210. data/lib/datadog_api_client/v2/models/metric_notebook_asset.rb +129 -0
  211. data/lib/datadog_api_client/v2/models/metric_notebook_type.rb +26 -0
  212. data/lib/datadog_api_client/v2/models/metric_series.rb +1 -1
  213. data/lib/datadog_api_client/v2/models/metric_slo_asset.rb +129 -0
  214. data/lib/datadog_api_client/v2/models/metric_slo_type.rb +26 -0
  215. data/lib/datadog_api_client/{v1/models/usage_attribution_response.rb → v2/models/nullable_user_relationship.rb} +22 -26
  216. data/lib/datadog_api_client/v2/models/nullable_user_relationship_data.rb +119 -0
  217. data/lib/datadog_api_client/v2/models/project.rb +150 -0
  218. data/lib/datadog_api_client/v2/models/project_attributes.rb +90 -0
  219. data/lib/datadog_api_client/v2/models/project_create.rb +119 -0
  220. data/lib/datadog_api_client/v2/models/project_create_attributes.rb +119 -0
  221. data/lib/datadog_api_client/v2/models/project_create_request.rb +98 -0
  222. data/lib/datadog_api_client/v2/models/project_relationship.rb +98 -0
  223. data/lib/datadog_api_client/v2/models/project_relationship_data.rb +119 -0
  224. data/lib/datadog_api_client/v2/models/project_relationships.rb +90 -0
  225. data/lib/datadog_api_client/v2/models/project_resource_type.rb +26 -0
  226. data/lib/datadog_api_client/v2/models/project_response.rb +80 -0
  227. data/lib/datadog_api_client/v2/models/projects_response.rb +82 -0
  228. data/lib/datadog_api_client/v2/models/relationship_to_team.rb +80 -0
  229. data/lib/datadog_api_client/v2/models/relationship_to_team_data.rb +90 -0
  230. data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +183 -0
  231. data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +1 -1
  232. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
  233. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
  234. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
  235. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
  236. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +1 -1
  237. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
  238. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +13 -14
  239. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +11 -1
  240. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +1 -1
  241. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +13 -1
  242. data/lib/datadog_api_client/v2/models/service_now_ticket.rb +90 -0
  243. data/lib/datadog_api_client/v2/models/service_now_ticket_result.rb +80 -0
  244. data/lib/datadog_api_client/v2/models/slo_report_create_request.rb +98 -0
  245. data/lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb +160 -0
  246. data/lib/datadog_api_client/v2/models/slo_report_create_request_data.rb +98 -0
  247. data/lib/datadog_api_client/v2/models/slo_report_interval.rb +27 -0
  248. data/lib/datadog_api_client/v2/models/slo_report_post_response.rb +80 -0
  249. data/lib/datadog_api_client/v2/models/slo_report_post_response_data.rb +90 -0
  250. data/lib/datadog_api_client/v2/models/slo_report_status.rb +29 -0
  251. data/lib/datadog_api_client/v2/models/slo_report_status_get_response.rb +80 -0
  252. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb +80 -0
  253. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb +100 -0
  254. data/lib/datadog_api_client/v2/models/timeseries_response_series.rb +8 -0
  255. data/lib/datadog_api_client/v2/models/user_relationship_data.rb +119 -0
  256. data/lib/datadog_api_client/v2/models/user_resource_type.rb +26 -0
  257. data/lib/datadog_api_client/v2/models/user_team_included.rb +62 -0
  258. data/lib/datadog_api_client/v2/models/user_team_response.rb +16 -4
  259. data/lib/datadog_api_client/v2/models/user_teams_response.rb +13 -1
  260. data/lib/datadog_api_client/v2/models/users_relationship.rb +100 -0
  261. data/lib/datadog_api_client/version.rb +1 -1
  262. metadata +196 -33
  263. data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -9
  264. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -152
  265. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +0 -61
  266. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +0 -72
  267. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +0 -590
@@ -1,590 +0,0 @@
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://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
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
- # Fields in Usage Summary by tag(s).
21
- class UsageAttributionValues
22
- include BaseGenericModel
23
-
24
- # The percentage of synthetic API test usage by tag(s).
25
- attr_accessor :api_percentage
26
-
27
- # The synthetic API test usage by tag(s).
28
- attr_accessor :api_usage
29
-
30
- # The percentage of APM ECS Fargate task usage by tag(s).
31
- attr_accessor :apm_fargate_percentage
32
-
33
- # The APM ECS Fargate task usage by tag(s).
34
- attr_accessor :apm_fargate_usage
35
-
36
- # The percentage of APM host usage by tag(s).
37
- attr_accessor :apm_host_percentage
38
-
39
- # The APM host usage by tag(s).
40
- attr_accessor :apm_host_usage
41
-
42
- # The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
43
- attr_accessor :appsec_fargate_percentage
44
-
45
- # The Application Security Monitoring ECS Fargate task usage by tag(s).
46
- attr_accessor :appsec_fargate_usage
47
-
48
- # The percentage of Application Security Monitoring host usage by tag(s).
49
- attr_accessor :appsec_percentage
50
-
51
- # The Application Security Monitoring host usage by tag(s).
52
- attr_accessor :appsec_usage
53
-
54
- # The percentage of synthetic browser test usage by tag(s).
55
- attr_accessor :browser_percentage
56
-
57
- # The synthetic browser test usage by tag(s).
58
- attr_accessor :browser_usage
59
-
60
- # The percentage of container usage by tag(s).
61
- attr_accessor :container_percentage
62
-
63
- # The container usage by tag(s).
64
- attr_accessor :container_usage
65
-
66
- # The percentage of Cloud Security Management Pro container usage by tag(s)
67
- attr_accessor :cspm_container_percentage
68
-
69
- # The Cloud Security Management Pro container usage by tag(s)
70
- attr_accessor :cspm_container_usage
71
-
72
- # The percentage of Cloud Security Management Pro host usage by tag(s)
73
- attr_accessor :cspm_host_percentage
74
-
75
- # The Cloud Security Management Pro host usage by tag(s)
76
- attr_accessor :cspm_host_usage
77
-
78
- # The percentage of custom metrics usage by tag(s).
79
- attr_accessor :custom_timeseries_percentage
80
-
81
- # The custom metrics usage by tag(s).
82
- attr_accessor :custom_timeseries_usage
83
-
84
- # The percentage of Cloud Workload Security container usage by tag(s)
85
- attr_accessor :cws_container_percentage
86
-
87
- # The Cloud Workload Security container usage by tag(s)
88
- attr_accessor :cws_container_usage
89
-
90
- # The percentage of Cloud Workload Security host usage by tag(s)
91
- attr_accessor :cws_host_percentage
92
-
93
- # The Cloud Workload Security host usage by tag(s)
94
- attr_accessor :cws_host_usage
95
-
96
- # The percentage of Database Monitoring host usage by tag(s).
97
- attr_accessor :dbm_hosts_percentage
98
-
99
- # The Database Monitoring host usage by tag(s).
100
- attr_accessor :dbm_hosts_usage
101
-
102
- # The percentage of Database Monitoring normalized queries usage by tag(s).
103
- attr_accessor :dbm_queries_percentage
104
-
105
- # The Database Monitoring normalized queries usage by tag(s).
106
- attr_accessor :dbm_queries_usage
107
-
108
- # The percentage of estimated live indexed logs usage by tag(s).
109
- attr_accessor :estimated_indexed_logs_percentage
110
-
111
- # The estimated live indexed logs usage by tag(s).
112
- attr_accessor :estimated_indexed_logs_usage
113
-
114
- # The percentage of estimated indexed spans usage by tag(s).
115
- attr_accessor :estimated_indexed_spans_percentage
116
-
117
- # The estimated indexed spans usage by tag(s).
118
- attr_accessor :estimated_indexed_spans_usage
119
-
120
- # The percentage of estimated live ingested logs usage by tag(s).
121
- attr_accessor :estimated_ingested_logs_percentage
122
-
123
- # The estimated live ingested logs usage by tag(s).
124
- attr_accessor :estimated_ingested_logs_usage
125
-
126
- # The percentage of estimated ingested spans usage by tag(s).
127
- attr_accessor :estimated_ingested_spans_percentage
128
-
129
- # The estimated ingested spans usage by tag(s).
130
- attr_accessor :estimated_ingested_spans_usage
131
-
132
- # The percentage of estimated rum sessions usage by tag(s).
133
- attr_accessor :estimated_rum_sessions_percentage
134
-
135
- # The estimated rum sessions usage by tag(s).
136
- attr_accessor :estimated_rum_sessions_usage
137
-
138
- # The percentage of infrastructure host usage by tag(s).
139
- attr_accessor :infra_host_percentage
140
-
141
- # The infrastructure host usage by tag(s).
142
- attr_accessor :infra_host_usage
143
-
144
- # The percentage of Lambda function usage by tag(s).
145
- attr_accessor :lambda_functions_percentage
146
-
147
- # The Lambda function usage by tag(s).
148
- attr_accessor :lambda_functions_usage
149
-
150
- # The percentage of Lambda invocation usage by tag(s).
151
- attr_accessor :lambda_invocations_percentage
152
-
153
- # The Lambda invocation usage by tag(s).
154
- attr_accessor :lambda_invocations_usage
155
-
156
- # The percentage of network host usage by tag(s).
157
- attr_accessor :npm_host_percentage
158
-
159
- # The network host usage by tag(s).
160
- attr_accessor :npm_host_usage
161
-
162
- # The percentage of profiled containers usage by tag(s).
163
- attr_accessor :profiled_container_percentage
164
-
165
- # The profiled container usage by tag(s).
166
- attr_accessor :profiled_container_usage
167
-
168
- # The percentage of profiled hosts usage by tag(s).
169
- attr_accessor :profiled_hosts_percentage
170
-
171
- # The profiled host usage by tag(s).
172
- attr_accessor :profiled_hosts_usage
173
-
174
- # The percentage of network device usage by tag(s).
175
- attr_accessor :snmp_percentage
176
-
177
- # The network device usage by tag(s).
178
- attr_accessor :snmp_usage
179
-
180
- # Attribute mapping from ruby-style variable name to JSON key.
181
- # @!visibility private
182
- def self.attribute_map
183
- {
184
- :'api_percentage' => :'api_percentage',
185
- :'api_usage' => :'api_usage',
186
- :'apm_fargate_percentage' => :'apm_fargate_percentage',
187
- :'apm_fargate_usage' => :'apm_fargate_usage',
188
- :'apm_host_percentage' => :'apm_host_percentage',
189
- :'apm_host_usage' => :'apm_host_usage',
190
- :'appsec_fargate_percentage' => :'appsec_fargate_percentage',
191
- :'appsec_fargate_usage' => :'appsec_fargate_usage',
192
- :'appsec_percentage' => :'appsec_percentage',
193
- :'appsec_usage' => :'appsec_usage',
194
- :'browser_percentage' => :'browser_percentage',
195
- :'browser_usage' => :'browser_usage',
196
- :'container_percentage' => :'container_percentage',
197
- :'container_usage' => :'container_usage',
198
- :'cspm_container_percentage' => :'cspm_container_percentage',
199
- :'cspm_container_usage' => :'cspm_container_usage',
200
- :'cspm_host_percentage' => :'cspm_host_percentage',
201
- :'cspm_host_usage' => :'cspm_host_usage',
202
- :'custom_timeseries_percentage' => :'custom_timeseries_percentage',
203
- :'custom_timeseries_usage' => :'custom_timeseries_usage',
204
- :'cws_container_percentage' => :'cws_container_percentage',
205
- :'cws_container_usage' => :'cws_container_usage',
206
- :'cws_host_percentage' => :'cws_host_percentage',
207
- :'cws_host_usage' => :'cws_host_usage',
208
- :'dbm_hosts_percentage' => :'dbm_hosts_percentage',
209
- :'dbm_hosts_usage' => :'dbm_hosts_usage',
210
- :'dbm_queries_percentage' => :'dbm_queries_percentage',
211
- :'dbm_queries_usage' => :'dbm_queries_usage',
212
- :'estimated_indexed_logs_percentage' => :'estimated_indexed_logs_percentage',
213
- :'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage',
214
- :'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage',
215
- :'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage',
216
- :'estimated_ingested_logs_percentage' => :'estimated_ingested_logs_percentage',
217
- :'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage',
218
- :'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage',
219
- :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage',
220
- :'estimated_rum_sessions_percentage' => :'estimated_rum_sessions_percentage',
221
- :'estimated_rum_sessions_usage' => :'estimated_rum_sessions_usage',
222
- :'infra_host_percentage' => :'infra_host_percentage',
223
- :'infra_host_usage' => :'infra_host_usage',
224
- :'lambda_functions_percentage' => :'lambda_functions_percentage',
225
- :'lambda_functions_usage' => :'lambda_functions_usage',
226
- :'lambda_invocations_percentage' => :'lambda_invocations_percentage',
227
- :'lambda_invocations_usage' => :'lambda_invocations_usage',
228
- :'npm_host_percentage' => :'npm_host_percentage',
229
- :'npm_host_usage' => :'npm_host_usage',
230
- :'profiled_container_percentage' => :'profiled_container_percentage',
231
- :'profiled_container_usage' => :'profiled_container_usage',
232
- :'profiled_hosts_percentage' => :'profiled_hosts_percentage',
233
- :'profiled_hosts_usage' => :'profiled_hosts_usage',
234
- :'snmp_percentage' => :'snmp_percentage',
235
- :'snmp_usage' => :'snmp_usage'
236
- }
237
- end
238
-
239
- # Attribute type mapping.
240
- # @!visibility private
241
- def self.openapi_types
242
- {
243
- :'api_percentage' => :'Float',
244
- :'api_usage' => :'Float',
245
- :'apm_fargate_percentage' => :'Float',
246
- :'apm_fargate_usage' => :'Float',
247
- :'apm_host_percentage' => :'Float',
248
- :'apm_host_usage' => :'Float',
249
- :'appsec_fargate_percentage' => :'Float',
250
- :'appsec_fargate_usage' => :'Float',
251
- :'appsec_percentage' => :'Float',
252
- :'appsec_usage' => :'Float',
253
- :'browser_percentage' => :'Float',
254
- :'browser_usage' => :'Float',
255
- :'container_percentage' => :'Float',
256
- :'container_usage' => :'Float',
257
- :'cspm_container_percentage' => :'Float',
258
- :'cspm_container_usage' => :'Float',
259
- :'cspm_host_percentage' => :'Float',
260
- :'cspm_host_usage' => :'Float',
261
- :'custom_timeseries_percentage' => :'Float',
262
- :'custom_timeseries_usage' => :'Float',
263
- :'cws_container_percentage' => :'Float',
264
- :'cws_container_usage' => :'Float',
265
- :'cws_host_percentage' => :'Float',
266
- :'cws_host_usage' => :'Float',
267
- :'dbm_hosts_percentage' => :'Float',
268
- :'dbm_hosts_usage' => :'Float',
269
- :'dbm_queries_percentage' => :'Float',
270
- :'dbm_queries_usage' => :'Float',
271
- :'estimated_indexed_logs_percentage' => :'Float',
272
- :'estimated_indexed_logs_usage' => :'Float',
273
- :'estimated_indexed_spans_percentage' => :'Float',
274
- :'estimated_indexed_spans_usage' => :'Float',
275
- :'estimated_ingested_logs_percentage' => :'Float',
276
- :'estimated_ingested_logs_usage' => :'Float',
277
- :'estimated_ingested_spans_percentage' => :'Float',
278
- :'estimated_ingested_spans_usage' => :'Float',
279
- :'estimated_rum_sessions_percentage' => :'Float',
280
- :'estimated_rum_sessions_usage' => :'Float',
281
- :'infra_host_percentage' => :'Float',
282
- :'infra_host_usage' => :'Float',
283
- :'lambda_functions_percentage' => :'Float',
284
- :'lambda_functions_usage' => :'Float',
285
- :'lambda_invocations_percentage' => :'Float',
286
- :'lambda_invocations_usage' => :'Float',
287
- :'npm_host_percentage' => :'Float',
288
- :'npm_host_usage' => :'Float',
289
- :'profiled_container_percentage' => :'Float',
290
- :'profiled_container_usage' => :'Float',
291
- :'profiled_hosts_percentage' => :'Float',
292
- :'profiled_hosts_usage' => :'Float',
293
- :'snmp_percentage' => :'Float',
294
- :'snmp_usage' => :'Float'
295
- }
296
- end
297
-
298
- # Initializes the object
299
- # @param attributes [Hash] Model attributes in the form of hash
300
- # @!visibility private
301
- def initialize(attributes = {})
302
- if (!attributes.is_a?(Hash))
303
- fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageAttributionValues` initialize method"
304
- end
305
-
306
- # check to see if the attribute exists and convert string to symbol for hash key
307
- attributes = attributes.each_with_object({}) { |(k, v), h|
308
- if (!self.class.attribute_map.key?(k.to_sym))
309
- fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageAttributionValues`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
310
- end
311
- h[k.to_sym] = v
312
- }
313
-
314
- if attributes.key?(:'api_percentage')
315
- self.api_percentage = attributes[:'api_percentage']
316
- end
317
-
318
- if attributes.key?(:'api_usage')
319
- self.api_usage = attributes[:'api_usage']
320
- end
321
-
322
- if attributes.key?(:'apm_fargate_percentage')
323
- self.apm_fargate_percentage = attributes[:'apm_fargate_percentage']
324
- end
325
-
326
- if attributes.key?(:'apm_fargate_usage')
327
- self.apm_fargate_usage = attributes[:'apm_fargate_usage']
328
- end
329
-
330
- if attributes.key?(:'apm_host_percentage')
331
- self.apm_host_percentage = attributes[:'apm_host_percentage']
332
- end
333
-
334
- if attributes.key?(:'apm_host_usage')
335
- self.apm_host_usage = attributes[:'apm_host_usage']
336
- end
337
-
338
- if attributes.key?(:'appsec_fargate_percentage')
339
- self.appsec_fargate_percentage = attributes[:'appsec_fargate_percentage']
340
- end
341
-
342
- if attributes.key?(:'appsec_fargate_usage')
343
- self.appsec_fargate_usage = attributes[:'appsec_fargate_usage']
344
- end
345
-
346
- if attributes.key?(:'appsec_percentage')
347
- self.appsec_percentage = attributes[:'appsec_percentage']
348
- end
349
-
350
- if attributes.key?(:'appsec_usage')
351
- self.appsec_usage = attributes[:'appsec_usage']
352
- end
353
-
354
- if attributes.key?(:'browser_percentage')
355
- self.browser_percentage = attributes[:'browser_percentage']
356
- end
357
-
358
- if attributes.key?(:'browser_usage')
359
- self.browser_usage = attributes[:'browser_usage']
360
- end
361
-
362
- if attributes.key?(:'container_percentage')
363
- self.container_percentage = attributes[:'container_percentage']
364
- end
365
-
366
- if attributes.key?(:'container_usage')
367
- self.container_usage = attributes[:'container_usage']
368
- end
369
-
370
- if attributes.key?(:'cspm_container_percentage')
371
- self.cspm_container_percentage = attributes[:'cspm_container_percentage']
372
- end
373
-
374
- if attributes.key?(:'cspm_container_usage')
375
- self.cspm_container_usage = attributes[:'cspm_container_usage']
376
- end
377
-
378
- if attributes.key?(:'cspm_host_percentage')
379
- self.cspm_host_percentage = attributes[:'cspm_host_percentage']
380
- end
381
-
382
- if attributes.key?(:'cspm_host_usage')
383
- self.cspm_host_usage = attributes[:'cspm_host_usage']
384
- end
385
-
386
- if attributes.key?(:'custom_timeseries_percentage')
387
- self.custom_timeseries_percentage = attributes[:'custom_timeseries_percentage']
388
- end
389
-
390
- if attributes.key?(:'custom_timeseries_usage')
391
- self.custom_timeseries_usage = attributes[:'custom_timeseries_usage']
392
- end
393
-
394
- if attributes.key?(:'cws_container_percentage')
395
- self.cws_container_percentage = attributes[:'cws_container_percentage']
396
- end
397
-
398
- if attributes.key?(:'cws_container_usage')
399
- self.cws_container_usage = attributes[:'cws_container_usage']
400
- end
401
-
402
- if attributes.key?(:'cws_host_percentage')
403
- self.cws_host_percentage = attributes[:'cws_host_percentage']
404
- end
405
-
406
- if attributes.key?(:'cws_host_usage')
407
- self.cws_host_usage = attributes[:'cws_host_usage']
408
- end
409
-
410
- if attributes.key?(:'dbm_hosts_percentage')
411
- self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
412
- end
413
-
414
- if attributes.key?(:'dbm_hosts_usage')
415
- self.dbm_hosts_usage = attributes[:'dbm_hosts_usage']
416
- end
417
-
418
- if attributes.key?(:'dbm_queries_percentage')
419
- self.dbm_queries_percentage = attributes[:'dbm_queries_percentage']
420
- end
421
-
422
- if attributes.key?(:'dbm_queries_usage')
423
- self.dbm_queries_usage = attributes[:'dbm_queries_usage']
424
- end
425
-
426
- if attributes.key?(:'estimated_indexed_logs_percentage')
427
- self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage']
428
- end
429
-
430
- if attributes.key?(:'estimated_indexed_logs_usage')
431
- self.estimated_indexed_logs_usage = attributes[:'estimated_indexed_logs_usage']
432
- end
433
-
434
- if attributes.key?(:'estimated_indexed_spans_percentage')
435
- self.estimated_indexed_spans_percentage = attributes[:'estimated_indexed_spans_percentage']
436
- end
437
-
438
- if attributes.key?(:'estimated_indexed_spans_usage')
439
- self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage']
440
- end
441
-
442
- if attributes.key?(:'estimated_ingested_logs_percentage')
443
- self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage']
444
- end
445
-
446
- if attributes.key?(:'estimated_ingested_logs_usage')
447
- self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage']
448
- end
449
-
450
- if attributes.key?(:'estimated_ingested_spans_percentage')
451
- self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage']
452
- end
453
-
454
- if attributes.key?(:'estimated_ingested_spans_usage')
455
- self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage']
456
- end
457
-
458
- if attributes.key?(:'estimated_rum_sessions_percentage')
459
- self.estimated_rum_sessions_percentage = attributes[:'estimated_rum_sessions_percentage']
460
- end
461
-
462
- if attributes.key?(:'estimated_rum_sessions_usage')
463
- self.estimated_rum_sessions_usage = attributes[:'estimated_rum_sessions_usage']
464
- end
465
-
466
- if attributes.key?(:'infra_host_percentage')
467
- self.infra_host_percentage = attributes[:'infra_host_percentage']
468
- end
469
-
470
- if attributes.key?(:'infra_host_usage')
471
- self.infra_host_usage = attributes[:'infra_host_usage']
472
- end
473
-
474
- if attributes.key?(:'lambda_functions_percentage')
475
- self.lambda_functions_percentage = attributes[:'lambda_functions_percentage']
476
- end
477
-
478
- if attributes.key?(:'lambda_functions_usage')
479
- self.lambda_functions_usage = attributes[:'lambda_functions_usage']
480
- end
481
-
482
- if attributes.key?(:'lambda_invocations_percentage')
483
- self.lambda_invocations_percentage = attributes[:'lambda_invocations_percentage']
484
- end
485
-
486
- if attributes.key?(:'lambda_invocations_usage')
487
- self.lambda_invocations_usage = attributes[:'lambda_invocations_usage']
488
- end
489
-
490
- if attributes.key?(:'npm_host_percentage')
491
- self.npm_host_percentage = attributes[:'npm_host_percentage']
492
- end
493
-
494
- if attributes.key?(:'npm_host_usage')
495
- self.npm_host_usage = attributes[:'npm_host_usage']
496
- end
497
-
498
- if attributes.key?(:'profiled_container_percentage')
499
- self.profiled_container_percentage = attributes[:'profiled_container_percentage']
500
- end
501
-
502
- if attributes.key?(:'profiled_container_usage')
503
- self.profiled_container_usage = attributes[:'profiled_container_usage']
504
- end
505
-
506
- if attributes.key?(:'profiled_hosts_percentage')
507
- self.profiled_hosts_percentage = attributes[:'profiled_hosts_percentage']
508
- end
509
-
510
- if attributes.key?(:'profiled_hosts_usage')
511
- self.profiled_hosts_usage = attributes[:'profiled_hosts_usage']
512
- end
513
-
514
- if attributes.key?(:'snmp_percentage')
515
- self.snmp_percentage = attributes[:'snmp_percentage']
516
- end
517
-
518
- if attributes.key?(:'snmp_usage')
519
- self.snmp_usage = attributes[:'snmp_usage']
520
- end
521
- end
522
-
523
- # Checks equality by comparing each attribute.
524
- # @param o [Object] Object to be compared
525
- # @!visibility private
526
- def ==(o)
527
- return true if self.equal?(o)
528
- self.class == o.class &&
529
- api_percentage == o.api_percentage &&
530
- api_usage == o.api_usage &&
531
- apm_fargate_percentage == o.apm_fargate_percentage &&
532
- apm_fargate_usage == o.apm_fargate_usage &&
533
- apm_host_percentage == o.apm_host_percentage &&
534
- apm_host_usage == o.apm_host_usage &&
535
- appsec_fargate_percentage == o.appsec_fargate_percentage &&
536
- appsec_fargate_usage == o.appsec_fargate_usage &&
537
- appsec_percentage == o.appsec_percentage &&
538
- appsec_usage == o.appsec_usage &&
539
- browser_percentage == o.browser_percentage &&
540
- browser_usage == o.browser_usage &&
541
- container_percentage == o.container_percentage &&
542
- container_usage == o.container_usage &&
543
- cspm_container_percentage == o.cspm_container_percentage &&
544
- cspm_container_usage == o.cspm_container_usage &&
545
- cspm_host_percentage == o.cspm_host_percentage &&
546
- cspm_host_usage == o.cspm_host_usage &&
547
- custom_timeseries_percentage == o.custom_timeseries_percentage &&
548
- custom_timeseries_usage == o.custom_timeseries_usage &&
549
- cws_container_percentage == o.cws_container_percentage &&
550
- cws_container_usage == o.cws_container_usage &&
551
- cws_host_percentage == o.cws_host_percentage &&
552
- cws_host_usage == o.cws_host_usage &&
553
- dbm_hosts_percentage == o.dbm_hosts_percentage &&
554
- dbm_hosts_usage == o.dbm_hosts_usage &&
555
- dbm_queries_percentage == o.dbm_queries_percentage &&
556
- dbm_queries_usage == o.dbm_queries_usage &&
557
- estimated_indexed_logs_percentage == o.estimated_indexed_logs_percentage &&
558
- estimated_indexed_logs_usage == o.estimated_indexed_logs_usage &&
559
- estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage &&
560
- estimated_indexed_spans_usage == o.estimated_indexed_spans_usage &&
561
- estimated_ingested_logs_percentage == o.estimated_ingested_logs_percentage &&
562
- estimated_ingested_logs_usage == o.estimated_ingested_logs_usage &&
563
- estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage &&
564
- estimated_ingested_spans_usage == o.estimated_ingested_spans_usage &&
565
- estimated_rum_sessions_percentage == o.estimated_rum_sessions_percentage &&
566
- estimated_rum_sessions_usage == o.estimated_rum_sessions_usage &&
567
- infra_host_percentage == o.infra_host_percentage &&
568
- infra_host_usage == o.infra_host_usage &&
569
- lambda_functions_percentage == o.lambda_functions_percentage &&
570
- lambda_functions_usage == o.lambda_functions_usage &&
571
- lambda_invocations_percentage == o.lambda_invocations_percentage &&
572
- lambda_invocations_usage == o.lambda_invocations_usage &&
573
- npm_host_percentage == o.npm_host_percentage &&
574
- npm_host_usage == o.npm_host_usage &&
575
- profiled_container_percentage == o.profiled_container_percentage &&
576
- profiled_container_usage == o.profiled_container_usage &&
577
- profiled_hosts_percentage == o.profiled_hosts_percentage &&
578
- profiled_hosts_usage == o.profiled_hosts_usage &&
579
- snmp_percentage == o.snmp_percentage &&
580
- snmp_usage == o.snmp_usage
581
- end
582
-
583
- # Calculates hash code according to all attributes.
584
- # @return [Integer] Hash code
585
- # @!visibility private
586
- def hash
587
- [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash
588
- end
589
- end
590
- end