datadog_api_client 2.15.0 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/schemas/v1/openapi.yaml +1316 -153
  4. data/.generator/schemas/v2/openapi.yaml +3367 -685
  5. data/.generator/src/generator/formatter.py +4 -0
  6. data/.generator/src/generator/openapi.py +2 -0
  7. data/.generator/src/generator/templates/api_client.j2 +22 -1
  8. data/.generator/src/generator/templates/inflector.j2 +1 -1
  9. data/.generator/src/generator/templates/model_base.j2 +5 -0
  10. data/CHANGELOG.md +59 -0
  11. data/Gemfile +1 -0
  12. data/LICENSE-3rdparty.csv +1 -0
  13. data/datadog_api_client.gemspec +2 -0
  14. data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
  15. data/examples/v1/aws-integration/CreateAWSEventBridgeSource.rb +12 -0
  16. data/examples/v1/aws-integration/CreateAWSTagFilter.rb +1 -1
  17. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -1
  18. data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
  19. data/examples/v1/aws-integration/DeleteAWSEventBridgeSource.rb +11 -0
  20. data/examples/v1/aws-integration/ListAWSEventBridgeSources.rb +5 -0
  21. data/examples/v1/azure-integration/CreateAzureIntegration.rb +1 -0
  22. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +1 -0
  23. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +1 -0
  24. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +1 -0
  25. data/examples/v1/dashboards/CreateDashboard_1213075383.rb +7 -0
  26. data/examples/v1/dashboards/CreateDashboard_1754992756.rb +44 -0
  27. data/examples/v1/dashboards/CreateDashboard_2278756614.rb +91 -0
  28. data/examples/v1/monitors/CreateMonitor_1539578087.rb +35 -0
  29. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  30. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
  31. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_397420811.rb +1 -1
  32. data/examples/v1/usage-metering/GetUsageCIApp.rb +4 -1
  33. data/examples/v1/usage-metering/GetUsageCWS.rb +4 -1
  34. data/examples/v1/usage-metering/GetUsageCloudSecurityPostureManagement.rb +1 -1
  35. data/examples/v2/apm-retention-filters/CreateApmRetentionFilter.rb +20 -0
  36. data/examples/v2/apm-retention-filters/DeleteApmRetentionFilter.rb +8 -0
  37. data/examples/v2/apm-retention-filters/GetApmRetentionFilter.rb +8 -0
  38. data/examples/v2/apm-retention-filters/ListApmRetentionFilters.rb +5 -0
  39. data/examples/v2/apm-retention-filters/ReorderApmRetentionFilters.rb +18 -0
  40. data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +24 -0
  41. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +0 -5
  42. data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +4 -1
  43. data/examples/v2/confluent-cloud/DeleteConfluentResource.rb +5 -0
  44. data/examples/v2/container-images/ListContainerImages.rb +8 -0
  45. data/examples/v2/container-images/ListContainerImages_3088586393.rb +11 -0
  46. data/examples/v2/container-images/ListContainerImages_3974828736.rb +11 -0
  47. data/examples/v2/containers/ListContainers.rb +8 -0
  48. data/examples/v2/containers/ListContainers_2175733917.rb +11 -0
  49. data/examples/v2/containers/ListContainers_931009654.rb +11 -0
  50. data/examples/v2/downtimes/ListMonitorDowntimes.rb +1 -1
  51. data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +19 -0
  52. data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +2 -7
  53. data/examples/v2/key-management/DeleteApplicationKey.rb +4 -1
  54. data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +4 -1
  55. data/examples/v2/powerpack/CreatePowerpack.rb +48 -0
  56. data/examples/v2/powerpack/DeletePowerpack.rb +8 -0
  57. data/examples/v2/powerpack/GetPowerpack.rb +8 -0
  58. data/examples/v2/powerpack/ListPowerpacks.rb +8 -0
  59. data/examples/v2/powerpack/ListPowerpacks_1173755071.rb +8 -0
  60. data/examples/v2/powerpack/UpdatePowerpack.rb +51 -0
  61. data/examples/v2/rum/CreateRUMApplication.rb +1 -1
  62. data/examples/v2/security-monitoring/MuteFindings.rb +29 -0
  63. data/examples/v2/service-accounts/CreateServiceAccountApplicationKey.rb +5 -7
  64. data/examples/v2/service-accounts/DeleteServiceAccountApplicationKey.rb +7 -1
  65. data/examples/v2/service-accounts/GetServiceAccountApplicationKey.rb +7 -1
  66. data/examples/v2/service-accounts/ListServiceAccountApplicationKeys.rb +4 -1
  67. data/examples/v2/service-accounts/UpdateServiceAccountApplicationKey.rb +11 -9
  68. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +23 -12
  69. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions_2621709423.rb +53 -0
  70. data/examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb +27 -0
  71. data/examples/v2/service-scorecards/CreateScorecardRule.rb +19 -0
  72. data/examples/v2/service-scorecards/DeleteScorecardRule.rb +11 -0
  73. data/examples/v2/service-scorecards/ListScorecardOutcomes.rb +8 -0
  74. data/examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb +13 -0
  75. data/examples/v2/service-scorecards/ListScorecardRules.rb +8 -0
  76. data/examples/v2/service-scorecards/ListScorecardRules_4057666343.rb +13 -0
  77. data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +3 -1
  78. data/examples/v2/teams/ListTeams_3429963470.rb +12 -0
  79. data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +4 -1
  80. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +4 -1
  81. data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +4 -1
  82. data/examples/v2/users/GetUser.rb +5 -2
  83. data/lib/datadog_api_client/api_client.rb +22 -1
  84. data/lib/datadog_api_client/configuration.rb +8 -1
  85. data/lib/datadog_api_client/inflector.rb +156 -9
  86. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +194 -0
  87. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -21
  88. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -6
  89. data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +1 -1
  90. data/lib/datadog_api_client/v1/model_base.rb +5 -0
  91. data/lib/datadog_api_client/v1/models/aws_account.rb +2 -1
  92. data/lib/datadog_api_client/v1/models/aws_event_bridge_account_configuration.rb +105 -0
  93. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_request.rb +112 -0
  94. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_response.rb +110 -0
  95. data/lib/datadog_api_client/v1/models/aws_event_bridge_create_status.rb +26 -0
  96. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_request.rb +100 -0
  97. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_response.rb +80 -0
  98. data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_status.rb +26 -0
  99. data/lib/datadog_api_client/v1/models/aws_event_bridge_list_response.rb +92 -0
  100. data/lib/datadog_api_client/v1/models/aws_event_bridge_source.rb +90 -0
  101. data/lib/datadog_api_client/v1/models/azure_account.rb +12 -1
  102. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +27 -4
  103. data/lib/datadog_api_client/v1/models/ip_prefixes_global.rb +94 -0
  104. data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
  105. data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
  106. data/lib/datadog_api_client/v1/models/monitor_options_custom_schedule.rb +82 -0
  107. data/lib/datadog_api_client/v1/models/monitor_options_custom_schedule_recurrence.rb +100 -0
  108. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options.rb +11 -1
  109. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +46 -0
  110. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +465 -5
  111. data/lib/datadog_api_client/v1/models/powerpack_template_variable_contents.rb +131 -0
  112. data/lib/datadog_api_client/v1/models/powerpack_template_variables.rb +94 -0
  113. data/lib/datadog_api_client/v1/models/powerpack_widget_definition.rb +169 -0
  114. data/lib/datadog_api_client/v1/models/powerpack_widget_definition_type.rb +26 -0
  115. data/lib/datadog_api_client/v1/models/split_config.rb +181 -0
  116. data/lib/datadog_api_client/v1/models/split_config_sort_compute.rb +119 -0
  117. data/lib/datadog_api_client/v1/models/split_dimension.rb +98 -0
  118. data/lib/datadog_api_client/v1/models/split_graph_source_widget_definition.rb +70 -0
  119. data/lib/datadog_api_client/v1/models/split_graph_viz_size.rb +29 -0
  120. data/lib/datadog_api_client/v1/models/split_graph_widget_definition.rb +191 -0
  121. data/lib/datadog_api_client/v1/models/split_graph_widget_definition_type.rb +26 -0
  122. data/lib/datadog_api_client/v1/models/split_sort.rb +108 -0
  123. data/lib/datadog_api_client/v1/models/split_vector_entry_item.rb +125 -0
  124. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +11 -1
  125. data/lib/datadog_api_client/v1/models/toplist_widget_display.rb +63 -0
  126. data/lib/datadog_api_client/v1/models/toplist_widget_flat.rb +98 -0
  127. data/lib/datadog_api_client/v1/models/toplist_widget_flat_type.rb +26 -0
  128. data/lib/datadog_api_client/v1/models/toplist_widget_legend.rb +28 -0
  129. data/lib/datadog_api_client/v1/models/toplist_widget_scaling.rb +27 -0
  130. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +119 -0
  131. data/lib/datadog_api_client/v1/models/toplist_widget_stacked_type.rb +26 -0
  132. data/lib/datadog_api_client/v1/models/toplist_widget_style.rb +90 -0
  133. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +4 -4
  134. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +8 -8
  135. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +2 -2
  136. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +158 -8
  137. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +158 -8
  138. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +158 -8
  139. data/lib/datadog_api_client/v1/models/widget_definition.rb +8 -6
  140. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +423 -0
  141. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +4 -4
  142. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
  143. data/lib/datadog_api_client/v2/api/container_images_api.rb +129 -0
  144. data/lib/datadog_api_client/v2/api/containers_api.rb +129 -0
  145. data/lib/datadog_api_client/v2/api/incidents_api.rb +1 -1
  146. data/lib/datadog_api_client/v2/api/key_management_api.rb +8 -0
  147. data/lib/datadog_api_client/v2/api/metrics_api.rb +6 -3
  148. data/lib/datadog_api_client/v2/api/powerpack_api.rb +383 -0
  149. data/lib/datadog_api_client/v2/api/roles_api.rb +2 -0
  150. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +66 -72
  151. data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -2
  152. data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +457 -0
  153. data/lib/datadog_api_client/v2/api/teams_api.rb +2 -0
  154. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  155. data/lib/datadog_api_client/v2/model_base.rb +5 -0
  156. data/lib/datadog_api_client/v2/models/apm_retention_filter_type.rb +26 -0
  157. data/lib/datadog_api_client/v2/models/{mute_finding_request.rb → bulk_mute_findings_request.rb} +6 -6
  158. data/lib/datadog_api_client/v2/models/{mute_finding_request_attributes.rb → bulk_mute_findings_request_attributes.rb} +5 -5
  159. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_data.rb +161 -0
  160. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta.rb +82 -0
  161. data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta_findings.rb +80 -0
  162. data/lib/datadog_api_client/v2/models/{mute_finding_request_properties.rb → bulk_mute_findings_request_properties.rb} +6 -6
  163. data/lib/datadog_api_client/v2/models/{mute_finding_response.rb → bulk_mute_findings_response.rb} +5 -5
  164. data/lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb +90 -0
  165. data/lib/datadog_api_client/v2/models/{mute_finding_response_data.rb → container.rb} +9 -9
  166. data/lib/datadog_api_client/v2/models/container_attributes.rb +183 -0
  167. data/lib/datadog_api_client/v2/models/container_group.rb +110 -0
  168. data/lib/datadog_api_client/v2/models/container_group_attributes.rb +90 -0
  169. data/lib/datadog_api_client/v2/models/container_group_relationships.rb +80 -0
  170. data/lib/datadog_api_client/v2/models/container_group_relationships_link.rb +92 -0
  171. data/lib/datadog_api_client/v2/models/container_group_relationships_links.rb +80 -0
  172. data/lib/datadog_api_client/v2/models/container_group_type.rb +26 -0
  173. data/lib/datadog_api_client/v2/models/container_image.rb +100 -0
  174. data/lib/datadog_api_client/v2/models/container_image_attributes.rb +261 -0
  175. data/lib/datadog_api_client/v2/models/container_image_flavor.rb +120 -0
  176. data/lib/datadog_api_client/v2/models/container_image_group.rb +110 -0
  177. data/lib/datadog_api_client/v2/models/container_image_group_attributes.rb +100 -0
  178. data/lib/datadog_api_client/v2/models/container_image_group_images_relationships_link.rb +92 -0
  179. data/lib/datadog_api_client/v2/models/container_image_group_relationships.rb +80 -0
  180. data/lib/datadog_api_client/v2/models/container_image_group_relationships_links.rb +80 -0
  181. data/lib/datadog_api_client/v2/models/container_image_group_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/container_image_item.rb +63 -0
  183. data/lib/datadog_api_client/v2/models/container_image_meta.rb +80 -0
  184. data/lib/datadog_api_client/v2/models/container_image_meta_page.rb +160 -0
  185. data/lib/datadog_api_client/v2/models/container_image_meta_page_type.rb +26 -0
  186. data/lib/datadog_api_client/v2/models/container_image_type.rb +26 -0
  187. data/lib/datadog_api_client/v2/models/container_image_vulnerabilities.rb +140 -0
  188. data/lib/datadog_api_client/v2/models/container_images_response.rb +102 -0
  189. data/lib/datadog_api_client/v2/models/container_images_response_links.rb +130 -0
  190. data/lib/datadog_api_client/v2/models/container_item.rb +63 -0
  191. data/lib/datadog_api_client/v2/models/container_meta.rb +80 -0
  192. data/lib/datadog_api_client/v2/models/container_meta_page.rb +160 -0
  193. data/lib/datadog_api_client/v2/models/container_meta_page_type.rb +26 -0
  194. data/lib/datadog_api_client/v2/models/container_type.rb +26 -0
  195. data/lib/datadog_api_client/v2/models/containers_response.rb +102 -0
  196. data/lib/datadog_api_client/v2/models/containers_response_links.rb +130 -0
  197. data/lib/datadog_api_client/v2/models/create_rule_request.rb +80 -0
  198. data/lib/datadog_api_client/v2/models/create_rule_request_data.rb +90 -0
  199. data/lib/datadog_api_client/v2/models/create_rule_response.rb +80 -0
  200. data/lib/datadog_api_client/v2/models/create_rule_response_data.rb +110 -0
  201. data/lib/datadog_api_client/v2/models/data_scalar_column.rb +2 -2
  202. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +13 -1
  203. data/lib/datadog_api_client/v2/models/group_scalar_column.rb +2 -2
  204. data/lib/datadog_api_client/v2/models/list_powerpacks_response.rb +114 -0
  205. data/lib/datadog_api_client/v2/models/list_rules_response.rb +92 -0
  206. data/lib/datadog_api_client/v2/models/list_rules_response_data_item.rb +110 -0
  207. data/lib/datadog_api_client/v2/models/list_rules_response_links.rb +80 -0
  208. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +13 -1
  209. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +12 -1
  210. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +13 -1
  211. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +13 -1
  212. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +13 -1
  213. data/lib/datadog_api_client/v2/models/outcome_type.rb +26 -0
  214. data/lib/datadog_api_client/v2/models/outcomes_batch_attributes.rb +82 -0
  215. data/lib/datadog_api_client/v2/models/outcomes_batch_request.rb +80 -0
  216. data/lib/datadog_api_client/v2/models/outcomes_batch_request_data.rb +90 -0
  217. data/lib/datadog_api_client/v2/models/outcomes_batch_request_item.rb +150 -0
  218. data/lib/datadog_api_client/v2/models/outcomes_batch_response.rb +121 -0
  219. data/lib/datadog_api_client/v2/models/outcomes_batch_response_attributes.rb +120 -0
  220. data/lib/datadog_api_client/v2/models/outcomes_batch_response_meta.rb +90 -0
  221. data/lib/datadog_api_client/v2/models/outcomes_batch_type.rb +26 -0
  222. data/lib/datadog_api_client/v2/models/outcomes_response.rb +104 -0
  223. data/lib/datadog_api_client/v2/models/outcomes_response_data_item.rb +110 -0
  224. data/lib/datadog_api_client/v2/models/outcomes_response_included_item.rb +100 -0
  225. data/lib/datadog_api_client/v2/models/outcomes_response_included_rule_attributes.rb +90 -0
  226. data/lib/datadog_api_client/v2/models/outcomes_response_links.rb +80 -0
  227. data/lib/datadog_api_client/v2/models/powerpack.rb +80 -0
  228. data/lib/datadog_api_client/v2/models/powerpack_attributes.rb +164 -0
  229. data/lib/datadog_api_client/v2/models/powerpack_data.rb +110 -0
  230. data/lib/datadog_api_client/v2/models/powerpack_group_widget.rb +118 -0
  231. data/lib/datadog_api_client/v2/models/powerpack_group_widget_definition.rb +162 -0
  232. data/lib/datadog_api_client/v2/models/powerpack_group_widget_layout.rb +177 -0
  233. data/lib/datadog_api_client/v2/models/powerpack_inner_widget_layout.rb +177 -0
  234. data/lib/datadog_api_client/v2/models/powerpack_inner_widgets.rb +108 -0
  235. data/lib/datadog_api_client/v2/models/powerpack_relationships.rb +80 -0
  236. data/lib/datadog_api_client/v2/models/powerpack_response.rb +92 -0
  237. data/lib/datadog_api_client/v2/models/powerpack_response_links.rb +129 -0
  238. data/lib/datadog_api_client/v2/models/powerpack_template_variable.rb +110 -0
  239. data/lib/datadog_api_client/v2/models/powerpacks_response_meta.rb +80 -0
  240. data/lib/datadog_api_client/v2/models/powerpacks_response_meta_pagination.rb +150 -0
  241. data/lib/datadog_api_client/v2/models/relationship_to_outcome.rb +80 -0
  242. data/lib/datadog_api_client/v2/models/relationship_to_outcome_data.rb +90 -0
  243. data/lib/datadog_api_client/v2/models/relationship_to_rule.rb +80 -0
  244. data/lib/datadog_api_client/v2/models/relationship_to_rule_data.rb +80 -0
  245. data/lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb +90 -0
  246. data/lib/datadog_api_client/v2/models/reorder_retention_filters_request.rb +100 -0
  247. data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +1 -1
  248. data/lib/datadog_api_client/v2/models/{mute_finding_request_data.rb → retention_filter.rb} +9 -9
  249. data/lib/datadog_api_client/v2/models/retention_filter_all.rb +140 -0
  250. data/lib/datadog_api_client/v2/models/retention_filter_all_attributes.rb +181 -0
  251. data/lib/datadog_api_client/v2/models/retention_filter_all_type.rb +28 -0
  252. data/lib/datadog_api_client/v2/models/retention_filter_attributes.rb +181 -0
  253. data/lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb +183 -0
  254. data/lib/datadog_api_client/v2/models/retention_filter_create_data.rb +119 -0
  255. data/lib/datadog_api_client/v2/models/retention_filter_create_request.rb +98 -0
  256. data/lib/datadog_api_client/v2/models/retention_filter_response.rb +80 -0
  257. data/lib/datadog_api_client/v2/models/retention_filter_type.rb +26 -0
  258. data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +140 -0
  259. data/lib/datadog_api_client/v2/models/retention_filter_update_request.rb +98 -0
  260. data/lib/datadog_api_client/v2/models/retention_filter_without_attributes.rb +119 -0
  261. data/lib/datadog_api_client/v2/models/retention_filters_response.rb +100 -0
  262. data/lib/datadog_api_client/v2/models/rule_attributes.rb +160 -0
  263. data/lib/datadog_api_client/v2/models/rule_outcome_relationships.rb +80 -0
  264. data/lib/datadog_api_client/v2/models/rule_type.rb +26 -0
  265. data/lib/datadog_api_client/v2/models/scalar_column_type_group.rb +26 -0
  266. data/lib/datadog_api_client/v2/models/scalar_column_type_number.rb +26 -0
  267. data/lib/datadog_api_client/v2/models/scalar_meta.rb +8 -0
  268. data/lib/datadog_api_client/v2/models/scorecard_type.rb +26 -0
  269. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +7 -7
  270. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
  271. data/lib/datadog_api_client/v2/models/service_definition_schema.rb +2 -1
  272. data/lib/datadog_api_client/v2/models/service_definition_schema_versions.rb +1 -0
  273. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +247 -0
  274. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_contact.rb +129 -0
  275. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_integrations.rb +90 -0
  276. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_link.rb +150 -0
  277. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_opsgenie.rb +108 -0
  278. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_opsgenie_region.rb +27 -0
  279. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_pagerduty.rb +80 -0
  280. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_type.rb +32 -0
  281. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2_version.rb +26 -0
  282. data/lib/datadog_api_client/v2/models/service_definitions_create_request.rb +1 -0
  283. data/lib/datadog_api_client/v2/models/spans_filter.rb +80 -0
  284. data/lib/datadog_api_client/v2/models/spans_filter_create.rb +98 -0
  285. data/lib/datadog_api_client/v2/models/state.rb +28 -0
  286. data/lib/datadog_api_client/v2/models/teams_field.rb +40 -0
  287. data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +1 -1
  288. data/lib/datadog_api_client/v2/models/widget_live_span.rb +40 -0
  289. data/lib/datadog_api_client/version.rb +1 -1
  290. data/run-tests.sh +6 -5
  291. metadata +213 -32
  292. data/examples/v1/usage-metering/GetUsageCIApp_1064440884.rb +0 -8
  293. data/examples/v1/usage-metering/GetUsageCWS_736958514.rb +0 -8
  294. data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +0 -8
  295. data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +0 -5
  296. data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +0 -14
  297. data/examples/v2/key-management/DeleteApplicationKey_771691550.rb +0 -8
  298. data/examples/v2/key-management/DeleteCurrentUserApplicationKey_1266687064.rb +0 -8
  299. data/examples/v2/key-management/GetCurrentUserApplicationKey_1060640890.rb +0 -8
  300. data/examples/v2/key-management/ListApplicationKeys_2237010090.rb +0 -5
  301. data/examples/v2/key-management/ListCurrentUserApplicationKeys_1503860964.rb +0 -5
  302. data/examples/v2/security-monitoring/UpdateFinding.rb +0 -23
  303. data/examples/v2/service-accounts/CreateServiceAccountApplicationKey_1761876297.rb +0 -17
  304. data/examples/v2/service-accounts/DeleteServiceAccountApplicationKey_992091161.rb +0 -11
  305. data/examples/v2/service-accounts/GetServiceAccountApplicationKey_819075131.rb +0 -11
  306. data/examples/v2/service-accounts/ListServiceAccountApplicationKeys_1268914341.rb +0 -8
  307. data/examples/v2/service-accounts/UpdateServiceAccountApplicationKey_768415790.rb +0 -22
  308. data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +0 -5
  309. data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +0 -9
  310. data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb +0 -8
  311. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb +0 -8
  312. data/examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb +0 -8
  313. data/examples/v2/users/GetUser_3047557953.rb +0 -8
  314. data/lib/datadog_api_client/v2/models/mute_finding_response_attributes.rb +0 -191
  315. data/lib/datadog_api_client/v2/models/mute_finding_response_properties.rb +0 -114
