datadog_api_client 2.38.0 → 2.39.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 (110) hide show
  1. checksums.yaml +4 -4
  2. data/.generated-info +4 -0
  3. data/.generator/schemas/v1/openapi.yaml +493 -13
  4. data/.generator/schemas/v2/openapi.yaml +1021 -36
  5. data/.github/workflows/approved_status.yml +1 -0
  6. data/.github/workflows/test.yml +1 -1
  7. data/CHANGELOG.md +16 -0
  8. data/examples/v1/dashboards/CreateDashboard_1751391372.rb +41 -0
  9. data/examples/v1/dashboards/CreatePublicDashboard_1668947073.rb +28 -0
  10. data/examples/v1/dashboards/UpdatePublicDashboard_1708268778.rb +27 -0
  11. data/examples/v1/logs-pipelines/CreateLogsPipeline_1248402480.rb +25 -0
  12. data/examples/v1/logs-pipelines/CreateLogsPipeline_1267211320.rb +27 -0
  13. data/examples/v1/logs-pipelines/CreateLogsPipeline_1271012410.rb +25 -0
  14. data/examples/v1/logs-pipelines/CreateLogsPipeline_3314493032.rb +26 -0
  15. data/examples/v1/logs-pipelines/CreateLogsPipeline_3934594739.rb +26 -0
  16. data/examples/v1/synthetics/SearchTests.rb +5 -0
  17. data/examples/v1/synthetics/SearchTests_195957771.rb +13 -0
  18. data/examples/v2/aws-integration/GetAWSIntegrationIAMPermissions.rb +5 -0
  19. data/examples/v2/cloud-cost-management/CreateCostGCPUsageCostConfig.rb +19 -0
  20. data/examples/v2/cloud-cost-management/DeleteCostGCPUsageCostConfig.rb +5 -0
  21. data/examples/v2/cloud-cost-management/ListCostGCPUsageCostConfigs.rb +5 -0
  22. data/examples/v2/cloud-cost-management/UpdateCostGCPUsageCostConfig.rb +14 -0
  23. data/examples/v2/datasets/CreateDataset.rb +27 -0
  24. data/examples/v2/datasets/DeleteDataset.rb +5 -0
  25. data/examples/v2/datasets/GetAllDatasets.rb +5 -0
  26. data/examples/v2/datasets/GetDataset.rb +5 -0
  27. data/examples/v2/monitors/CreateMonitorNotificationRule.rb +0 -3
  28. data/examples/v2/monitors/DeleteMonitorNotificationRule.rb +0 -3
  29. data/examples/v2/monitors/GetMonitorNotificationRule.rb +0 -3
  30. data/examples/v2/monitors/GetMonitorNotificationRules.rb +0 -3
  31. data/examples/v2/monitors/UpdateMonitorNotificationRule.rb +0 -3
  32. data/examples/v2/on-call/UpdateOnCallSchedule.rb +1 -1
  33. data/examples/v2/security-monitoring/ListAssetsSBOMs.rb +12 -0
  34. data/lib/datadog_api_client/configuration.rb +1 -5
  35. data/lib/datadog_api_client/inflector.rb +41 -0
  36. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -0
  37. data/lib/datadog_api_client/v1/api/synthetics_api.rb +72 -0
  38. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -6
  39. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -3
  40. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +1 -0
  41. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +9 -1
  42. data/lib/datadog_api_client/v1/models/logs_array_processor.rb +168 -0
  43. data/lib/datadog_api_client/v1/models/logs_array_processor_operation.rb +64 -0
  44. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append.rb +175 -0
  45. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append_type.rb +26 -0
  46. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length.rb +165 -0
  47. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length_type.rb +26 -0
  48. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select.rb +207 -0
  49. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select_type.rb +26 -0
  50. data/lib/datadog_api_client/v1/models/logs_array_processor_type.rb +26 -0
  51. data/lib/datadog_api_client/v1/models/logs_processor.rb +2 -1
  52. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +1 -0
  53. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +14 -0
  54. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +142 -1
  55. data/lib/datadog_api_client/v1/models/selectable_template_variable_items.rb +12 -1
  56. data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +1 -0
  57. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
  58. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +81 -1
  59. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +81 -1
  60. data/lib/datadog_api_client/v2/api/aws_integration_api.rb +60 -0
  61. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +264 -0
  62. data/lib/datadog_api_client/v2/api/datasets_api.rb +283 -0
  63. data/lib/datadog_api_client/v2/api/events_api.rb +2 -0
  64. data/lib/datadog_api_client/v2/api/monitors_api.rb +0 -30
  65. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +7 -3
  66. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +111 -0
  67. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  68. data/lib/datadog_api_client/v2/models/asset_attributes.rb +13 -1
  69. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response.rb +123 -0
  70. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_attributes.rb +125 -0
  71. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data.rb +125 -0
  72. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data_type.rb +26 -0
  73. data/lib/datadog_api_client/v2/models/dataset.rb +154 -0
  74. data/lib/datadog_api_client/v2/models/dataset_attributes.rb +197 -0
  75. data/lib/datadog_api_client/v2/models/dataset_create_request.rb +123 -0
  76. data/lib/datadog_api_client/v2/models/dataset_response_multi.rb +125 -0
  77. data/lib/datadog_api_client/v2/models/dataset_response_single.rb +123 -0
  78. data/lib/datadog_api_client/v2/models/filters_per_product.rb +150 -0
  79. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config.rb +154 -0
  80. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_attributes.rb +369 -0
  81. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_data.rb +144 -0
  82. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request.rb +123 -0
  83. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_attributes.rb +123 -0
  84. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_type.rb +26 -0
  85. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_data.rb +144 -0
  86. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request.rb +123 -0
  87. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_attributes.rb +217 -0
  88. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_type.rb +26 -0
  89. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_response.rb +105 -0
  90. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_type.rb +26 -0
  91. data/lib/datadog_api_client/v2/models/gcp_usage_cost_configs_response.rb +107 -0
  92. data/lib/datadog_api_client/v2/models/layer_attributes.rb +1 -1
  93. data/lib/datadog_api_client/v2/models/layer_attributes_interval.rb +1 -1
  94. data/lib/datadog_api_client/v2/models/list_assets_sbo_ms_response.rb +145 -0
  95. data/lib/datadog_api_client/v2/models/sbom_attributes.rb +24 -1
  96. data/lib/datadog_api_client/v2/models/sbom_component.rb +46 -1
  97. data/lib/datadog_api_client/v2/models/sbom_component_dependency.rb +117 -0
  98. data/lib/datadog_api_client/v2/models/sbom_component_license.rb +123 -0
  99. data/lib/datadog_api_client/v2/models/sbom_component_license_license.rb +123 -0
  100. data/lib/datadog_api_client/v2/models/sbom_component_license_type.rb +33 -0
  101. data/lib/datadog_api_client/v2/models/sbom_component_property.rb +144 -0
  102. data/lib/datadog_api_client/v2/models/sbom_component_supplier.rb +123 -0
  103. data/lib/datadog_api_client/v2/models/sbom_metadata.rb +25 -3
  104. data/lib/datadog_api_client/v2/models/sbom_metadata_author.rb +105 -0
  105. data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +1 -1
  106. data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +1 -1
  107. data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +24 -1
  108. data/lib/datadog_api_client/version.rb +1 -1
  109. metadata +63 -2
  110. data/.apigentools-info +0 -16
