datadog_api_client 2.26.1 → 2.28.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +0 -3
  4. data/.generator/schemas/v1/openapi.yaml +2123 -212
  5. data/.generator/schemas/v2/openapi.yaml +3082 -240
  6. data/.generator/src/generator/formatter.py +3 -44
  7. data/.generator/src/generator/keywords.json +43 -0
  8. data/.generator/src/generator/templates/api.j2 +4 -0
  9. data/.generator/src/generator/templates/api_client.j2 +1 -0
  10. data/.github/workflows/approved_status.yml +4 -0
  11. data/.github/workflows/changelog.yml +5 -0
  12. data/.github/workflows/codeql-analysis.yml +4 -0
  13. data/.github/workflows/docs.yml +3 -0
  14. data/.github/workflows/labeler.yml +5 -0
  15. data/.github/workflows/prepare_release.yml +4 -0
  16. data/.github/workflows/publish.yml +5 -0
  17. data/.github/workflows/release.yml +4 -0
  18. data/.github/workflows/stale.yml +6 -0
  19. data/.github/workflows/test.yml +3 -0
  20. data/.github/workflows/test_integration.yml +3 -0
  21. data/CHANGELOG.md +66 -0
  22. data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
  23. data/examples/v1/dashboards/CreateDashboard_1433408735.rb +44 -0
  24. data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
  25. data/examples/v1/dashboards/CreateDashboard_794302680.rb +152 -0
  26. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
  27. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
  28. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
  29. data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
  30. data/examples/v1/monitors/ValidateMonitor.rb +0 -1
  31. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
  32. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
  33. data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +1 -1
  34. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
  35. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  36. data/examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.rb +1 -1
  37. data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +27 -0
  38. data/examples/v1/synthetics/FetchUptimes.rb +13 -0
  39. data/examples/v1/synthetics/GetMobileTest.rb +8 -0
  40. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
  41. data/examples/v1/synthetics/UpdateMobileTest.rb +30 -0
  42. data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
  43. data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
  44. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
  45. data/examples/v2/incidents/CreateIncidentType.rb +19 -0
  46. data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
  47. data/examples/v2/incidents/GetIncidentType.rb +8 -0
  48. data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
  49. data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
  50. data/examples/v2/logs/AggregateLogs_2955613758.rb +0 -1
  51. data/examples/v2/metrics/QueryScalarData.rb +0 -3
  52. data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
  53. data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
  54. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
  55. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
  56. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle_1540689753.rb +17 -0
  57. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
  58. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
  59. data/examples/v2/microsoft-teams-integration/GetChannelByName.rb +5 -0
  60. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
  61. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
  62. data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles.rb +5 -0
  63. data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles_769592979.rb +5 -0
  64. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
  65. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
  66. data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
  67. data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
  68. data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
  69. data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
  70. data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
  71. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +9 -0
  72. data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
  73. data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
  74. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
  75. data/lib/datadog_api_client/api_client.rb +1 -0
  76. data/lib/datadog_api_client/configuration.rb +6 -2
  77. data/lib/datadog_api_client/inflector.rb +109 -5
  78. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
  79. data/lib/datadog_api_client/v1/api/synthetics_api.rb +274 -0
  80. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
  81. data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
  82. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -3
  83. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  84. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -6
  85. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -61
  86. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
  88. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
  89. data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
  90. data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
  91. data/lib/datadog_api_client/v1/models/synthetics_fetch_uptimes_payload.rb +167 -0
  92. data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +229 -0
  93. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
  94. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
  95. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
  96. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
  97. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
  98. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
  99. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
  100. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
  101. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_positions_items.rb +115 -0
  102. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
  103. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_variable.rb +144 -0
  104. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_type.rb +42 -0
  105. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +263 -0
  106. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +117 -0
  107. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +380 -0
  108. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_type.rb +26 -0
  109. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +173 -0
  110. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application_reference_type.rb +27 -0
  111. data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
  112. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
  113. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
  114. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
  115. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
  116. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options_notification_preset_name.rb +29 -0
  117. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
  118. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
  119. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
  120. data/lib/datadog_api_client/v1/models/synthetics_test_request_port.rb +63 -0
  121. data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding.rb +117 -0
  122. data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding_relation.rb +27 -0
  123. data/lib/datadog_api_client/v1/models/synthetics_test_uptime.rb +135 -0
  124. data/lib/datadog_api_client/v1/models/synthetics_uptime.rb +161 -0
  125. data/lib/datadog_api_client/v1/models/table_widget_request.rb +16 -4
  126. data/lib/datadog_api_client/v1/models/table_widget_text_format_match.rb +144 -0
  127. data/lib/datadog_api_client/v1/models/table_widget_text_format_match_type.rb +31 -0
  128. data/lib/datadog_api_client/v1/models/table_widget_text_format_palette.rb +36 -0
  129. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace.rb +63 -0
  130. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all.rb +144 -0
  131. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all_type.rb +26 -0
  132. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring.rb +165 -0
  133. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring_type.rb +26 -0
  134. data/lib/datadog_api_client/v1/models/table_widget_text_format_rule.rb +163 -0
  135. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
  136. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +51 -1
  137. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +51 -1
  138. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +51 -1
  139. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +3 -3
  140. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
  141. data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
  142. data/lib/datadog_api_client/v2/api/incidents_api.rb +362 -1
  143. data/lib/datadog_api_client/v2/api/metrics_api.rb +5 -17
  144. data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +434 -0
  145. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +3 -3
  146. data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
  147. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
  148. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
  149. data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
  150. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
  151. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
  152. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
  153. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
  154. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
  155. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
  156. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
  157. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
  158. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
  159. data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
  160. data/lib/datadog_api_client/v2/models/domain_allowlist_attributes.rb +117 -0
  161. data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
  162. data/lib/datadog_api_client/v2/models/domain_allowlist_response.rb +105 -0
  163. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
  164. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
  165. data/lib/datadog_api_client/v2/models/domain_allowlist_type.rb +26 -0
  166. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
  167. data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
  168. data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
  169. data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
  170. data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
  171. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
  172. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
  173. data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
  174. data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
  175. data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
  176. data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
  177. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
  178. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
  179. data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
  180. data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
  181. data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
  182. data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
  183. data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
  184. data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
  185. data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
  186. data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
  187. data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
  188. data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
  189. data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
  190. data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
  191. data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
  192. data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
  193. data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
  194. data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
  195. data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
  196. data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
  197. data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
  198. data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
  199. data/lib/datadog_api_client/v2/models/fastly_services_response.rb +1 -1
  200. data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
  201. data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
  202. data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
  203. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
  204. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  205. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
  206. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +1 -1
  207. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  208. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  209. data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
  210. data/lib/datadog_api_client/v2/models/incident_type_create_data.rb +144 -0
  211. data/lib/datadog_api_client/v2/models/incident_type_create_request.rb +123 -0
  212. data/lib/datadog_api_client/v2/models/incident_type_list_response.rb +125 -0
  213. data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
  214. data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
  215. data/lib/datadog_api_client/v2/models/incident_type_patch_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/incident_type_response.rb +123 -0
  217. data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
  218. data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
  219. data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
  220. data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
  221. data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
  222. data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
  223. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
  224. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +1 -1
  225. data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_type_category.rb +27 -0
  226. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +1 -1
  227. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_attributes.rb +165 -0
  228. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_data.rb +147 -0
  229. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_type.rb +26 -0
  230. data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
  231. data/lib/datadog_api_client/v2/models/microsoft_teams_get_channel_by_name_response.rb +105 -0
  232. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_attributes.rb +186 -0
  233. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_attributes.rb +249 -0
  234. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_data.rb +147 -0
  235. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
  236. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_attributes.rb +202 -0
  237. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_data.rb +144 -0
  238. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
  239. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response_data.rb +147 -0
  240. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
  241. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
  242. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
  243. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
  244. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
  245. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
  246. data/lib/datadog_api_client/v2/models/powerpack_template_variable.rb +35 -4
  247. data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
  248. data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
  249. data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
  250. data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
  251. data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
  252. data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
  253. data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
  254. data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
  255. data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
  256. data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
  257. data/lib/datadog_api_client/v2/models/rum_metric_response.rb +105 -0
  258. data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
  259. data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
  260. data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
  261. data/lib/datadog_api_client/v2/models/rum_metric_response_filter.rb +105 -0
  262. data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
  263. data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → rum_metric_response_uniqueness.rb} +11 -21
  264. data/lib/datadog_api_client/v2/models/rum_metric_type.rb +26 -0
  265. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
  266. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
  267. data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
  268. data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
  269. data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
  270. data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
  271. data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
  272. data/lib/datadog_api_client/v2/models/security_monitoring_reference_table.rb +145 -0
  273. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
  274. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
  275. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +13 -1
  276. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  277. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +13 -1
  278. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
  279. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
  280. data/lib/datadog_api_client/v2/models/team_update_attributes.rb +1 -26
  281. data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
  282. data/lib/datadog_api_client/version.rb +1 -1
  283. metadata +145 -8
  284. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
