datadog_api_client 2.22.0 → 2.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +130 -60
  4. data/.generator/schemas/v2/openapi.yaml +149 -152
  5. data/CHANGELOG.md +18 -1
  6. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
  7. data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +8 -0
  8. data/examples/v1/synthetics/UpdateAPITest.rb +8 -0
  9. data/examples/v2/{cloud-workload-security → csm-threats}/CreateCSMThreatsAgentRule.rb +2 -2
  10. data/examples/v2/{cloud-workload-security → csm-threats}/CreateCloudWorkloadSecurityAgentRule.rb +2 -2
  11. data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCSMThreatsAgentRule.rb +1 -1
  12. data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCloudWorkloadSecurityAgentRule.rb +1 -1
  13. data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCSMThreatsPolicy.rb +1 -1
  14. data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCloudWorkloadPolicyFile.rb +1 -1
  15. data/examples/v2/{cloud-workload-security → csm-threats}/GetCSMThreatsAgentRule.rb +1 -1
  16. data/examples/v2/{cloud-workload-security → csm-threats}/GetCloudWorkloadSecurityAgentRule.rb +1 -1
  17. data/examples/v2/{cloud-workload-security → csm-threats}/ListCSMThreatsAgentRules.rb +1 -1
  18. data/examples/v2/{cloud-workload-security → csm-threats}/ListCloudWorkloadSecurityAgentRules.rb +1 -1
  19. data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCSMThreatsAgentRule.rb +1 -1
  20. data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCloudWorkloadSecurityAgentRule.rb +1 -1
  21. data/examples/v2/roles/CreateRole.rb +14 -2
  22. data/examples/v2/roles/CreateRole_3862893229.rb +27 -0
  23. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -1
  24. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +1 -1
  25. data/lib/datadog_api_client/inflector.rb +6 -1
  26. data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
  27. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +1 -1
  28. data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +1 -1
  29. data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +3 -3
  30. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +11 -7
  31. data/lib/datadog_api_client/v1/api/users_api.rb +1 -1
  32. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  33. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  34. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  35. data/lib/datadog_api_client/v1/models/service_level_objective.rb +2 -1
  36. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +2 -1
  37. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +7 -1
  38. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +8 -1
  39. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +2 -1
  40. data/lib/datadog_api_client/v1/models/slo_response_data.rb +2 -1
  41. data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -1
  42. data/lib/datadog_api_client/v1/models/slo_timeframe.rb +2 -1
  43. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +14 -4
  44. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -0
  45. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb +27 -0
  46. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb +26 -0
  47. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb +129 -0
  48. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target_target.rb +90 -0
  49. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +11 -1
  50. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +2 -2
  51. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +2 -2
  52. data/lib/datadog_api_client/v2/api/case_management_api.rb +17 -16
  53. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +10 -10
  54. data/lib/datadog_api_client/v2/api/{cloud_workload_security_api.rb → csm_threats_api.rb} +35 -35
  55. data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
  56. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
  57. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
  58. data/lib/datadog_api_client/v2/api/logs_archives_api.rb +4 -4
  59. data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +2 -2
  60. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -3
  61. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +2 -2
  62. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +2 -1
  63. data/lib/datadog_api_client/v2/api/spans_api.rb +3 -3
  64. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +10 -1
  65. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +1 -1
  66. data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +2 -1
  67. data/lib/datadog_api_client/v2/models/retention_filter_create_response.rb +80 -0
  68. data/lib/datadog_api_client/v2/models/retention_filter_response.rb +1 -1
  69. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  70. data/lib/datadog_api_client/v2/models/user_team_included.rb +2 -1
  71. data/lib/datadog_api_client/version.rb +1 -1
  72. metadata +21 -15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.23.0 / 2024-05-22