@@ -330,6 +330,12 @@ module DatadogAPIClient::V1
330
330
  # Shows the sum of all live logs bytes ingested over all hours in the current month for all organizations (data available as of December 1, 2020).
331
331
  attr_accessor :live_ingested_bytes_agg_sum
332
332
 
333
+ # Sum of all LLM observability sessions for all hours in the current month for all organizations.
334
+ attr_accessor :llm_observability_agg_sum
335
+
336
+ # Minimum spend for LLM observability sessions for all hours in the current month for all organizations.
337
+ attr_accessor :llm_observability_min_spend_agg_sum
338
+
333
339
  # Object containing logs usage data broken down by retention period.
334
340
  attr_accessor :logs_by_retention
335
341
 
@@ -363,6 +369,9 @@ module DatadogAPIClient::V1
363
369
  # Shows the sum of all Network flows indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
364
370
  attr_accessor :netflow_indexed_events_count_agg_sum
365
371
 
372
+ # Shows the 99th percentile of all Network Device Monitoring wireless devices over all hours in the current month for all organizations.
373
+ attr_accessor :network_device_wireless_top99p_sum
374
+
366
375
  # Shows the 99th percentile of all distinct Cloud Network Monitoring hosts (formerly known as Network hosts) over all hours in the current month for all organizations.
367
376
  attr_accessor :npm_host_top99p_sum
368
377
 
@@ -384,6 +393,9 @@ module DatadogAPIClient::V1
384
393
  # Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations.
385
394
  attr_accessor :opentelemetry_host_top99p_sum
386
395
 
396
+ # Sum of all product analytics sessions for all hours in the current month for all organizations.
397
+ attr_accessor :product_analytics_agg_sum
398
+
387
399
  # Shows the 99th percentile of all profiled Azure app services over all hours in the current month for all organizations.
388
400
  attr_accessor :profiling_aas_count_top99p_sum
389
401
 
@@ -393,6 +405,9 @@ module DatadogAPIClient::V1
393
405
  # Shows the 99th percentile of all profiled hosts over all hours in the current month for all organizations.
394
406
  attr_accessor :profiling_host_count_top99p_sum
395
407
 
408
+ # Shows the high-water mark of all published applications over all hours in the current month for all organizations.
409
+ attr_accessor :published_app_hwm_sum
410
+
396
411
  # Shows the sum of all rehydrated logs indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
397
412
  attr_accessor :rehydrated_indexed_events_agg_sum
398
413
 
@@ -411,6 +426,12 @@ module DatadogAPIClient::V1
411
426
  # Shows the sum of all browser RUM Session Replay counts over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
412
427
  attr_accessor :rum_browser_replay_session_count_agg_sum
413
428
 
429
+ # Sum of all RUM indexed sessions for all hours in the current month for all organizations.
430
+ attr_accessor :rum_indexed_sessions_agg_sum
431
+
432
+ # Sum of all RUM ingested sessions for all hours in the current month for all organizations.
433
+ attr_accessor :rum_ingested_sessions_agg_sum
434
+
414
435
  # Shows the sum of all RUM lite sessions (browser and mobile) over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
415
436
  attr_accessor :rum_lite_session_count_agg_sum
416
437
 
@@ -468,6 +489,9 @@ module DatadogAPIClient::V1
468
489
  # Shows the sum of all browser RUM lite sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
469
490
  attr_accessor :rum_session_count_agg_sum
470
491
 
492
+ # Sum of all RUM session replay add-on sessions for all hours in the current month for all organizations.
493
+ attr_accessor :rum_session_replay_add_on_agg_sum
494
+
471
495
  # Shows the sum of RUM sessions (browser and mobile) over all hours in the current month for all organizations.
472
496
  attr_accessor :rum_total_session_count_agg_sum
473
497
 
@@ -652,6 +676,8 @@ module DatadogAPIClient::V1
652
676
  :'last_updated' => :'last_updated',
653
677
  :'live_indexed_events_agg_sum' => :'live_indexed_events_agg_sum',
654
678
  :'live_ingested_bytes_agg_sum' => :'live_ingested_bytes_agg_sum',
679
+ :'llm_observability_agg_sum' => :'llm_observability_agg_sum',
680
+ :'llm_observability_min_spend_agg_sum' => :'llm_observability_min_spend_agg_sum',
655
681
  :'logs_by_retention' => :'logs_by_retention',
656
682
  :'mobile_rum_lite_session_count_agg_sum' => :'mobile_rum_lite_session_count_agg_sum',
657
683
  :'mobile_rum_session_count_agg_sum' => :'mobile_rum_session_count_agg_sum',
@@ -663,6 +689,7 @@ module DatadogAPIClient::V1
663
689
  :'mobile_rum_units_agg_sum' => :'mobile_rum_units_agg_sum',
664
690
  :'ndm_netflow_events_agg_sum' => :'ndm_netflow_events_agg_sum',
665
691
  :'netflow_indexed_events_count_agg_sum' => :'netflow_indexed_events_count_agg_sum',
692
+ :'network_device_wireless_top99p_sum' => :'network_device_wireless_top99p_sum',
666
693
  :'npm_host_top99p_sum' => :'npm_host_top99p_sum',
667
694
  :'observability_pipelines_bytes_processed_agg_sum' => :'observability_pipelines_bytes_processed_agg_sum',
668
695
  :'oci_host_agg_sum' => :'oci_host_agg_sum',
@@ -670,15 +697,19 @@ module DatadogAPIClient::V1
670
697
  :'online_archive_events_count_agg_sum' => :'online_archive_events_count_agg_sum',
671
698
  :'opentelemetry_apm_host_top99p_sum' => :'opentelemetry_apm_host_top99p_sum',
672
699
  :'opentelemetry_host_top99p_sum' => :'opentelemetry_host_top99p_sum',
700
+ :'product_analytics_agg_sum' => :'product_analytics_agg_sum',
673
701
  :'profiling_aas_count_top99p_sum' => :'profiling_aas_count_top99p_sum',
674
702
  :'profiling_container_agent_count_avg' => :'profiling_container_agent_count_avg',
675
703
  :'profiling_host_count_top99p_sum' => :'profiling_host_count_top99p_sum',