@@ -0,0 +1,145 @@
1
+ =begin
2
+ #Datadog API V2 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::V2
20
+ # Reference table for the rule.
21
+ class SecurityMonitoringReferenceTable
22
+ include BaseGenericModel
23
+
24
+ # Whether to include or exclude the matched values.
25
+ attr_accessor :check_presence
26
+
27
+ # The name of the column in the reference table.
28
+ attr_accessor :column_name
29
+
30
+ # The field in the log to match against the reference table.
31
+ attr_accessor :log_field_path
32
+
33
+ # The name of the rule query to apply the reference table to.
34
+ attr_accessor :rule_query_name
35
+
36
+ # The name of the reference table.
37
+ attr_accessor :table_name
38
+
39
+ attr_accessor :additional_properties
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ # @!visibility private
43
+ def self.attribute_map
44
+ {
45
+ :'check_presence' => :'checkPresence',
46
+ :'column_name' => :'columnName',
47
+ :'log_field_path' => :'logFieldPath',
48
+ :'rule_query_name' => :'ruleQueryName',
49
+ :'table_name' => :'tableName'
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ # @!visibility private
55
+ def self.openapi_types
56
+ {
57
+ :'check_presence' => :'Boolean',
58
+ :'column_name' => :'String',
59
+ :'log_field_path' => :'String',
60
+ :'rule_query_name' => :'String',
61
+ :'table_name' => :'String'
62
+ }
63
+ end
64
+
65
+ # Initializes the object
66
+ # @param attributes [Hash] Model attributes in the form of hash
67
+ # @!visibility private
68
+ def initialize(attributes = {})
69
+ if (!attributes.is_a?(Hash))
70
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::SecurityMonitoringReferenceTable` initialize method"
71
+ end
72
+
73
+ self.additional_properties = {}
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ attributes = attributes.each_with_object({}) { |(k, v), h|
76
+ if (!self.class.attribute_map.key?(k.to_sym))
77
+ self.additional_properties[k.to_sym] = v
78
+ else
79
+ h[k.to_sym] = v
80
+ end
81
+ }
82
+
83
+ if attributes.key?(:'check_presence')
84
+ self.check_presence = attributes[:'check_presence']
85
+ end
86
+
87
+ if attributes.key?(:'column_name')
88
+ self.column_name = attributes[:'column_name']
89
+ end
90
+
91
+ if attributes.key?(:'log_field_path')
92
+ self.log_field_path = attributes[:'log_field_path']
93
+ end
94
+
95
+ if attributes.key?(:'rule_query_name')
96
+ self.rule_query_name = attributes[:'rule_query_name']
97
+ end
98
+
99
+ if attributes.key?(:'table_name')
100
+ self.table_name = attributes[:'table_name']
101
+ end
102
+ end
103
+
104
+ # Returns the object in the form of hash, with additionalProperties support.
105
+ # @return [Hash] Returns the object in the form of hash
106
+ # @!visibility private
107
+ def to_hash
108
+ hash = {}
109
+ self.class.attribute_map.each_pair do |attr, param|
110
+ value = self.send(attr)
111
+ if value.nil?
112
+ is_nullable = self.class.openapi_nullable.include?(attr)
113
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
114
+ end
115
+
116
+ hash[param] = _to_hash(value)
117
+ end
118
+ self.additional_properties.each_pair do |attr, value|
119
+ hash[attr] = value
120
+ end
121
+ hash
122
+ end
123
+
124
+ # Checks equality by comparing each attribute.
125
+ # @param o [Object] Object to be compared
126
+ # @!visibility private
127
+ def ==(o)
128
+ return true if self.equal?(o)
129
+ self.class == o.class &&
130
+ check_presence == o.check_presence &&
131
+ column_name == o.column_name &&
132
+ log_field_path == o.log_field_path &&
133
+ rule_query_name == o.rule_query_name &&
134
+ table_name == o.table_name
135
+ additional_properties == o.additional_properties
136
+ end
137
+
138
+ # Calculates hash code according to all attributes.
139
+ # @return [Integer] Hash code
140
+ # @!visibility private
141
+ def hash
142
+ [check_presence, column_name, log_field_path, rule_query_name, table_name].hash
143
+ end
144
+ end
145
+ end
@@ -48,6 +48,9 @@ module DatadogAPIClient::V2
48
48
  # Queries for selecting logs which are part of the rule.
49
49
  attr_accessor :queries
50
50
 
51
+ # Reference tables for the rule.
52
+ attr_accessor :reference_tables
53
+
51
54
  # Tags for generated signals.
52
55
  attr_accessor :tags
53
56
 
@@ -72,6 +75,7 @@ module DatadogAPIClient::V2
72
75
  :'name' => :'name',
73
76
  :'options' => :'options',
74
77
  :'queries' => :'queries',
78
+ :'reference_tables' => :'referenceTables',
75
79
  :'tags' => :'tags',
76
80
  :'third_party_cases' => :'thirdPartyCases',
77
81
  :'version' => :'version'
@@ -91,6 +95,7 @@ module DatadogAPIClient::V2
91
95
  :'name' => :'String',
92
96
  :'options' => :'SecurityMonitoringRuleOptions',
93
97
  :'queries' => :'Array<SecurityMonitoringRuleQuery>',
98
+ :'reference_tables' => :'Array<SecurityMonitoringReferenceTable>',
94
99
  :'tags' => :'Array<String>',
95
100
  :'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCase>',
96
101
  :'version' => :'Integer'
@@ -157,6 +162,12 @@ module DatadogAPIClient::V2
157
162
  end
158
163
  end
159
164
 
165
+ if attributes.key?(:'reference_tables')
166
+ if (value = attributes[:'reference_tables']).is_a?(Array)
167
+ self.reference_tables = value
168
+ end
169
+ end
170
+
160
171
  if attributes.key?(:'tags')
161
172
  if (value = attributes[:'tags']).is_a?(Array)
162
173
  self.tags = value
@@ -227,6 +238,7 @@ module DatadogAPIClient::V2
227
238
  name == o.name &&
228
239
  options == o.options &&
229
240
  queries == o.queries &&
241
+ reference_tables == o.reference_tables &&
230
242
  tags == o.tags &&
231
243
  third_party_cases == o.third_party_cases &&
232
244
  version == o.version
@@ -237,7 +249,7 @@ module DatadogAPIClient::V2
237
249
  # @return [Integer] Hash code
238
250
  # @!visibility private
239
251
  def hash
240
- [cases, compliance_signal_options, filters, has_extended_title, is_enabled, message, name, options, queries, tags, third_party_cases, version].hash
252
+ [cases, compliance_signal_options, filters, has_extended_title, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, version].hash
241
253
  end
242
254
  end
243
255
  end
@@ -45,6 +45,9 @@ module DatadogAPIClient::V2
45
45
  # Queries for selecting logs which are part of the rule.
46
46
  attr_reader :queries
47
47
 
48
+ # Reference tables for the rule.
49
+ attr_accessor :reference_tables
50
+
48
51
  # Tags for generated signals.
49
52
  attr_accessor :tags
50
53
 
@@ -68,6 +71,7 @@ module DatadogAPIClient::V2
68
71
  :'name' => :'name',
69
72
  :'options' => :'options',
70
73
  :'queries' => :'queries',
74
+ :'reference_tables' => :'referenceTables',
71
75
  :'tags' => :'tags',
72
76
  :'third_party_cases' => :'thirdPartyCases',
73
77
  :'type' => :'type'
@@ -86,6 +90,7 @@ module DatadogAPIClient::V2
86
90
  :'name' => :'String',
87
91
  :'options' => :'SecurityMonitoringRuleOptions',
88
92
  :'queries' => :'Array<SecurityMonitoringStandardRuleQuery>',
93
+ :'reference_tables' => :'Array<SecurityMonitoringReferenceTable>',
89
94
  :'tags' => :'Array<String>',
90
95
  :'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCaseCreate>',
91
96
  :'type' => :'SecurityMonitoringRuleTypeCreate'
@@ -148,6 +153,12 @@ module DatadogAPIClient::V2
148
153
  end
149
154
  end
150
155
 
156
+ if attributes.key?(:'reference_tables')
157
+ if (value = attributes[:'reference_tables']).is_a?(Array)
158
+ self.reference_tables = value
159
+ end
160
+ end
161
+
151
162
  if attributes.key?(:'tags')
152
163
  if (value = attributes[:'tags']).is_a?(Array)
153
164
  self.tags = value
@@ -272,6 +283,7 @@ module DatadogAPIClient::V2
272
283
  name == o.name &&
273
284
  options == o.options &&
274
285
  queries == o.queries &&
286
+ reference_tables == o.reference_tables &&
275
287
  tags == o.tags &&
276
288
  third_party_cases == o.third_party_cases &&
277
289
  type == o.type
@@ -282,7 +294,7 @@ module DatadogAPIClient::V2
282
294
  # @return [Integer] Hash code
283
295
  # @!visibility private
284
296
  def hash
285
- [cases, filters, has_extended_title, is_enabled, message, name, options, queries, tags, third_party_cases, type].hash
297
+ [cases, filters, has_extended_title, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type].hash
286
298
  end
287
299
  end
288
300
  end
@@ -45,6 +45,9 @@ module DatadogAPIClient::V2
45
45
  # Queries for selecting logs which are part of the rule.
46
46
  attr_reader :queries
47
47
 
48
+ # Reference tables for the rule.
49
+ attr_accessor :reference_tables
50
+
48
51
  # Tags for generated signals.
49
52
  attr_accessor :tags
50
53
 
@@ -68,6 +71,7 @@ module DatadogAPIClient::V2
68
71
  :'name' => :'name',
69
72
  :'options' => :'options',
70
73
  :'queries' => :'queries',
74
+ :'reference_tables' => :'referenceTables',
71
75
  :'tags' => :'tags',
72
76
  :'third_party_cases' => :'thirdPartyCases',
73
77
  :'type' => :'type'
@@ -86,6 +90,7 @@ module DatadogAPIClient::V2
86
90
  :'name' => :'String',
87
91
  :'options' => :'SecurityMonitoringRuleOptions',
88
92
  :'queries' => :'Array<SecurityMonitoringStandardRuleQuery>',
93
+ :'reference_tables' => :'Array<SecurityMonitoringReferenceTable>',
89
94
  :'tags' => :'Array<String>',
90
95
  :'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCaseCreate>',
91
96
  :'type' => :'SecurityMonitoringRuleTypeCreate'
@@ -148,6 +153,12 @@ module DatadogAPIClient::V2
148
153
  end
149
154
  end
150
155
 
156
+ if attributes.key?(:'reference_tables')
157
+ if (value = attributes[:'reference_tables']).is_a?(Array)
158
+ self.reference_tables = value
159
+ end
160
+ end
161
+
151
162
  if attributes.key?(:'tags')
152
163
  if (value = attributes[:'tags']).is_a?(Array)
153
164
  self.tags = value
@@ -272,6 +283,7 @@ module DatadogAPIClient::V2
272
283
  name == o.name &&
273
284
  options == o.options &&
274
285
  queries == o.queries &&
286
+ reference_tables == o.reference_tables &&
275
287
  tags == o.tags &&
276
288
  third_party_cases == o.third_party_cases &&
277
289
  type == o.type
@@ -282,7 +294,7 @@ module DatadogAPIClient::V2
282
294
  # @return [Integer] Hash code
283
295
  # @!visibility private
284
296
  def hash
285
- [cases, filters, has_extended_title, is_enabled, message, name, options, queries, tags, third_party_cases, type].hash
297
+ [cases, filters, has_extended_title, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type].hash
286
298
  end
287
299
  end
288
300
  end
@@ -69,6 +69,9 @@ module DatadogAPIClient::V2
69
69
  # Queries for selecting logs which are part of the rule.
70
70
  attr_accessor :queries
71
71
 
72
+ # Reference tables for the rule.
73
+ attr_accessor :reference_tables
74
+
72
75
  # Tags for generated signals.
73
76
  attr_accessor :tags
74
77
 
@@ -106,6 +109,7 @@ module DatadogAPIClient::V2
106
109
  :'name' => :'name',
107
110
  :'options' => :'options',
108
111
  :'queries' => :'queries',
112
+ :'reference_tables' => :'referenceTables',
109
113
  :'tags' => :'tags',
110
114
  :'third_party_cases' => :'thirdPartyCases',
111
115
  :'type' => :'type',
@@ -134,6 +138,7 @@ module DatadogAPIClient::V2
134
138
  :'name' => :'String',
135
139
  :'options' => :'SecurityMonitoringRuleOptions',
136
140
  :'queries' => :'Array<SecurityMonitoringStandardRuleQuery>',
141
+ :'reference_tables' => :'Array<SecurityMonitoringReferenceTable>',
137
142
  :'tags' => :'Array<String>',
138
143
  :'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCase>',
139
144
  :'type' => :'SecurityMonitoringRuleTypeRead',
@@ -232,6 +237,12 @@ module DatadogAPIClient::V2
232
237
  end
233
238
  end
234
239
 
240
+ if attributes.key?(:'reference_tables')
241
+ if (value = attributes[:'reference_tables']).is_a?(Array)
242
+ self.reference_tables = value
243
+ end
244
+ end
245
+
235
246
  if attributes.key?(:'tags')
236
247
  if (value = attributes[:'tags']).is_a?(Array)
237
248
  self.tags = value
@@ -299,6 +310,7 @@ module DatadogAPIClient::V2
299
310
  name == o.name &&
300
311
  options == o.options &&
301
312
  queries == o.queries &&
313
+ reference_tables == o.reference_tables &&
302
314
  tags == o.tags &&
303
315
  third_party_cases == o.third_party_cases &&
304
316
  type == o.type &&
@@ -311,7 +323,7 @@ module DatadogAPIClient::V2
311
323
  # @return [Integer] Hash code
312
324
  # @!visibility private
313
325
  def hash
314
- [cases, compliance_signal_options, created_at, creation_author_id, default_tags, deprecation_date, filters, has_extended_title, id, is_default, is_deleted, is_enabled, message, name, options, queries, tags, third_party_cases, type, update_author_id, version].hash
326
+ [cases, compliance_signal_options, created_at, creation_author_id, default_tags, deprecation_date, filters, has_extended_title, id, is_default, is_deleted, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type, update_author_id, version].hash
315
327
  end
316
328
  end
317
329
  end
@@ -45,6 +45,9 @@ module DatadogAPIClient::V2
45
45
  # Queries for selecting logs which are part of the rule.
46
46
  attr_reader :queries
47
47
 
48
+ # Reference tables for the rule.
49
+ attr_accessor :reference_tables
50
+
48
51
  # Tags for generated signals.
49
52
  attr_accessor :tags
50
53
 
@@ -68,6 +71,7 @@ module DatadogAPIClient::V2
68
71
  :'name' => :'name',
69
72
  :'options' => :'options',
70
73
  :'queries' => :'queries',
74
+ :'reference_tables' => :'referenceTables',
71
75
  :'tags' => :'tags',
72
76
  :'third_party_cases' => :'thirdPartyCases',
73
77
  :'type' => :'type'
@@ -86,6 +90,7 @@ module DatadogAPIClient::V2
86
90
  :'name' => :'String',
87
91
  :'options' => :'SecurityMonitoringRuleOptions',
88
92
  :'queries' => :'Array<SecurityMonitoringStandardRuleQuery>',
93
+ :'reference_tables' => :'Array<SecurityMonitoringReferenceTable>',
89
94
  :'tags' => :'Array<String>',
90
95
  :'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCaseCreate>',
91
96
  :'type' => :'SecurityMonitoringRuleTypeTest'
@@ -148,6 +153,12 @@ module DatadogAPIClient::V2
148
153
  end
149
154
  end
150
155
 
156
+ if attributes.key?(:'reference_tables')
157
+ if (value = attributes[:'reference_tables']).is_a?(Array)
158
+ self.reference_tables = value
159
+ end
160
+ end
161
+
151
162
  if attributes.key?(:'tags')
152
163
  if (value = attributes[:'tags']).is_a?(Array)
153
164
  self.tags = value
@@ -272,6 +283,7 @@ module DatadogAPIClient::V2
272
283
  name == o.name &&
273
284
  options == o.options &&
274
285
  queries == o.queries &&
286
+ reference_tables == o.reference_tables &&
275
287
  tags == o.tags &&
276
288
  third_party_cases == o.third_party_cases &&
277
289
  type == o.type
@@ -282,7 +294,7 @@ module DatadogAPIClient::V2
282
294
  # @return [Integer] Hash code
283
295
  # @!visibility private
284
296
  def hash
285
- [cases, filters, has_extended_title, is_enabled, message, name, options, queries, tags, third_party_cases, type].hash
297
+ [cases, filters, has_extended_title, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type].hash
286
298
  end
287
299
  end
288
300
  end
@@ -32,6 +32,10 @@ module DatadogAPIClient::V2
32
32
  # The number of keywords in the list must be less than or equal to 30.
33
33
  attr_reader :keywords
34
34
 
35
+ # Should the rule use the underlying standard pattern keyword configuration. If set to `true`, the rule must be tied
36
+ # to a standard pattern. If set to `false`, the specified keywords and `character_count` are applied.
37
+ attr_accessor :use_recommended_keywords
38
+
35
39
  attr_accessor :additional_properties
36
40
 
37
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -39,7 +43,8 @@ module DatadogAPIClient::V2
39
43
  def self.attribute_map
40
44
  {
41
45
  :'character_count' => :'character_count',
42
- :'keywords' => :'keywords'
46
+ :'keywords' => :'keywords',
47
+ :'use_recommended_keywords' => :'use_recommended_keywords'
43
48
  }
44
49
  end
45
50
 
@@ -48,7 +53,8 @@ module DatadogAPIClient::V2
48
53
  def self.openapi_types
49
54
  {
50
55
  :'character_count' => :'Integer',
51
- :'keywords' => :'Array<String>'
56
+ :'keywords' => :'Array<String>',
57
+ :'use_recommended_keywords' => :'Boolean'
52
58
  }
53
59
  end
54
60
 
@@ -79,6 +85,10 @@ module DatadogAPIClient::V2
79
85
  self.keywords = value
80
86
  end
81
87
  end
88
+
89
+ if attributes.key?(:'use_recommended_keywords')
90
+ self.use_recommended_keywords = attributes[:'use_recommended_keywords']
91
+ end
82
92
  end
83
93
 
84
94
  # Check to see if the all the properties in the model are valid
@@ -145,7 +155,8 @@ module DatadogAPIClient::V2
145
155
  return true if self.equal?(o)
146
156
  self.class == o.class &&
147
157
  character_count == o.character_count &&
148
- keywords == o.keywords
158
+ keywords == o.keywords &&
159
+ use_recommended_keywords == o.use_recommended_keywords
149
160
  additional_properties == o.additional_properties
150
161
  end
151
162
 
@@ -153,7 +164,7 @@ module DatadogAPIClient::V2
153
164
  # @return [Integer] Hash code
154
165
  # @!visibility private
155
166
  def hash
156
- [character_count, keywords].hash
167
+ [character_count, keywords, use_recommended_keywords].hash
157
168
  end
158
169
  end
159
170
  end
@@ -27,10 +27,10 @@ module DatadogAPIClient::V2
27
27
  # Maximum number of scanning groups allowed for the org.
28
28
  attr_accessor :group_count_limit
29
29
 
30
- # Whether or not scanned events are highlighted in Logs or RUM for the org.
30
+ # (Deprecated) Whether or not scanned events are highlighted in Logs or RUM for the org.
31
31
  attr_accessor :has_highlight_enabled
32
32
 
33
- # Whether or not scanned events have multi-pass enabled.
33
+ # (Deprecated) Whether or not scanned events have multi-pass enabled.
34
34
  attr_accessor :has_multi_pass_enabled
35
35
 
36
36
  # Whether or not the org is compliant to the payment card industry standard.
@@ -27,9 +27,6 @@ module DatadogAPIClient::V2
27
27
  # Banner selection for the team
28
28
  attr_accessor :banner
29
29
 
30
- # An identifier for the color representing the team
31
- attr_reader :color
32
-
33
30
  # Free-form markdown description/content for the team's homepage
34
31
  attr_accessor :description
35
32
 
@@ -53,7 +50,6 @@ module DatadogAPIClient::V2
53
50
  {
54
51
  :'avatar' => :'avatar',
55
52
  :'banner' => :'banner',
56
- :'color' => :'color',
57
53
  :'description' => :'description',
58
54
  :'handle' => :'handle',
59
55
  :'hidden_modules' => :'hidden_modules',
@@ -68,7 +64,6 @@ module DatadogAPIClient::V2
68
64
  {
69
65
  :'avatar' => :'String',
70
66
  :'banner' => :'Integer',
71
- :'color' => :'Integer',
72
67
  :'description' => :'String',
73
68
  :'handle' => :'String',
74
69
  :'hidden_modules' => :'Array<String>',
@@ -112,10 +107,6 @@ module DatadogAPIClient::V2
112
107
  self.banner = attributes[:'banner']
113
108
  end
114
109
 
115
- if attributes.key?(:'color')
116
- self.color = attributes[:'color']
117
- end
118
-
119
110
  if attributes.key?(:'description')
120
111
  self.description = attributes[:'description']
121
112
  end
@@ -145,8 +136,6 @@ module DatadogAPIClient::V2
145
136
  # @return true if the model is valid
146
137
  # @!visibility private
147
138
  def valid?
148
- return false if !@color.nil? && @color > 13
149
- return false if !@color.nil? && @color < 0
150
139
  return false if @handle.nil?
151
140
  return false if @handle.to_s.length > 195
152
141
  return false if @name.nil?
@@ -154,19 +143,6 @@ module DatadogAPIClient::V2
154
143
  true
155
144
  end
156
145
 
157
- # Custom attribute writer method with validation
158
- # @param color [Object] Object to be assigned
159
- # @!visibility private
160
- def color=(color)
161
- if !color.nil? && color > 13
162
- fail ArgumentError, 'invalid value for "color", must be smaller than or equal to 13.'
163
- end
164
- if !color.nil? && color < 0
165
- fail ArgumentError, 'invalid value for "color", must be greater than or equal to 0.'
166
- end
167
- @color = color
168
- end
169
-
170
146
  # Custom attribute writer method with validation
171
147
  # @param handle [Object] Object to be assigned
172
148
  # @!visibility private
@@ -221,7 +197,6 @@ module DatadogAPIClient::V2
221
197
  self.class == o.class &&
222
198
  avatar == o.avatar &&
223
199
  banner == o.banner &&
224
- color == o.color &&
225
200
  description == o.description &&
226
201
  handle == o.handle &&
227
202
  hidden_modules == o.hidden_modules &&
@@ -234,7 +209,7 @@ module DatadogAPIClient::V2
234
209
  # @return [Integer] Hash code
235
210
  # @!visibility private
236
211
  def hash
237
- [avatar, banner, color, description, handle, hidden_modules, name, visible_modules].hash
212
+ [avatar, banner, description, handle, hidden_modules, name, visible_modules].hash
238
213
  end
239
214
  end
240
215
  end
@@ -17,7 +17,7 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V2
20
- # Create / Update entity request.
20
+ # Create or update entity request.
21
21
  module UpsertCatalogEntityRequest
22
22
  class << self
23
23
  include BaseOneOfModel
@@ -1,5 +1,5 @@
1
1
  # Define library version.
2
2
 
3
3
  module DatadogAPIClient
4
- VERSION = '2.26.1'
4
+ VERSION = '2.28.1'
5
5
  end