4
+
5
+ ### Fixed
6
+ * fix case search documentation by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1805
7
+ ### Added
8
+ * Add support variablesFromScript in Synthetics API test by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1807
9
+ * Add JSONSchema assertion support to API and multistep tests by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1782
10
+ * add 1 day logs to usage api docs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1811
11
+ * Update UserTeamIncluded to include teams by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1816
12
+ * Security Monitoring - Make Default Tags available in the response by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1823
13
+ * Add flex logs storage tier by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1825
14
+ ### Changed
15
+ * Rename the Cloud Workload Security tag to CSM Threats by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1815
16
+
17
+
18
+ **Full Changelog**: https://github.com/DataDog/datadog-api-client-ruby/compare/v2.22.0...v2.23.0
19
+
3
20
  ## 2.22.0 / 2024-04-11
4
21
 
5
22
  ### Fixed
@@ -15,7 +32,7 @@
15
32
  * Adding SLO Reporting API Documentation by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1764
16
33
  * Security Monitoring Suppression - Add data_exclusion_query field by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1797
17
34
  * aws api adding extended and deprecating old resource collection field by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1795
18
- ### Changed
35
+ ### [**Breaking**] Changed
19
36
  * Add Team relationship to AuthNMappings by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1726
20
37
  ### Deprecated
21
38
  * Remove deprecated /api/v1/usage/attribution by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1778
@@ -27,6 +27,14 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
27
27
  }),
28
28
  type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
29
29
  }),