704
+ :'published_app_hwm_sum' => :'published_app_hwm_sum',
676
705
  :'rehydrated_indexed_events_agg_sum' => :'rehydrated_indexed_events_agg_sum',
677
706
  :'rehydrated_ingested_bytes_agg_sum' => :'rehydrated_ingested_bytes_agg_sum',
678
707
  :'rum_browser_and_mobile_session_count' => :'rum_browser_and_mobile_session_count',
679
708
  :'rum_browser_legacy_session_count_agg_sum' => :'rum_browser_legacy_session_count_agg_sum',
680
709
  :'rum_browser_lite_session_count_agg_sum' => :'rum_browser_lite_session_count_agg_sum',
681
710
  :'rum_browser_replay_session_count_agg_sum' => :'rum_browser_replay_session_count_agg_sum',
711
+ :'rum_indexed_sessions_agg_sum' => :'rum_indexed_sessions_agg_sum',
712
+ :'rum_ingested_sessions_agg_sum' => :'rum_ingested_sessions_agg_sum',
682
713
  :'rum_lite_session_count_agg_sum' => :'rum_lite_session_count_agg_sum',
683
714
  :'rum_mobile_legacy_session_count_android_agg_sum' => :'rum_mobile_legacy_session_count_android_agg_sum',
684
715
  :'rum_mobile_legacy_session_count_flutter_agg_sum' => :'rum_mobile_legacy_session_count_flutter_agg_sum',
@@ -698,6 +729,7 @@ module DatadogAPIClient::V1
698
729
  :'rum_mobile_replay_session_count_reactnative_agg_sum' => :'rum_mobile_replay_session_count_reactnative_agg_sum',
699
730
  :'rum_replay_session_count_agg_sum' => :'rum_replay_session_count_agg_sum',
700
731
  :'rum_session_count_agg_sum' => :'rum_session_count_agg_sum',
732
+ :'rum_session_replay_add_on_agg_sum' => :'rum_session_replay_add_on_agg_sum',
701
733
  :'rum_total_session_count_agg_sum' => :'rum_total_session_count_agg_sum',
702
734
  :'rum_units_agg_sum' => :'rum_units_agg_sum',
703
735
  :'sca_fargate_count_avg_sum' => :'sca_fargate_count_avg_sum',
@@ -833,6 +865,8 @@ module DatadogAPIClient::V1
833
865
  :'last_updated' => :'Time',
834
866
  :'live_indexed_events_agg_sum' => :'Integer',
835
867
  :'live_ingested_bytes_agg_sum' => :'Integer',
868
+ :'llm_observability_agg_sum' => :'Integer',
869
+ :'llm_observability_min_spend_agg_sum' => :'Integer',
836
870
  :'logs_by_retention' => :'LogsByRetention',
837
871
  :'mobile_rum_lite_session_count_agg_sum' => :'Integer',
838
872
  :'mobile_rum_session_count_agg_sum' => :'Integer',
@@ -844,6 +878,7 @@ module DatadogAPIClient::V1
844
878
  :'mobile_rum_units_agg_sum' => :'Integer',
845
879
  :'ndm_netflow_events_agg_sum' => :'Integer',
846
880
  :'netflow_indexed_events_count_agg_sum' => :'Integer',
881
+ :'network_device_wireless_top99p_sum' => :'Integer',
847
882
  :'npm_host_top99p_sum' => :'Integer',
848
883
  :'observability_pipelines_bytes_processed_agg_sum' => :'Integer',
849
884
  :'oci_host_agg_sum' => :'Integer',
@@ -851,15 +886,19 @@ module DatadogAPIClient::V1
851
886
  :'online_archive_events_count_agg_sum' => :'Integer',
852
887
  :'opentelemetry_apm_host_top99p_sum' => :'Integer',
853
888
  :'opentelemetry_host_top99p_sum' => :'Integer',
889
+ :'product_analytics_agg_sum' => :'Integer',
854
890
  :'profiling_aas_count_top99p_sum' => :'Integer',
855
891
  :'profiling_container_agent_count_avg' => :'Integer',
856
892
  :'profiling_host_count_top99p_sum' => :'Integer',
893
+ :'published_app_hwm_sum' => :'Integer',
857
894
  :'rehydrated_indexed_events_agg_sum' => :'Integer',
858
895
  :'rehydrated_ingested_bytes_agg_sum' => :'Integer',
859
896
  :'rum_browser_and_mobile_session_count' => :'Integer',
860
897
  :'rum_browser_legacy_session_count_agg_sum' => :'Integer',
861
898
  :'rum_browser_lite_session_count_agg_sum' => :'Integer',
862
899
  :'rum_browser_replay_session_count_agg_sum' => :'Integer',
900
+ :'rum_indexed_sessions_agg_sum' => :'Integer',
901
+ :'rum_ingested_sessions_agg_sum' => :'Integer',
863
902
  :'rum_lite_session_count_agg_sum' => :'Integer',
864
903
  :'rum_mobile_legacy_session_count_android_agg_sum' => :'Integer',
865
904
  :'rum_mobile_legacy_session_count_flutter_agg_sum' => :'Integer',
@@ -879,6 +918,7 @@ module DatadogAPIClient::V1
879
918
  :'rum_mobile_replay_session_count_reactnative_agg_sum' => :'Integer',
880
919
  :'rum_replay_session_count_agg_sum' => :'Integer',
881
920
  :'rum_session_count_agg_sum' => :'Integer',
921
+ :'rum_session_replay_add_on_agg_sum' => :'Integer',
882
922
  :'rum_total_session_count_agg_sum' => :'Integer',
883
923
  :'rum_units_agg_sum' => :'Integer',
884
924
  :'sca_fargate_count_avg_sum' => :'Integer',
@@ -1337,6 +1377,14 @@ module DatadogAPIClient::V1
1337
1377
  self.live_ingested_bytes_agg_sum = attributes[:'live_ingested_bytes_agg_sum']
1338
1378
  end
1339
1379
 
1380
+ if attributes.key?(:'llm_observability_agg_sum')
1381
+ self.llm_observability_agg_sum = attributes[:'llm_observability_agg_sum']
1382
+ end
1383
+
1384
+ if attributes.key?(:'llm_observability_min_spend_agg_sum')
1385
+ self.llm_observability_min_spend_agg_sum = attributes[:'llm_observability_min_spend_agg_sum']
1386
+ end
1387
+
1340
1388
  if attributes.key?(:'logs_by_retention')
1341
1389
  self.logs_by_retention = attributes[:'logs_by_retention']
1342
1390
  end
@@ -1381,6 +1429,10 @@ module DatadogAPIClient::V1
1381
1429
  self.netflow_indexed_events_count_agg_sum = attributes[:'netflow_indexed_events_count_agg_sum']