@@ -0,0 +1,26 @@
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
+ # Type of container.
21
+ class ContainerType
22
+ include BaseEnumModel
23
+
24
+ CONTAINER = "container".freeze
25
+ end
26
+ end
@@ -0,0 +1,102 @@
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
+ # List of containers.
21
+ class ContainersResponse
22
+ include BaseGenericModel
23
+
24
+ # Array of Container objects.
25
+ attr_accessor :data
26
+
27
+ # Pagination links.
28
+ attr_accessor :links
29
+
30
+ # Response metadata object.
31
+ attr_accessor :meta
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ # @!visibility private
35
+ def self.attribute_map
36
+ {
37
+ :'data' => :'data',
38
+ :'links' => :'links',
39
+ :'meta' => :'meta'
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ # @!visibility private
45
+ def self.openapi_types
46
+ {
47
+ :'data' => :'Array<ContainerItem>',
48
+ :'links' => :'ContainersResponseLinks',
49
+ :'meta' => :'ContainerMeta'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param attributes [Hash] Model attributes in the form of hash
55
+ # @!visibility private
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ContainersResponse` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h|
63
+ if (!self.class.attribute_map.key?(k.to_sym))
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::ContainersResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ end
66
+ h[k.to_sym] = v
67
+ }
68
+
69
+ if attributes.key?(:'data')
70
+ if (value = attributes[:'data']).is_a?(Array)
71
+ self.data = value
72
+ end
73
+ end
74
+
75
+ if attributes.key?(:'links')
76
+ self.links = attributes[:'links']
77
+ end
78
+
79
+ if attributes.key?(:'meta')
80
+ self.meta = attributes[:'meta']
81
+ end
82
+ end
83
+
84
+ # Checks equality by comparing each attribute.
85
+ # @param o [Object] Object to be compared
86
+ # @!visibility private
87
+ def ==(o)
88
+ return true if self.equal?(o)
89
+ self.class == o.class &&
90
+ data == o.data &&
91
+ links == o.links &&
92
+ meta == o.meta
93
+ end
94
+
95
+ # Calculates hash code according to all attributes.
96
+ # @return [Integer] Hash code
97
+ # @!visibility private
98
+ def hash
99
+ [data, links, meta].hash
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,130 @@
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
+ # Pagination links.
21
+ class ContainersResponseLinks
22
+ include BaseGenericModel
23
+
24
+ # Link to the first page.
25
+ attr_accessor :first
26
+
27
+ # Link to the last page.
28
+ attr_accessor :last
29
+
30
+ # Link to the next page.
31
+ attr_accessor :_next
32
+
33
+ # Link to previous page.
34
+ attr_accessor :prev
35
+
36
+ # Link to current page.
37
+ attr_accessor :_self
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ # @!visibility private
41
+ def self.attribute_map
42
+ {
43
+ :'first' => :'first',
44
+ :'last' => :'last',
45
+ :'_next' => :'next',
46
+ :'prev' => :'prev',
47
+ :'_self' => :'self'
48
+ }
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ # @!visibility private
53
+ def self.openapi_types
54
+ {
55
+ :'first' => :'String',
56
+ :'last' => :'String',
57
+ :'_next' => :'String',
58
+ :'prev' => :'String',
59
+ :'_self' => :'String'
60
+ }
61
+ end
62
+
63
+ # List of attributes with nullable: true
64
+ # @!visibility private
65
+ def self.openapi_nullable
66
+ Set.new([
67
+ :'last',
68
+ :'_next',
69
+ :'prev',
70
+ ])
71
+ end
72
+
73
+ # Initializes the object
74
+ # @param attributes [Hash] Model attributes in the form of hash
75
+ # @!visibility private
76
+ def initialize(attributes = {})
77
+ if (!attributes.is_a?(Hash))
78
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ContainersResponseLinks` initialize method"
79
+ end
80
+
81
+ # check to see if the attribute exists and convert string to symbol for hash key
82
+ attributes = attributes.each_with_object({}) { |(k, v), h|
83
+ if (!self.class.attribute_map.key?(k.to_sym))
84
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::ContainersResponseLinks`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
85
+ end
86
+ h[k.to_sym] = v
87
+ }
88
+
89
+ if attributes.key?(:'first')
90
+ self.first = attributes[:'first']
91
+ end
92
+
93
+ if attributes.key?(:'last')
94
+ self.last = attributes[:'last']
95
+ end
96
+
97
+ if attributes.key?(:'_next')
98
+ self._next = attributes[:'_next']
99
+ end
100
+
101
+ if attributes.key?(:'prev')
102
+ self.prev = attributes[:'prev']
103
+ end
104
+
105
+ if attributes.key?(:'_self')
106
+ self._self = attributes[:'_self']
107
+ end
108
+ end
109
+
110
+ # Checks equality by comparing each attribute.
111
+ # @param o [Object] Object to be compared
112
+ # @!visibility private
113
+ def ==(o)
114
+ return true if self.equal?(o)
115
+ self.class == o.class &&
116
+ first == o.first &&
117
+ last == o.last &&
118
+ _next == o._next &&
119
+ prev == o.prev &&
120
+ _self == o._self
121
+ end
122
+
123
+ # Calculates hash code according to all attributes.
124
+ # @return [Integer] Hash code
125
+ # @!visibility private
126
+ def hash
127
+ [first, last, _next, prev, _self].hash
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,80 @@
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
+ # Scorecard create rule request.
21
+ class CreateRuleRequest
22
+ include BaseGenericModel
23
+
24
+ # Scorecard create rule request data.
25
+ attr_accessor :data
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ # @!visibility private
29
+ def self.attribute_map
30
+ {
31
+ :'data' => :'data'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ # @!visibility private
37
+ def self.openapi_types
38
+ {
39
+ :'data' => :'CreateRuleRequestData'
40
+ }
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param attributes [Hash] Model attributes in the form of hash
45
+ # @!visibility private
46
+ def initialize(attributes = {})
47
+ if (!attributes.is_a?(Hash))
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateRuleRequest` initialize method"
49
+ end
50
+
51
+ # check to see if the attribute exists and convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h|
53
+ if (!self.class.attribute_map.key?(k.to_sym))
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::CreateRuleRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ end
56
+ h[k.to_sym] = v
57
+ }
58
+
59
+ if attributes.key?(:'data')
60
+ self.data = attributes[:'data']
61
+ end
62
+ end
63
+
64
+ # Checks equality by comparing each attribute.
65
+ # @param o [Object] Object to be compared
66
+ # @!visibility private
67
+ def ==(o)
68
+ return true if self.equal?(o)
69
+ self.class == o.class &&
70
+ data == o.data
71
+ end
72
+
73
+ # Calculates hash code according to all attributes.
74
+ # @return [Integer] Hash code
75
+ # @!visibility private
76
+ def hash
77
+ [data].hash
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,90 @@
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
+ # Scorecard create rule request data.
21
+ class CreateRuleRequestData
22
+ include BaseGenericModel
23
+
24
+ # Details of a rule.
25
+ attr_accessor :attributes
26
+
27
+ # The JSON:API type for scorecard rules.
28
+ attr_accessor :type
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ # @!visibility private
32
+ def self.attribute_map
33
+ {
34
+ :'attributes' => :'attributes',
35
+ :'type' => :'type'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ # @!visibility private
41
+ def self.openapi_types
42
+ {
43
+ :'attributes' => :'RuleAttributes',
44
+ :'type' => :'RuleType'
45
+ }
46
+ end
47
+
48
+ # Initializes the object
49
+ # @param attributes [Hash] Model attributes in the form of hash
50
+ # @!visibility private
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateRuleRequestData` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::CreateRuleRequestData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'attributes')
65
+ self.attributes = attributes[:'attributes']
66
+ end
67
+
68
+ if attributes.key?(:'type')
69
+ self.type = attributes[:'type']
70
+ end
71
+ end
72
+
73
+ # Checks equality by comparing each attribute.
74
+ # @param o [Object] Object to be compared
75
+ # @!visibility private
76
+ def ==(o)
77
+ return true if self.equal?(o)
78
+ self.class == o.class &&
79
+ attributes == o.attributes &&
80
+ type == o.type
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Integer] Hash code
85
+ # @!visibility private
86
+ def hash
87
+ [attributes, type].hash
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,80 @@
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
+ # Created rule in response.
21
+ class CreateRuleResponse
22
+ include BaseGenericModel
23
+
24
+ # Create rule response data.
25
+ attr_accessor :data
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ # @!visibility private
29
+ def self.attribute_map
30
+ {
31
+ :'data' => :'data'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ # @!visibility private
37
+ def self.openapi_types
38
+ {
39
+ :'data' => :'CreateRuleResponseData'
40
+ }
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param attributes [Hash] Model attributes in the form of hash
45
+ # @!visibility private
46
+ def initialize(attributes = {})
47
+ if (!attributes.is_a?(Hash))
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateRuleResponse` initialize method"
49
+ end
50
+
51
+ # check to see if the attribute exists and convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h|
53
+ if (!self.class.attribute_map.key?(k.to_sym))
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::CreateRuleResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ end
56
+ h[k.to_sym] = v
57
+ }
58
+
59
+ if attributes.key?(:'data')
60
+ self.data = attributes[:'data']
61
+ end
62
+ end
63
+
64
+ # Checks equality by comparing each attribute.
65
+ # @param o [Object] Object to be compared
66
+ # @!visibility private
67
+ def ==(o)
68
+ return true if self.equal?(o)
69
+ self.class == o.class &&
70
+ data == o.data
71
+ end
72
+
73
+ # Calculates hash code according to all attributes.
74
+ # @return [Integer] Hash code
75
+ # @!visibility private
76
+ def hash
77
+ [data].hash
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,110 @@
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
+ # Create rule response data.
21
+ class CreateRuleResponseData
22
+ include BaseGenericModel
23
+
24
+ # Details of a rule.
25
+ attr_accessor :attributes
26
+
27
+ # The unique ID for a scorecard rule.
28
+ attr_accessor :id
29
+
30
+ # Scorecard create rule response relationship.
31
+ attr_accessor :relationships
32
+
33
+ # The JSON:API type for scorecard rules.
34
+ attr_accessor :type
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ # @!visibility private
38
+ def self.attribute_map
39
+ {
40
+ :'attributes' => :'attributes',
41
+ :'id' => :'id',
42
+ :'relationships' => :'relationships',
43
+ :'type' => :'type'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ # @!visibility private
49
+ def self.openapi_types
50
+ {
51
+ :'attributes' => :'RuleAttributes',
52
+ :'id' => :'String',
53
+ :'relationships' => :'RelationshipToRule',
54
+ :'type' => :'RuleType'
55
+ }
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param attributes [Hash] Model attributes in the form of hash
60
+ # @!visibility private
61
+ def initialize(attributes = {})
62
+ if (!attributes.is_a?(Hash))
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateRuleResponseData` initialize method"
64
+ end
65
+
66
+ # check to see if the attribute exists and convert string to symbol for hash key
67
+ attributes = attributes.each_with_object({}) { |(k, v), h|
68
+ if (!self.class.attribute_map.key?(k.to_sym))
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::CreateRuleResponseData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
70
+ end
71
+ h[k.to_sym] = v
72
+ }
73
+
74
+ if attributes.key?(:'attributes')
75
+ self.attributes = attributes[:'attributes']
76
+ end
77
+
78
+ if attributes.key?(:'id')
79
+ self.id = attributes[:'id']
80
+ end
81
+
82
+ if attributes.key?(:'relationships')
83
+ self.relationships = attributes[:'relationships']
84
+ end
85
+
86
+ if attributes.key?(:'type')
87
+ self.type = attributes[:'type']
88
+ end
89
+ end
90
+
91
+ # Checks equality by comparing each attribute.
92
+ # @param o [Object] Object to be compared
93
+ # @!visibility private
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ attributes == o.attributes &&
98
+ id == o.id &&
99
+ relationships == o.relationships &&
100
+ type == o.type
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ # @!visibility private
106
+ def hash
107
+ [attributes, id, relationships, type].hash
108
+ end
109
+ end
110
+ end
@@ -27,7 +27,7 @@ module DatadogAPIClient::V2
27
27
  # The name referencing the formula or query for this column.
28
28
  attr_accessor :name
29
29
 
30
- # The type of column present.
30
+ # The type of column present for numbers.
31
31
  attr_accessor :type
32
32
 
33
33
  # The array of numerical values for one formula or query.
@@ -50,7 +50,7 @@ module DatadogAPIClient::V2
50
50
  {
51
51
  :'meta' => :'ScalarMeta',
52
52
  :'name' => :'String',
53
- :'type' => :'String',
53
+ :'type' => :'ScalarColumnTypeNumber',
54
54
  :'values' => :'Array<Float>'
55
55
  }
56
56
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class GCPSTSServiceAccountAttributes
22
22
  include BaseGenericModel
23
23
 
24
+ # Tags to be associated with GCP metrics and service checks from your account.
25
+ attr_accessor :account_tags
26
+
24
27
  # Silence monitors for expected GCE instance shutdowns.
25
28
  attr_accessor :automute
26
29
 
@@ -37,6 +40,7 @@ module DatadogAPIClient::V2
37
40
  # @!visibility private
38
41
  def self.attribute_map
39
42
  {
43
+ :'account_tags' => :'account_tags',
40
44
  :'automute' => :'automute',
41
45
  :'client_email' => :'client_email',
42
46
  :'host_filters' => :'host_filters',
@@ -48,6 +52,7 @@ module DatadogAPIClient::V2
48
52
  # @!visibility private
49
53
  def self.openapi_types
50
54
  {
55
+ :'account_tags' => :'Array<String>',
51
56
  :'automute' => :'Boolean',
52
57
  :'client_email' => :'String',
53
58
  :'host_filters' => :'Array<String>',
@@ -71,6 +76,12 @@ module DatadogAPIClient::V2
71
76
  h[k.to_sym] = v
72
77
  }
73
78
 
79
+ if attributes.key?(:'account_tags')
80
+ if (value = attributes[:'account_tags']).is_a?(Array)
81
+ self.account_tags = value
82
+ end
83
+ end
84
+
74
85
  if attributes.key?(:'automute')
75
86
  self.automute = attributes[:'automute']
76
87
  end
@@ -96,6 +107,7 @@ module DatadogAPIClient::V2
96
107
  def ==(o)
97
108
  return true if self.equal?(o)
98
109
  self.class == o.class &&
110
+ account_tags == o.account_tags &&
99
111
  automute == o.automute &&
100
112
  client_email == o.client_email &&
101
113
  host_filters == o.host_filters &&
@@ -106,7 +118,7 @@ module DatadogAPIClient::V2
106
118
  # @return [Integer] Hash code
107
119
  # @!visibility private
108
120
  def hash
109
- [automute, client_email, host_filters, is_cspm_enabled].hash
121
+ [account_tags, automute, client_email, host_filters, is_cspm_enabled].hash
110
122
  end
111
123
  end
112
124
  end