30
+ DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTarget.new({
31
+ operator: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaOperator::VALIDATES_JSON_SCHEMA,
32
+ target: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTargetTarget.new({
33
+ meta_schema: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaMetaSchema::DRAFT_07,
34
+ json_schema: '{"type": "object", "properties":{"slideshow":{"type":"object"}}}',
35
+ }),
36
+ type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
37
+ }),
30
38
  DatadogAPIClient::V1::SyntheticsAssertionXPathTarget.new({
31
39
  operator: DatadogAPIClient::V1::SyntheticsAssertionXPathOperator::VALIDATES_X_PATH,
32
40
  target: DatadogAPIClient::V1::SyntheticsAssertionXPathTargetTarget.new({
@@ -45,6 +53,7 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
45
53
  type: DatadogAPIClient::V1::SyntheticsConfigVariableType::TEXT,
46
54
  }),
47
55
  ],
56
+ variables_from_script: 'dd.variable.set("FOO", "foo")',
48
57
  request: DatadogAPIClient::V1::SyntheticsTestRequest.new({
49
58
  certificate: DatadogAPIClient::V1::SyntheticsTestRequestCertificate.new({
50
59
  cert: DatadogAPIClient::V1::SyntheticsTestRequestCertificateItem.new({
@@ -26,6 +26,14 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
26
26
  }),
27
27
  type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
28
28
  }),
29
+ DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTarget.new({
30
+ operator: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaOperator::VALIDATES_JSON_SCHEMA,
31
+ target: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTargetTarget.new({
32
+ meta_schema: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaMetaSchema::DRAFT_07,
33
+ json_schema: '{"type": "object", "properties":{"slideshow":{"type":"object"}}}',
34
+ }),
35
+ type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
36
+ }),
29
37
  DatadogAPIClient::V1::SyntheticsAssertionXPathTarget.new({
30
38
  operator: DatadogAPIClient::V1::SyntheticsAssertionXPathOperator::VALIDATES_X_PATH,
31
39
  target: DatadogAPIClient::V1::SyntheticsAssertionXPathTargetTarget.new({
@@ -29,6 +29,14 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
29
29
  }),
30
30
  type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
31
31
  }),
32
+ DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTarget.new({
33
+ operator: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaOperator::VALIDATES_JSON_SCHEMA,
34
+ target: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTargetTarget.new({
35
+ meta_schema: DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaMetaSchema::DRAFT_07,
36
+ json_schema: '{"type": "object", "properties":{"slideshow":{"type":"object"}}}',
37
+ }),
38
+ type: DatadogAPIClient::V1::SyntheticsAssertionType::BODY,
39
+ }),
32
40
  ],
33
41
  config_variables: [
34
42
  DatadogAPIClient::V1::SyntheticsConfigVariable.new({
@@ -1,7 +1,7 @@
1
1
  # Create a CSM Threats Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  body = DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateRequest.new({
7
7
  data: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateData.new({
@@ -9,7 +9,7 @@ body = DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateRequest.new({
9
9
  description: "My Agent rule",
10
10
  enabled: true,
11
11
  expression: 'exec.file.name == "sh"',
12
- name: "examplecloudworkloadsecurity",
12
+ name: "examplecsmthreat",
13
13
  }),
14
14
  type: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleType::AGENT_RULE,
15
15
  }),
@@ -1,7 +1,7 @@
1
1
  # Create a Cloud Workload Security Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  body = DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateRequest.new({
7
7
  data: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateData.new({
@@ -9,7 +9,7 @@ body = DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateRequest.new({
9
9
  description: "Test Agent rule",
10
10
  enabled: true,
11
11
  expression: 'exec.file.name == "sh"',
12
- name: "examplecloudworkloadsecurity",
12
+ name: "examplecsmthreat",
13
13
  }),
14
14
  type: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleType::AGENT_RULE,
15
15
  }),
@@ -1,7 +1,7 @@
1
1
  # Delete a CSM Threats Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule_rc" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -1,7 +1,7 @@
1
1
  # Delete a Cloud Workload Security Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -1,5 +1,5 @@
1
1
  # Get the latest CSM Threats policy returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
  p api_instance.download_csm_threats_policy()
@@ -1,5 +1,5 @@
1
1
  # Get the latest Cloud Workload Security policy returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
  p api_instance.download_cloud_workload_policy_file()
@@ -1,7 +1,7 @@
1
1
  # Get a CSM Threats Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule_rc" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -1,7 +1,7 @@
1
1
  # Get a Cloud Workload Security Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -1,5 +1,5 @@
1
1
  # Get all CSM Threats Agent rules returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
  p api_instance.list_csm_threats_agent_rules()
@@ -1,5 +1,5 @@
1
1
  # Get all Cloud Workload Security Agent rules returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
  p api_instance.list_cloud_workload_security_agent_rules()
@@ -1,7 +1,7 @@
1
1
  # Update a CSM Threats Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule_rc" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -1,7 +1,7 @@
1
1
  # Update a Cloud Workload Security Agent rule returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
4
+ api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new
5
5
 
6
6
  # there is a valid "agent_rule" in the system
7
7
  AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
@@ -5,10 +5,22 @@ api_instance = DatadogAPIClient::V2::RolesAPI.new
5
5
 
6
6
  body = DatadogAPIClient::V2::RoleCreateRequest.new({
7
7
  data: DatadogAPIClient::V2::RoleCreateData.new({
8
- type: DatadogAPIClient::V2::RolesType::ROLES,
9
8
  attributes: DatadogAPIClient::V2::RoleCreateAttributes.new({
10
- name: "Example-Role",
9
+ name: "developers",
10
+ }),
11
+ relationships: DatadogAPIClient::V2::RoleRelationships.new({
12
+ permissions: DatadogAPIClient::V2::RelationshipToPermissions.new({
13
+ data: [
14
+ DatadogAPIClient::V2::RelationshipToPermissionData.new({
15
+ type: DatadogAPIClient::V2::PermissionsType::PERMISSIONS,
16
+ }),
17
+ ],
18
+ }),
19
+ users: DatadogAPIClient::V2::RelationshipToUsers.new({
20
+ data: [],
21
+ }),
11
22
  }),
23
+ type: DatadogAPIClient::V2::RolesType::ROLES,
12
24
  }),
13
25
  })
14
26
  p api_instance.create_role(body)
@@ -0,0 +1,27 @@
1
+ # Create role with a permission returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RolesAPI.new
5
+
6
+ # there is a valid "permission" in the system
7
+ PERMISSION_ID = ENV["PERMISSION_ID"]
8
+
9
+ body = DatadogAPIClient::V2::RoleCreateRequest.new({
10
+ data: DatadogAPIClient::V2::RoleCreateData.new({
11
+ type: DatadogAPIClient::V2::RolesType::ROLES,
12
+ attributes: DatadogAPIClient::V2::RoleCreateAttributes.new({
13
+ name: "Example-Role",
14
+ }),
15
+ relationships: DatadogAPIClient::V2::RoleRelationships.new({
16
+ permissions: DatadogAPIClient::V2::RelationshipToPermissions.new({
17
+ data: [
18
+ DatadogAPIClient::V2::RelationshipToPermissionData.new({
19
+ id: PERMISSION_ID,
20
+ type: DatadogAPIClient::V2::PermissionsType::PERMISSIONS,
21
+ }),
22
+ ],
23
+ }),
24
+ }),
25
+ }),
26
+ })
27
+ p api_instance.create_role(body)
@@ -8,7 +8,7 @@ body = DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateRequest.new({
8
8
  attributes: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes.new({
9
9
  description: "This rule suppresses low-severity signals in staging environments.",
10
10
  enabled: true,
11
- expiration_date: 1703187336000,
11
+ expiration_date: 1638443471000,
12
12
  name: "Example-Security-Monitoring",
13
13
  rule_query: "type:log_detection source:cloudtrail",
14
14
  suppression_query: "env:staging status:low",
@@ -8,7 +8,7 @@ body = DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateRequest.new({
8
8
  attributes: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes.new({
9
9
  description: "This rule suppresses low-severity signals in staging environments.",
10
10
  enabled: true,
11
- expiration_date: 1703187336000,
11
+ expiration_date: 1638443471000,
12
12
  name: "Example-Security-Monitoring",
13
13
  rule_query: "type:log_detection source:cloudtrail",
14
14
  data_exclusion_query: "account_id:12345",
@@ -549,6 +549,10 @@ module DatadogAPIClient
549
549
  "v1.synthetics_assertion_json_path_operator" => "SyntheticsAssertionJSONPathOperator",
550
550
  "v1.synthetics_assertion_json_path_target" => "SyntheticsAssertionJSONPathTarget",
551
551
  "v1.synthetics_assertion_json_path_target_target" => "SyntheticsAssertionJSONPathTargetTarget",
552
+ "v1.synthetics_assertion_json_schema_meta_schema" => "SyntheticsAssertionJSONSchemaMetaSchema",
553
+ "v1.synthetics_assertion_json_schema_operator" => "SyntheticsAssertionJSONSchemaOperator",
554
+ "v1.synthetics_assertion_json_schema_target" => "SyntheticsAssertionJSONSchemaTarget",
555
+ "v1.synthetics_assertion_json_schema_target_target" => "SyntheticsAssertionJSONSchemaTargetTarget",
552
556
  "v1.synthetics_assertion_operator" => "SyntheticsAssertionOperator",
553
557
  "v1.synthetics_assertion_target" => "SyntheticsAssertionTarget",
554
558
  "v1.synthetics_assertion_timings_scope" => "SyntheticsAssertionTimingsScope",
@@ -1822,6 +1826,7 @@ module DatadogAPIClient
1822
1826
  "v2.retention_filter_create_attributes" => "RetentionFilterCreateAttributes",
1823
1827
  "v2.retention_filter_create_data" => "RetentionFilterCreateData",
1824
1828
  "v2.retention_filter_create_request" => "RetentionFilterCreateRequest",
1829
+ "v2.retention_filter_create_response" => "RetentionFilterCreateResponse",
1825
1830
  "v2.retention_filter_response" => "RetentionFilterResponse",
1826
1831
  "v2.retention_filters_response" => "RetentionFiltersResponse",
1827
1832
  "v2.retention_filter_type" => "RetentionFilterType",
@@ -2340,11 +2345,11 @@ module DatadogAPIClient
2340
2345
  "v2.ci_visibility_pipelines_api" => "CIVisibilityPipelinesAPI",
2341
2346
  "v2.ci_visibility_tests_api" => "CIVisibilityTestsAPI",
2342
2347
  "v2.cloud_cost_management_api" => "CloudCostManagementAPI",
2343
- "v2.cloud_workload_security_api" => "CloudWorkloadSecurityAPI",
2344
2348
  "v2.cloudflare_integration_api" => "CloudflareIntegrationAPI",
2345
2349
  "v2.confluent_cloud_api" => "ConfluentCloudAPI",
2346
2350
  "v2.container_images_api" => "ContainerImagesAPI",
2347
2351
  "v2.containers_api" => "ContainersAPI",
2352
+ "v2.csm_threats_api" => "CSMThreatsAPI",
2348
2353
  "v2.dashboard_lists_api" => "DashboardListsAPI",
2349
2354
  "v2.dora_metrics_api" => "DORAMetricsAPI",
2350
2355
  "v2.downtimes_api" => "DowntimesAPI",
@@ -63,7 +63,7 @@ module DatadogAPIClient::V1
63
63
  return_type = opts[:debug_return_type] || 'AuthenticationValidationResponse'
64
64
 
65
65
  # auth_names
66
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :AuthZ]
66
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth]
67
67
 
68
68
  new_options = opts.merge(
69
69
  :operation => :validate,
@@ -661,7 +661,7 @@ module DatadogAPIClient::V1
661
661
  return_type = opts[:debug_return_type] || 'AWSEventBridgeListResponse'
662
662
 
663
663
  # auth_names
664
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
664
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
665
665
 
666
666
  new_options = opts.merge(
667
667
  :operation => :list_aws_event_bridge_sources,
@@ -195,7 +195,7 @@ module DatadogAPIClient::V1
195
195
  return_type = opts[:debug_return_type] || 'LogsIndexesOrder'
196
196
 
197
197
  # auth_names
198
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
198
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
199
199
 
200
200
  new_options = opts.merge(
201
201
  :operation => :get_logs_index_order,
@@ -202,7 +202,7 @@ module DatadogAPIClient::V1
202
202
  return_type = opts[:debug_return_type] || 'LogsPipeline'
203
203
 
204
204
  # auth_names
205
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
205
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
206
206
 
207
207
  new_options = opts.merge(
208
208
  :operation => :get_logs_pipeline,
@@ -263,7 +263,7 @@ module DatadogAPIClient::V1
263
263
  return_type = opts[:debug_return_type] || 'LogsPipelinesOrder'
264
264
 
265
265
  # auth_names
266
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
266
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
267
267
 
268
268
  new_options = opts.merge(
269
269
  :operation => :get_logs_pipeline_order,
@@ -324,7 +324,7 @@ module DatadogAPIClient::V1
324
324
  return_type = opts[:debug_return_type] || 'Array<LogsPipeline>'
325
325
 
326
326
  # auth_names
327
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
327
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
328
328
 
329
329
  new_options = opts.merge(
330
330
  :operation => :list_logs_pipelines,
@@ -84,7 +84,7 @@ module DatadogAPIClient::V1
84
84
  return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
85
85
 
86
86
  # auth_names
87
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
87
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
88
88
 
89
89
  new_options = opts.merge(
90
90
  :operation => :get_daily_custom_reports,
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
152
152
  fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
153
153
  end
154
154
  # verify enum value
155
- allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
155
+ allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
156
156
  if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
157
157
  fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
158
158
  end
@@ -408,7 +408,7 @@ module DatadogAPIClient::V1
408
408
  return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
409
409
 
410
410
  # auth_names
411
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
411
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
412
412
 
413
413
  new_options = opts.merge(
414
414
  :operation => :get_monthly_custom_reports,
@@ -478,7 +478,7 @@ module DatadogAPIClient::V1
478
478
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
479
479
  end
480
480
  # verify enum value
481
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
481
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
482
482
  if @api_client.config.client_side_validation && !allowable_values.include?(fields)
483
483
  fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
484
484
  end
@@ -486,7 +486,7 @@ module DatadogAPIClient::V1
486
486
  if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
487
487
  fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
488
488
  end
489
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
489
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', '*']
490
490
  if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
491
491
  fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
492
492
  end
@@ -589,7 +589,7 @@ module DatadogAPIClient::V1
589
589
  return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
590
590
 
591
591
  # auth_names
592
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
592
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
593
593
 
594
594
  new_options = opts.merge(
595
595
  :operation => :get_specified_daily_custom_reports,
@@ -659,7 +659,7 @@ module DatadogAPIClient::V1
659
659
  return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
660
660
 
661
661
  # auth_names
662
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
662
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
663
663
 
664
664
  new_options = opts.merge(
665
665
  :operation => :get_specified_monthly_custom_reports,
@@ -835,6 +835,8 @@ module DatadogAPIClient::V1
835
835
  #
836
836
  # Get billable usage across your account.
837
837
  #
838
+ # This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
839
+ #
838
840
  # @param opts [Hash] the optional parameters
839
841
  # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month.
840
842
  # @return [Array<(UsageBillableSummaryResponse, Integer, Hash)>] UsageBillableSummaryResponse data, response status code and response headers
@@ -2337,6 +2339,8 @@ module DatadogAPIClient::V1
2337
2339
  #
2338
2340
  # Get all usage across your account.
2339
2341
  #
2342
+ # This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
2343
+ #
2340
2344
  # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
2341
2345
  # @param opts [Hash] the optional parameters
2342
2346
  # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
@@ -73,7 +73,7 @@ module DatadogAPIClient::V1
73
73
  return_type = opts[:debug_return_type] || 'UserResponse'
74
74
 
75
75
  # auth_names
76
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
76
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
77
77
 
78
78
  new_options = opts.merge(
79
79
  :operation => :create_user,
@@ -63,6 +63,7 @@ module DatadogAPIClient::V1
63
63
  LAMBDA_TRACED_INVOCATIONS_USAGE = "lambda_traced_invocations_usage".freeze
64
64
  LOGS_INDEXED_15DAY_USAGE = "logs_indexed_15day_usage".freeze
65
65
  LOGS_INDEXED_180DAY_USAGE = "logs_indexed_180day_usage".freeze
66
+ LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage".freeze
66
67
  LOGS_INDEXED_30DAY_USAGE = "logs_indexed_30day_usage".freeze
67
68
  LOGS_INDEXED_360DAY_USAGE = "logs_indexed_360day_usage".freeze
68
69
  LOGS_INDEXED_3DAY_USAGE = "logs_indexed_3day_usage".freeze
@@ -143,6 +143,8 @@ module DatadogAPIClient::V1
143
143
  LOGS_INDEXED_7DAY_PERCENTAGE = "logs_indexed_7day_percentage".freeze
144
144
  LOGS_INDEXED_3DAY_USAGE = "logs_indexed_3day_usage".freeze
145
145
  LOGS_INDEXED_3DAY_PERCENTAGE = "logs_indexed_3day_percentage".freeze
146
+ LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage".freeze
147
+ LOGS_INDEXED_1DAY_PERCENTAGE = "logs_indexed_1day_percentage".freeze
146
148
  RUM_REPLAY_SESSIONS_USAGE = "rum_replay_sessions_usage".freeze
147
149
  RUM_REPLAY_SESSIONS_PERCENTAGE = "rum_replay_sessions_percentage".freeze
148
150
  RUM_BROWSER_MOBILE_SESSIONS_USAGE = "rum_browser_mobile_sessions_usage".freeze
@@ -261,6 +261,12 @@ module DatadogAPIClient::V1
261
261
  # The total Indexed Logs (180-day Retention) usage by tag(s).
262
262
  attr_accessor :logs_indexed_180day_usage
263
263
 
264
+ # The percentage of Indexed Logs (1-day Retention) usage by tag(s).
265
+ attr_accessor :logs_indexed_1day_percentage
266
+
267
+ # The total Indexed Logs (1-day Retention) usage by tag(s).
268
+ attr_accessor :logs_indexed_1day_usage
269
+
264
270
  # The percentage of Indexed Logs (30-day Retention) usage by tag(s).
265
271
  attr_accessor :logs_indexed_30day_percentage
266
272
 
@@ -501,6 +507,8 @@ module DatadogAPIClient::V1
501
507
  :'logs_indexed_15day_usage' => :'logs_indexed_15day_usage',
502
508
  :'logs_indexed_180day_percentage' => :'logs_indexed_180day_percentage',
503
509
  :'logs_indexed_180day_usage' => :'logs_indexed_180day_usage',
510
+ :'logs_indexed_1day_percentage' => :'logs_indexed_1day_percentage',
511
+ :'logs_indexed_1day_usage' => :'logs_indexed_1day_usage',
504
512
  :'logs_indexed_30day_percentage' => :'logs_indexed_30day_percentage',
505
513
  :'logs_indexed_30day_usage' => :'logs_indexed_30day_usage',
506
514
  :'logs_indexed_360day_percentage' => :'logs_indexed_360day_percentage',
@@ -640,6 +648,8 @@ module DatadogAPIClient::V1
640
648
  :'logs_indexed_15day_usage' => :'Float',
641
649
  :'logs_indexed_180day_percentage' => :'Float',
642
650
  :'logs_indexed_180day_usage' => :'Float',
651
+ :'logs_indexed_1day_percentage' => :'Float',
652
+ :'logs_indexed_1day_usage' => :'Float',
643
653
  :'logs_indexed_30day_percentage' => :'Float',
644
654
  :'logs_indexed_30day_usage' => :'Float',
645
655
  :'logs_indexed_360day_percentage' => :'Float',
@@ -1031,6 +1041,14 @@ module DatadogAPIClient::V1
1031
1041
  self.logs_indexed_180day_usage = attributes[:'logs_indexed_180day_usage']
1032
1042
  end
1033
1043
 
1044
+ if attributes.key?(:'logs_indexed_1day_percentage')
1045
+ self.logs_indexed_1day_percentage = attributes[:'logs_indexed_1day_percentage']
1046
+ end
1047
+
1048
+ if attributes.key?(:'logs_indexed_1day_usage')
1049
+ self.logs_indexed_1day_usage = attributes[:'logs_indexed_1day_usage']
1050
+ end
1051
+
1034
1052
  if attributes.key?(:'logs_indexed_30day_percentage')
1035
1053
  self.logs_indexed_30day_percentage = attributes[:'logs_indexed_30day_percentage']
1036
1054
  end
@@ -1326,6 +1344,8 @@ module DatadogAPIClient::V1
1326
1344
  logs_indexed_15day_usage == o.logs_indexed_15day_usage &&
1327
1345
  logs_indexed_180day_percentage == o.logs_indexed_180day_percentage &&
1328
1346
  logs_indexed_180day_usage == o.logs_indexed_180day_usage &&
1347
+ logs_indexed_1day_percentage == o.logs_indexed_1day_percentage &&
1348
+ logs_indexed_1day_usage == o.logs_indexed_1day_usage &&
1329
1349
  logs_indexed_30day_percentage == o.logs_indexed_30day_percentage &&
1330
1350
  logs_indexed_30day_usage == o.logs_indexed_30day_usage &&
1331
1351
  logs_indexed_360day_percentage == o.logs_indexed_360day_percentage &&
@@ -1384,7 +1404,7 @@ module DatadogAPIClient::V1
1384
1404
  # @return [Integer] Hash code
1385
1405
  # @!visibility private
1386
1406
  def hash
1387
- [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
1407
+ [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
1388
1408
  end
1389
1409
  end
1390
1410
  end