1382
1430
  end
1383
1431
 
1432
+ if attributes.key?(:'network_device_wireless_top99p_sum')
1433
+ self.network_device_wireless_top99p_sum = attributes[:'network_device_wireless_top99p_sum']
1434
+ end
1435
+
1384
1436
  if attributes.key?(:'npm_host_top99p_sum')
1385
1437
  self.npm_host_top99p_sum = attributes[:'npm_host_top99p_sum']
1386
1438
  end
@@ -1409,6 +1461,10 @@ module DatadogAPIClient::V1
1409
1461
  self.opentelemetry_host_top99p_sum = attributes[:'opentelemetry_host_top99p_sum']
1410
1462
  end
1411
1463
 
1464
+ if attributes.key?(:'product_analytics_agg_sum')
1465
+ self.product_analytics_agg_sum = attributes[:'product_analytics_agg_sum']
1466
+ end
1467
+
1412
1468
  if attributes.key?(:'profiling_aas_count_top99p_sum')
1413
1469
  self.profiling_aas_count_top99p_sum = attributes[:'profiling_aas_count_top99p_sum']
1414
1470
  end
@@ -1421,6 +1477,10 @@ module DatadogAPIClient::V1
1421
1477
  self.profiling_host_count_top99p_sum = attributes[:'profiling_host_count_top99p_sum']
1422
1478
  end
1423
1479
 
1480
+ if attributes.key?(:'published_app_hwm_sum')
1481
+ self.published_app_hwm_sum = attributes[:'published_app_hwm_sum']
1482
+ end
1483
+
1424
1484
  if attributes.key?(:'rehydrated_indexed_events_agg_sum')
1425
1485
  self.rehydrated_indexed_events_agg_sum = attributes[:'rehydrated_indexed_events_agg_sum']
1426
1486
  end
@@ -1445,6 +1505,14 @@ module DatadogAPIClient::V1
1445
1505
  self.rum_browser_replay_session_count_agg_sum = attributes[:'rum_browser_replay_session_count_agg_sum']
1446
1506
  end
1447
1507
 
1508
+ if attributes.key?(:'rum_indexed_sessions_agg_sum')
1509
+ self.rum_indexed_sessions_agg_sum = attributes[:'rum_indexed_sessions_agg_sum']
1510
+ end
1511
+
1512
+ if attributes.key?(:'rum_ingested_sessions_agg_sum')
1513
+ self.rum_ingested_sessions_agg_sum = attributes[:'rum_ingested_sessions_agg_sum']
1514
+ end
1515
+
1448
1516
  if attributes.key?(:'rum_lite_session_count_agg_sum')
1449
1517
  self.rum_lite_session_count_agg_sum = attributes[:'rum_lite_session_count_agg_sum']
1450
1518
  end
@@ -1521,6 +1589,10 @@ module DatadogAPIClient::V1
1521
1589
  self.rum_session_count_agg_sum = attributes[:'rum_session_count_agg_sum']
1522
1590
  end
1523
1591
 
1592
+ if attributes.key?(:'rum_session_replay_add_on_agg_sum')
1593
+ self.rum_session_replay_add_on_agg_sum = attributes[:'rum_session_replay_add_on_agg_sum']
1594
+ end
1595
+
1524
1596
  if attributes.key?(:'rum_total_session_count_agg_sum')
1525
1597
  self.rum_total_session_count_agg_sum = attributes[:'rum_total_session_count_agg_sum']
1526
1598
  end
@@ -1753,6 +1825,8 @@ module DatadogAPIClient::V1
1753
1825
  last_updated == o.last_updated &&
1754
1826
  live_indexed_events_agg_sum == o.live_indexed_events_agg_sum &&
1755
1827
  live_ingested_bytes_agg_sum == o.live_ingested_bytes_agg_sum &&
1828
+ llm_observability_agg_sum == o.llm_observability_agg_sum &&
1829
+ llm_observability_min_spend_agg_sum == o.llm_observability_min_spend_agg_sum &&
1756
1830
  logs_by_retention == o.logs_by_retention &&
1757
1831
  mobile_rum_lite_session_count_agg_sum == o.mobile_rum_lite_session_count_agg_sum &&
1758
1832
  mobile_rum_session_count_agg_sum == o.mobile_rum_session_count_agg_sum &&
@@ -1764,6 +1838,7 @@ module DatadogAPIClient::V1
1764
1838
  mobile_rum_units_agg_sum == o.mobile_rum_units_agg_sum &&
1765
1839
  ndm_netflow_events_agg_sum == o.ndm_netflow_events_agg_sum &&
1766
1840
  netflow_indexed_events_count_agg_sum == o.netflow_indexed_events_count_agg_sum &&
1841
+ network_device_wireless_top99p_sum == o.network_device_wireless_top99p_sum &&
1767
1842
  npm_host_top99p_sum == o.npm_host_top99p_sum &&
1768
1843
  observability_pipelines_bytes_processed_agg_sum == o.observability_pipelines_bytes_processed_agg_sum &&
1769
1844
  oci_host_agg_sum == o.oci_host_agg_sum &&
@@ -1771,15 +1846,19 @@ module DatadogAPIClient::V1
1771
1846
  online_archive_events_count_agg_sum == o.online_archive_events_count_agg_sum &&
1772
1847
  opentelemetry_apm_host_top99p_sum == o.opentelemetry_apm_host_top99p_sum &&
1773
1848
  opentelemetry_host_top99p_sum == o.opentelemetry_host_top99p_sum &&
1849
+ product_analytics_agg_sum == o.product_analytics_agg_sum &&
1774
1850
  profiling_aas_count_top99p_sum == o.profiling_aas_count_top99p_sum &&
1775
1851
  profiling_container_agent_count_avg == o.profiling_container_agent_count_avg &&
1776
1852
  profiling_host_count_top99p_sum == o.profiling_host_count_top99p_sum &&
1853
+ published_app_hwm_sum == o.published_app_hwm_sum &&
1777
1854
  rehydrated_indexed_events_agg_sum == o.rehydrated_indexed_events_agg_sum &&
1778
1855
  rehydrated_ingested_bytes_agg_sum == o.rehydrated_ingested_bytes_agg_sum &&
1779
1856
  rum_browser_and_mobile_session_count == o.rum_browser_and_mobile_session_count &&
1780
1857
  rum_browser_legacy_session_count_agg_sum == o.rum_browser_legacy_session_count_agg_sum &&
1781
1858
  rum_browser_lite_session_count_agg_sum == o.rum_browser_lite_session_count_agg_sum &&
1782
1859
  rum_browser_replay_session_count_agg_sum == o.rum_browser_replay_session_count_agg_sum &&
1860
+ rum_indexed_sessions_agg_sum == o.rum_indexed_sessions_agg_sum &&
1861
+ rum_ingested_sessions_agg_sum == o.rum_ingested_sessions_agg_sum &&
1783
1862
  rum_lite_session_count_agg_sum == o.rum_lite_session_count_agg_sum &&
1784
1863
  rum_mobile_legacy_session_count_android_agg_sum == o.rum_mobile_legacy_session_count_android_agg_sum &&
1785
1864
  rum_mobile_legacy_session_count_flutter_agg_sum == o.rum_mobile_legacy_session_count_flutter_agg_sum &&
@@ -1799,6 +1878,7 @@ module DatadogAPIClient::V1
1799
1878
  rum_mobile_replay_session_count_reactnative_agg_sum == o.rum_mobile_replay_session_count_reactnative_agg_sum &&
1800
1879
  rum_replay_session_count_agg_sum == o.rum_replay_session_count_agg_sum &&
1801
1880
  rum_session_count_agg_sum == o.rum_session_count_agg_sum &&
1881
+ rum_session_replay_add_on_agg_sum == o.rum_session_replay_add_on_agg_sum &&
1802
1882
  rum_total_session_count_agg_sum == o.rum_total_session_count_agg_sum &&
1803
1883
  rum_units_agg_sum == o.rum_units_agg_sum &&
1804
1884
  sca_fargate_count_avg_sum == o.sca_fargate_count_avg_sum &&
@@ -1831,7 +1911,7 @@ module DatadogAPIClient::V1
1831
1911
  # @return [Integer] Hash code
1832
1912
  # @!visibility private
1833
1913
  def hash
1834
- [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_devsecops_host_top99p_sum, apm_fargate_count_avg_sum, apm_host_top99p_sum, appsec_fargate_count_avg_sum, asm_serverless_agg_sum, audit_logs_lines_indexed_agg_sum, audit_trail_enabled_hwm_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_itr_committers_hwm_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, cloud_cost_management_aws_host_count_avg_sum, cloud_cost_management_azure_host_count_avg_sum, cloud_cost_management_gcp_host_count_avg_sum, cloud_cost_management_host_count_avg_sum, cloud_siem_events_agg_sum, code_analysis_sa_committers_hwm_sum, code_analysis_sca_committers_hwm_sum, code_security_host_top99p_sum, container_avg_sum, container_excl_agent_avg_sum, container_hwm_sum, csm_container_enterprise_compliance_count_agg_sum, csm_container_enterprise_cws_count_agg_sum, csm_container_enterprise_total_count_agg_sum, csm_host_enterprise_aas_host_count_top99p_sum, csm_host_enterprise_aws_host_count_top99p_sum, csm_host_enterprise_azure_host_count_top99p_sum, csm_host_enterprise_compliance_host_count_top99p_sum, csm_host_enterprise_cws_host_count_top99p_sum, csm_host_enterprise_gcp_host_count_top99p_sum, csm_host_enterprise_total_host_count_top99p_sum, cspm_aas_host_top99p_sum, cspm_aws_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_gcp_host_top99p_sum, cspm_host_top99p_sum, custom_historical_ts_sum, custom_live_ts_sum, custom_ts_sum, cws_container_avg_sum, cws_fargate_task_avg_sum, cws_host_top99p_sum, data_jobs_monitoring_host_hr_agg_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, eph_infra_host_agent_agg_sum, eph_infra_host_alibaba_agg_sum, eph_infra_host_aws_agg_sum, eph_infra_host_azure_agg_sum, eph_infra_host_ent_agg_sum, eph_infra_host_gcp_agg_sum, eph_infra_host_heroku_agg_sum, eph_infra_host_only_aas_agg_sum, eph_infra_host_only_vsphere_agg_sum, eph_infra_host_opentelemetry_agg_sum, eph_infra_host_opentelemetry_apm_agg_sum, eph_infra_host_pro_agg_sum, eph_infra_host_proplus_agg_sum, error_tracking_apm_error_events_agg_sum, error_tracking_error_events_agg_sum, error_tracking_events_agg_sum, error_tracking_rum_error_events_agg_sum, fargate_container_profiler_profiling_fargate_avg_sum, fargate_container_profiler_profiling_fargate_eks_avg_sum, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, flex_logs_compute_large_avg_sum, flex_logs_compute_medium_avg_sum, flex_logs_compute_small_avg_sum, flex_logs_compute_xsmall_avg_sum, flex_logs_starter_avg_sum, flex_logs_starter_storage_index_avg_sum, flex_logs_starter_storage_retention_adjustment_avg_sum, flex_stored_logs_avg_sum, forwarding_events_bytes_agg_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_flutter_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_session_count_reactnative_agg_sum, mobile_rum_session_count_roku_agg_sum, mobile_rum_units_agg_sum, ndm_netflow_events_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, observability_pipelines_bytes_processed_agg_sum, oci_host_agg_sum, oci_host_top99p_sum, online_archive_events_count_agg_sum, opentelemetry_apm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_aas_count_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_browser_legacy_session_count_agg_sum, rum_browser_lite_session_count_agg_sum, rum_browser_replay_session_count_agg_sum, rum_lite_session_count_agg_sum, rum_mobile_legacy_session_count_android_agg_sum, rum_mobile_legacy_session_count_flutter_agg_sum, rum_mobile_legacy_session_count_ios_agg_sum, rum_mobile_legacy_session_count_reactnative_agg_sum, rum_mobile_legacy_session_count_roku_agg_sum, rum_mobile_lite_session_count_android_agg_sum, rum_mobile_lite_session_count_flutter_agg_sum, rum_mobile_lite_session_count_ios_agg_sum, rum_mobile_lite_session_count_kotlinmultiplatform_agg_sum, rum_mobile_lite_session_count_reactnative_agg_sum, rum_mobile_lite_session_count_roku_agg_sum, rum_mobile_lite_session_count_unity_agg_sum, rum_mobile_replay_session_count_android_agg_sum, rum_mobile_replay_session_count_ios_agg_sum, rum_mobile_replay_session_count_kotlinmultiplatform_agg_sum, rum_mobile_replay_session_count_reactnative_agg_sum, rum_replay_session_count_agg_sum, rum_session_count_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sca_fargate_count_avg_sum, sca_fargate_count_hwm_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg_sum, serverless_apps_google_count_avg_sum, serverless_apps_total_count_avg_sum, siem_analyzed_logs_add_on_count_agg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, synthetics_mobile_test_runs_agg_sum, synthetics_parallel_testing_max_slots_hwm_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, universal_service_monitoring_host_top99p_sum, usage, vsphere_host_top99p_sum, vuln_management_host_count_top99p_sum, workflow_executions_usage_agg_sum, additional_properties].hash
1914
+ [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_devsecops_host_top99p_sum, apm_fargate_count_avg_sum, apm_host_top99p_sum, appsec_fargate_count_avg_sum, asm_serverless_agg_sum, audit_logs_lines_indexed_agg_sum, audit_trail_enabled_hwm_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_itr_committers_hwm_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, cloud_cost_management_aws_host_count_avg_sum, cloud_cost_management_azure_host_count_avg_sum, cloud_cost_management_gcp_host_count_avg_sum, cloud_cost_management_host_count_avg_sum, cloud_siem_events_agg_sum, code_analysis_sa_committers_hwm_sum, code_analysis_sca_committers_hwm_sum, code_security_host_top99p_sum, container_avg_sum, container_excl_agent_avg_sum, container_hwm_sum, csm_container_enterprise_compliance_count_agg_sum, csm_container_enterprise_cws_count_agg_sum, csm_container_enterprise_total_count_agg_sum, csm_host_enterprise_aas_host_count_top99p_sum, csm_host_enterprise_aws_host_count_top99p_sum, csm_host_enterprise_azure_host_count_top99p_sum, csm_host_enterprise_compliance_host_count_top99p_sum, csm_host_enterprise_cws_host_count_top99p_sum, csm_host_enterprise_gcp_host_count_top99p_sum, csm_host_enterprise_total_host_count_top99p_sum, cspm_aas_host_top99p_sum, cspm_aws_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_gcp_host_top99p_sum, cspm_host_top99p_sum, custom_historical_ts_sum, custom_live_ts_sum, custom_ts_sum, cws_container_avg_sum, cws_fargate_task_avg_sum, cws_host_top99p_sum, data_jobs_monitoring_host_hr_agg_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, eph_infra_host_agent_agg_sum, eph_infra_host_alibaba_agg_sum, eph_infra_host_aws_agg_sum, eph_infra_host_azure_agg_sum, eph_infra_host_ent_agg_sum, eph_infra_host_gcp_agg_sum, eph_infra_host_heroku_agg_sum, eph_infra_host_only_aas_agg_sum, eph_infra_host_only_vsphere_agg_sum, eph_infra_host_opentelemetry_agg_sum, eph_infra_host_opentelemetry_apm_agg_sum, eph_infra_host_pro_agg_sum, eph_infra_host_proplus_agg_sum, error_tracking_apm_error_events_agg_sum, error_tracking_error_events_agg_sum, error_tracking_events_agg_sum, error_tracking_rum_error_events_agg_sum, fargate_container_profiler_profiling_fargate_avg_sum, fargate_container_profiler_profiling_fargate_eks_avg_sum, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, flex_logs_compute_large_avg_sum, flex_logs_compute_medium_avg_sum, flex_logs_compute_small_avg_sum, flex_logs_compute_xsmall_avg_sum, flex_logs_starter_avg_sum, flex_logs_starter_storage_index_avg_sum, flex_logs_starter_storage_retention_adjustment_avg_sum, flex_stored_logs_avg_sum, forwarding_events_bytes_agg_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, llm_observability_agg_sum, llm_observability_min_spend_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_flutter_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_session_count_reactnative_agg_sum, mobile_rum_session_count_roku_agg_sum, mobile_rum_units_agg_sum, ndm_netflow_events_agg_sum, netflow_indexed_events_count_agg_sum, network_device_wireless_top99p_sum, npm_host_top99p_sum, observability_pipelines_bytes_processed_agg_sum, oci_host_agg_sum, oci_host_top99p_sum, online_archive_events_count_agg_sum, opentelemetry_apm_host_top99p_sum, opentelemetry_host_top99p_sum, product_analytics_agg_sum, profiling_aas_count_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, published_app_hwm_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_browser_legacy_session_count_agg_sum, rum_browser_lite_session_count_agg_sum, rum_browser_replay_session_count_agg_sum, rum_indexed_sessions_agg_sum, rum_ingested_sessions_agg_sum, rum_lite_session_count_agg_sum, rum_mobile_legacy_session_count_android_agg_sum, rum_mobile_legacy_session_count_flutter_agg_sum, rum_mobile_legacy_session_count_ios_agg_sum, rum_mobile_legacy_session_count_reactnative_agg_sum, rum_mobile_legacy_session_count_roku_agg_sum, rum_mobile_lite_session_count_android_agg_sum, rum_mobile_lite_session_count_flutter_agg_sum, rum_mobile_lite_session_count_ios_agg_sum, rum_mobile_lite_session_count_kotlinmultiplatform_agg_sum, rum_mobile_lite_session_count_reactnative_agg_sum, rum_mobile_lite_session_count_roku_agg_sum, rum_mobile_lite_session_count_unity_agg_sum, rum_mobile_replay_session_count_android_agg_sum, rum_mobile_replay_session_count_ios_agg_sum, rum_mobile_replay_session_count_kotlinmultiplatform_agg_sum, rum_mobile_replay_session_count_reactnative_agg_sum, rum_replay_session_count_agg_sum, rum_session_count_agg_sum, rum_session_replay_add_on_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sca_fargate_count_avg_sum, sca_fargate_count_hwm_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg_sum, serverless_apps_google_count_avg_sum, serverless_apps_total_count_avg_sum, siem_analyzed_logs_add_on_count_agg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, synthetics_mobile_test_runs_agg_sum, synthetics_parallel_testing_max_slots_hwm_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, universal_service_monitoring_host_top99p_sum, usage, vsphere_host_top99p_sum, vuln_management_host_count_top99p_sum, workflow_executions_usage_agg_sum, additional_properties].hash
1835
1915
  end
1836
1916
  end
1837
1917
  end
@@ -304,6 +304,66 @@ module DatadogAPIClient::V2
304
304
  return data, status_code, headers
305
305
  end
306
306
 
307
+ # Get AWS integration IAM permissions.
308
+ #
309
+ # @see #get_aws_integration_iam_permissions_with_http_info
310
+ def get_aws_integration_iam_permissions(opts = {})
311
+ data, _status_code, _headers = get_aws_integration_iam_permissions_with_http_info(opts)
312
+ data
313
+ end
314
+
315
+ # Get AWS integration IAM permissions.
316
+ #
317
+ # Get all AWS IAM permissions required for the AWS integration.
318
+ #
319
+ # @param opts [Hash] the optional parameters
320
+ # @return [Array<(AWSIntegrationIamPermissionsResponse, Integer, Hash)>] AWSIntegrationIamPermissionsResponse data, response status code and response headers
321
+ def get_aws_integration_iam_permissions_with_http_info(opts = {})
322
+
323
+ if @api_client.config.debugging
324
+ @api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.get_aws_integration_iam_permissions ...'
325
+ end
326
+ # resource path
327
+ local_var_path = '/api/v2/integration/aws/iam_permissions'
328
+
329
+ # query parameters
330
+ query_params = opts[:query_params] || {}
331
+
332
+ # header parameters
333
+ header_params = opts[:header_params] || {}
334
+ # HTTP header 'Accept' (if needed)
335
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
336
+
337
+ # form parameters
338
+ form_params = opts[:form_params] || {}
339
+
340
+ # http body (model)
341
+ post_body = opts[:debug_body]
342
+
343
+ # return_type
344
+ return_type = opts[:debug_return_type] || 'AWSIntegrationIamPermissionsResponse'
345
+
346
+ # auth_names
347
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
348
+
349
+ new_options = opts.merge(
350
+ :operation => :get_aws_integration_iam_permissions,
351
+ :header_params => header_params,
352
+ :query_params => query_params,
353
+ :form_params => form_params,
354
+ :body => post_body,
355
+ :auth_names => auth_names,
356
+ :return_type => return_type,
357
+ :api_version => "V2"
358
+ )
359
+
360
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
361
+ if @api_client.config.debugging
362
+ @api_client.config.logger.debug "API called: AWSIntegrationAPI#get_aws_integration_iam_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
363
+ end
364
+ return data, status_code, headers
365
+ end
366
+
307
367
  # List all AWS integrations.
308
368
  #
309
369
  # @see #list_aws_accounts_with_http_info
@@ -157,6 +157,73 @@ module DatadogAPIClient::V2
157
157
  return data, status_code, headers
158
158
  end
159
159
 
160
+ # Create Cloud Cost Management GCP Usage Cost config.
161
+ #
162
+ # @see #create_cost_gcp_usage_cost_config_with_http_info
163
+ def create_cost_gcp_usage_cost_config(body, opts = {})
164
+ data, _status_code, _headers = create_cost_gcp_usage_cost_config_with_http_info(body, opts)
165
+ data
166
+ end
167
+
168
+ # Create Cloud Cost Management GCP Usage Cost config.
169
+ #
170
+ # Create a Cloud Cost Management account for an GCP Usage Cost config.
171
+ #
172
+ # @param body [GCPUsageCostConfigPostRequest]
173
+ # @param opts [Hash] the optional parameters
174
+ # @return [Array<(GCPUsageCostConfigResponse, Integer, Hash)>] GCPUsageCostConfigResponse data, response status code and response headers
175
+ def create_cost_gcp_usage_cost_config_with_http_info(body, opts = {})
176
+
177
+ if @api_client.config.debugging
178
+ @api_client.config.logger.debug 'Calling API: CloudCostManagementAPI.create_cost_gcp_usage_cost_config ...'
179
+ end
180
+ # verify the required parameter 'body' is set
181
+ if @api_client.config.client_side_validation && body.nil?
182
+ fail ArgumentError, "Missing the required parameter 'body' when calling CloudCostManagementAPI.create_cost_gcp_usage_cost_config"
183
+ end
184
+ # resource path
185
+ local_var_path = '/api/v2/cost/gcp_uc_config'
186
+
187
+ # query parameters
188
+ query_params = opts[:query_params] || {}
189
+
190
+ # header parameters
191
+ header_params = opts[:header_params] || {}
192
+ # HTTP header 'Accept' (if needed)
193
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
194
+ # HTTP header 'Content-Type'
195
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
196
+
197
+ # form parameters
198
+ form_params = opts[:form_params] || {}
199
+
200
+ # http body (model)
201
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
202
+
203
+ # return_type
204
+ return_type = opts[:debug_return_type] || 'GCPUsageCostConfigResponse'
205
+
206
+ # auth_names
207
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
208
+
209
+ new_options = opts.merge(
210
+ :operation => :create_cost_gcp_usage_cost_config,
211
+ :header_params => header_params,
212
+ :query_params => query_params,
213
+ :form_params => form_params,
214
+ :body => post_body,
215
+ :auth_names => auth_names,
216
+ :return_type => return_type,
217
+ :api_version => "V2"
218
+ )
219
+
220
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
221
+ if @api_client.config.debugging
222
+ @api_client.config.logger.debug "API called: CloudCostManagementAPI#create_cost_gcp_usage_cost_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
223
+ end
224
+ return data, status_code, headers
225
+ end
226
+
160
227
  # Delete a budget.
161
228
  #
162
229
  # @see #delete_budget_with_http_info
@@ -352,6 +419,71 @@ module DatadogAPIClient::V2
352
419
  return data, status_code, headers
353
420
  end
354
421
 
422
+ # Delete Cloud Cost Management GCP Usage Cost config.
423
+ #
424
+ # @see #delete_cost_gcp_usage_cost_config_with_http_info
425
+ def delete_cost_gcp_usage_cost_config(cloud_account_id, opts = {})
426
+ delete_cost_gcp_usage_cost_config_with_http_info(cloud_account_id, opts)
427
+ nil
428
+ end
429
+
430
+ # Delete Cloud Cost Management GCP Usage Cost config.
431
+ #
432
+ # Archive a Cloud Cost Management account.
433
+ #
434
+ # @param cloud_account_id [String] Cloud Account id.
435
+ # @param opts [Hash] the optional parameters
436
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
437
+ def delete_cost_gcp_usage_cost_config_with_http_info(cloud_account_id, opts = {})
438
+
439
+ if @api_client.config.debugging
440
+ @api_client.config.logger.debug 'Calling API: CloudCostManagementAPI.delete_cost_gcp_usage_cost_config ...'
441
+ end
442
+ # verify the required parameter 'cloud_account_id' is set
443
+ if @api_client.config.client_side_validation && cloud_account_id.nil?
444
+ fail ArgumentError, "Missing the required parameter 'cloud_account_id' when calling CloudCostManagementAPI.delete_cost_gcp_usage_cost_config"
445
+ end
446
+ # resource path
447
+ local_var_path = '/api/v2/cost/gcp_uc_config/{cloud_account_id}'.sub('{cloud_account_id}', CGI.escape(cloud_account_id.to_s).gsub('%2F', '/'))
448
+
449
+ # query parameters
450
+ query_params = opts[:query_params] || {}
451
+
452
+ # header parameters
453
+ header_params = opts[:header_params] || {}
454
+ # HTTP header 'Accept' (if needed)
455
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
456
+
457
+ # form parameters
458
+ form_params = opts[:form_params] || {}
459
+
460
+ # http body (model)
461
+ post_body = opts[:debug_body]
462
+
463
+ # return_type
464
+ return_type = opts[:debug_return_type]
465
+
466
+ # auth_names
467
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
468
+
469
+ new_options = opts.merge(
470
+ :operation => :delete_cost_gcp_usage_cost_config,
471
+ :header_params => header_params,
472
+ :query_params => query_params,
473
+ :form_params => form_params,
474
+ :body => post_body,
475
+ :auth_names => auth_names,
476
+ :return_type => return_type,
477
+ :api_version => "V2"
478
+ )
479
+
480
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
481
+ if @api_client.config.debugging
482
+ @api_client.config.logger.debug "API called: CloudCostManagementAPI#delete_cost_gcp_usage_cost_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
483
+ end
484
+ return data, status_code, headers
485
+ end
486
+
355
487
  # Delete Custom Costs file.
356
488
  #
357
489
  # @see #delete_custom_costs_file_with_http_info
@@ -727,6 +859,66 @@ module DatadogAPIClient::V2
727
859
  return data, status_code, headers
728
860
  end
729
861
 
862
+ # List Cloud Cost Management GCP Usage Cost configs.
863
+ #
864
+ # @see #list_cost_gcp_usage_cost_configs_with_http_info
865
+ def list_cost_gcp_usage_cost_configs(opts = {})
866
+ data, _status_code, _headers = list_cost_gcp_usage_cost_configs_with_http_info(opts)
867
+ data
868
+ end
869
+
870
+ # List Cloud Cost Management GCP Usage Cost configs.
871
+ #
872
+ # List the GCP Usage Cost configs.
873
+ #
874
+ # @param opts [Hash] the optional parameters
875
+ # @return [Array<(GCPUsageCostConfigsResponse, Integer, Hash)>] GCPUsageCostConfigsResponse data, response status code and response headers
876
+ def list_cost_gcp_usage_cost_configs_with_http_info(opts = {})
877
+
878
+ if @api_client.config.debugging
879
+ @api_client.config.logger.debug 'Calling API: CloudCostManagementAPI.list_cost_gcp_usage_cost_configs ...'
880
+ end
881
+ # resource path
882
+ local_var_path = '/api/v2/cost/gcp_uc_config'
883
+
884
+ # query parameters
885
+ query_params = opts[:query_params] || {}
886
+
887
+ # header parameters
888
+ header_params = opts[:header_params] || {}
889
+ # HTTP header 'Accept' (if needed)
890
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
891
+
892
+ # form parameters
893
+ form_params = opts[:form_params] || {}
894
+
895
+ # http body (model)
896
+ post_body = opts[:debug_body]
897
+
898
+ # return_type
899
+ return_type = opts[:debug_return_type] || 'GCPUsageCostConfigsResponse'
900
+
901
+ # auth_names
902
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
903
+
904
+ new_options = opts.merge(
905
+ :operation => :list_cost_gcp_usage_cost_configs,
906
+ :header_params => header_params,
907
+ :query_params => query_params,
908
+ :form_params => form_params,
909
+ :body => post_body,
910
+ :auth_names => auth_names,
911
+ :return_type => return_type,
912
+ :api_version => "V2"
913
+ )
914
+
915
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
916
+ if @api_client.config.debugging
917
+ @api_client.config.logger.debug "API called: CloudCostManagementAPI#list_cost_gcp_usage_cost_configs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
918
+ end
919
+ return data, status_code, headers
920
+ end
921
+
730
922
  # List Custom Costs files.
731
923
  #
732
924
  # @see #list_custom_costs_files_with_http_info
@@ -931,6 +1123,78 @@ module DatadogAPIClient::V2
931
1123
  return data, status_code, headers
932
1124
  end
933
1125
 
1126
+ # Update Cloud Cost Management GCP Usage Cost config.
1127
+ #
1128
+ # @see #update_cost_gcp_usage_cost_config_with_http_info
1129
+ def update_cost_gcp_usage_cost_config(cloud_account_id, body, opts = {})
1130
+ data, _status_code, _headers = update_cost_gcp_usage_cost_config_with_http_info(cloud_account_id, body, opts)
1131
+ data
1132
+ end
1133
+
1134
+ # Update Cloud Cost Management GCP Usage Cost config.
1135
+ #
1136
+ # Update the status of an GCP Usage Cost config (active/archived).
1137
+ #
1138
+ # @param cloud_account_id [String] Cloud Account id.
1139
+ # @param body [GCPUsageCostConfigPatchRequest]
1140
+ # @param opts [Hash] the optional parameters
1141
+ # @return [Array<(GCPUsageCostConfigResponse, Integer, Hash)>] GCPUsageCostConfigResponse data, response status code and response headers
1142
+ def update_cost_gcp_usage_cost_config_with_http_info(cloud_account_id, body, opts = {})
1143
+
1144
+ if @api_client.config.debugging
1145
+ @api_client.config.logger.debug 'Calling API: CloudCostManagementAPI.update_cost_gcp_usage_cost_config ...'
1146
+ end
1147
+ # verify the required parameter 'cloud_account_id' is set
1148
+ if @api_client.config.client_side_validation && cloud_account_id.nil?
1149
+ fail ArgumentError, "Missing the required parameter 'cloud_account_id' when calling CloudCostManagementAPI.update_cost_gcp_usage_cost_config"
1150
+ end
1151
+ # verify the required parameter 'body' is set
1152
+ if @api_client.config.client_side_validation && body.nil?
1153
+ fail ArgumentError, "Missing the required parameter 'body' when calling CloudCostManagementAPI.update_cost_gcp_usage_cost_config"
1154
+ end
1155
+ # resource path
1156
+ local_var_path = '/api/v2/cost/gcp_uc_config/{cloud_account_id}'.sub('{cloud_account_id}', CGI.escape(cloud_account_id.to_s).gsub('%2F', '/'))
1157
+
1158
+ # query parameters
1159
+ query_params = opts[:query_params] || {}
1160
+
1161
+ # header parameters
1162
+ header_params = opts[:header_params] || {}
1163
+ # HTTP header 'Accept' (if needed)
1164
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1165
+ # HTTP header 'Content-Type'
1166
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1167
+
1168
+ # form parameters
1169
+ form_params = opts[:form_params] || {}
1170
+
1171
+ # http body (model)
1172
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1173
+
1174
+ # return_type
1175
+ return_type = opts[:debug_return_type] || 'GCPUsageCostConfigResponse'
1176
+
1177
+ # auth_names
1178
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1179
+
1180
+ new_options = opts.merge(
1181
+ :operation => :update_cost_gcp_usage_cost_config,
1182
+ :header_params => header_params,
1183
+ :query_params => query_params,
1184
+ :form_params => form_params,
1185
+ :body => post_body,
1186
+ :auth_names => auth_names,
1187
+ :return_type => return_type,
1188
+ :api_version => "V2"
1189
+ )
1190
+
1191
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
1192
+ if @api_client.config.debugging
1193
+ @api_client.config.logger.debug "API called: CloudCostManagementAPI#update_cost_gcp_usage_cost_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1194
+ end
1195
+ return data, status_code, headers
1196
+ end
1197
+
934
1198
  # Upload Custom Costs file.
935
1199
  #
936
1200
  # @see #upload_custom_costs_file_with_http_info