datadog_api_client 2.22.0 → 2.23.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 (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
@@ -89,7 +89,8 @@ module DatadogAPIClient::V1
89
89
  # objective object.
90
90
  attr_reader :thresholds
91
91
 
92
- # The SLO time window options.
92
+ # The SLO time window options. Note that "custom" is not a valid option for creating
93
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
93
94
  attr_accessor :timeframe
94
95
 
95
96
  # The type of the service level objective.
@@ -63,7 +63,8 @@ module DatadogAPIClient::V1
63
63
  # objective object.
64
64
  attr_reader :thresholds
65
65
 
66
- # The SLO time window options.
66
+ # The SLO time window options. Note that "custom" is not a valid option for creating
67
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
67
68
  attr_accessor :timeframe
68
69
 
69
70
  # The type of the service level objective.
@@ -31,7 +31,13 @@ module DatadogAPIClient::V1
31
31
  # For groups in a grouped SLO, this is the group name.
32
32
  attr_accessor :group
33
33
 
34
- # For `monitor` based SLOs, this includes the aggregated history as arrays that include timeseries and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
34
+ # The state transition history for the monitor. It is represented as
35
+ # an array of pairs. Each pair is an array containing the timestamp of the transition
36
+ # as an integer in Unix epoch format in the first element, and the state as an integer in the
37
+ # second element. An integer value of `0` for state means uptime, `1` means downtime, and `2` means no data.
38
+ # Periods of no data are counted either as uptime or downtime depending on monitor settings.
39
+ # See [SLO documentatio](https://docs.datadoghq.com/service_management/service_level_objectives/monitor/#missing-data)
40
+ # for detailed information.
35
41
  attr_accessor :history
36
42
 
37
43
  # For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
@@ -31,7 +31,14 @@ module DatadogAPIClient::V1
31
31
  # For groups in a grouped SLO, this is the group name.
32
32
  attr_accessor :group
33
33
 
34
- # For `monitor` based SLOs, this includes the aggregated history as arrays that include timeseries and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
34
+ # The state transition history for `monitor` or `time-slice` SLOs. It is represented as
35
+ # an array of pairs. Each pair is an array containing the timestamp of the transition
36
+ # as an integer in Unix epoch format in the first element, and the state as an integer in the
37
+ # second element. An integer value of `0` for state means uptime, `1` means downtime, and `2` means no data.
38
+ # Periods of no data count as uptime in time-slice SLOs, while for monitor SLOs, no data is counted
39
+ # either as uptime or downtime depending on monitor settings. See
40
+ # [SLO documentation](https://docs.datadoghq.com/service_management/service_level_objectives/monitor/#missing-data)
41
+ # for detailed information.
35
42
  attr_accessor :history
36
43
 
37
44
  # For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
@@ -46,7 +46,8 @@ module DatadogAPIClient::V1
46
46
  # The target of the SLO.
47
47
  attr_accessor :target
48
48
 
49
- # The SLO time window options.
49
+ # The SLO time window options. Note that "custom" is not a valid option for creating
50
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
50
51
  attr_accessor :timeframe
51
52
 
52
53
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -92,7 +92,8 @@ module DatadogAPIClient::V1
92
92
  # objective object.
93
93
  attr_accessor :thresholds
94
94
 
95
- # The SLO time window options.
95
+ # The SLO time window options. Note that "custom" is not a valid option for creating
96
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
96
97
  attr_accessor :timeframe
97
98
 
98
99
  # The type of the service level objective.
@@ -32,7 +32,8 @@ module DatadogAPIClient::V1
32
32
  # create/update requests.
33
33
  attr_accessor :target_display
34
34
 
35
- # The SLO time window options.
35
+ # The SLO time window options. Note that "custom" is not a valid option for creating
36
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
36
37
  attr_reader :timeframe
37
38
 
38
39
  # The warning value for the service level objective.
@@ -17,7 +17,8 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V1
20
- # The SLO time window options.
20
+ # The SLO time window options. Note that "custom" is not a valid option for creating
21
+ # or updating SLOs. It is only used when querying SLO history over custom timeframes.
21
22
  class SLOTimeframe
22
23
  include BaseEnumModel
23
24
 
@@ -33,6 +33,9 @@ module DatadogAPIClient::V1
33
33
  # When the test subtype is `multi`, the steps of the test.
34
34
  attr_accessor :steps
35
35
 
36
+ # Variables defined from JavaScript code.
37
+ attr_accessor :variables_from_script
38
+
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  # @!visibility private
38
41
  def self.attribute_map
@@ -40,7 +43,8 @@ module DatadogAPIClient::V1
40
43
  :'assertions' => :'assertions',
41
44
  :'config_variables' => :'configVariables',
42
45
  :'request' => :'request',
43
- :'steps' => :'steps'
46
+ :'steps' => :'steps',
47
+ :'variables_from_script' => :'variablesFromScript'
44
48
  }
45
49
  end
46
50
 
@@ -51,7 +55,8 @@ module DatadogAPIClient::V1
51
55
  :'assertions' => :'Array<SyntheticsAssertion>',
52
56
  :'config_variables' => :'Array<SyntheticsConfigVariable>',
53
57
  :'request' => :'SyntheticsTestRequest',
54
- :'steps' => :'Array<SyntheticsAPIStep>'
58
+ :'steps' => :'Array<SyntheticsAPIStep>',
59
+ :'variables_from_script' => :'String'
55
60
  }
56
61
  end
57
62
 
@@ -92,6 +97,10 @@ module DatadogAPIClient::V1
92
97
  self.steps = value
93
98
  end
94
99
  end
100
+
101
+ if attributes.key?(:'variables_from_script')
102
+ self.variables_from_script = attributes[:'variables_from_script']
103
+ end
95
104
  end
96
105
 
97
106
  # Checks equality by comparing each attribute.
@@ -103,14 +112,15 @@ module DatadogAPIClient::V1
103
112
  assertions == o.assertions &&
104
113
  config_variables == o.config_variables &&
105
114
  request == o.request &&
106
- steps == o.steps
115
+ steps == o.steps &&
116
+ variables_from_script == o.variables_from_script
107
117
  end
108
118
 
109
119
  # Calculates hash code according to all attributes.
110
120
  # @return [Integer] Hash code
111
121
  # @!visibility private
112
122
  def hash
113
- [assertions, config_variables, request, steps].hash
123
+ [assertions, config_variables, request, steps, variables_from_script].hash
114
124
  end
115
125
  end
116
126
  end
@@ -29,6 +29,7 @@ module DatadogAPIClient::V1
29
29
  [
30
30
  :'SyntheticsAssertionTarget',
31
31
  :'SyntheticsAssertionJSONPathTarget',
32
+ :'SyntheticsAssertionJSONSchemaTarget',
32
33
  :'SyntheticsAssertionXPathTarget'
33
34
  ]
34
35
  end
@@ -0,0 +1,27 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # The JSON Schema meta-schema version used in the assertion.
21
+ class SyntheticsAssertionJSONSchemaMetaSchema
22
+ include BaseEnumModel
23
+
24
+ DRAFT_07 = "draft-07".freeze
25
+ DRAFT_06 = "draft-06".freeze
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Assertion operator to apply.
21
+ class SyntheticsAssertionJSONSchemaOperator
22
+ include BaseEnumModel
23
+
24
+ VALIDATES_JSON_SCHEMA = "validatesJSONSchema".freeze
25
+ end
26
+ end
@@ -0,0 +1,129 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # An assertion for the `validatesJSONSchema` operator.
21
+ class SyntheticsAssertionJSONSchemaTarget
22
+ include BaseGenericModel
23
+
24
+ # Assertion operator to apply.
25
+ attr_reader :operator
26
+
27
+ # Composed target for `validatesJSONSchema` operator.
28
+ attr_accessor :target
29
+
30
+ # Type of the assertion.
31
+ attr_reader :type
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ # @!visibility private
35
+ def self.attribute_map
36
+ {
37
+ :'operator' => :'operator',
38
+ :'target' => :'target',
39
+ :'type' => :'type'
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ # @!visibility private
45
+ def self.openapi_types
46
+ {
47
+ :'operator' => :'SyntheticsAssertionJSONSchemaOperator',
48
+ :'target' => :'SyntheticsAssertionJSONSchemaTargetTarget',
49
+ :'type' => :'SyntheticsAssertionType'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param attributes [Hash] Model attributes in the form of hash
55
+ # @!visibility private
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTarget` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h|
63
+ if (!self.class.attribute_map.key?(k.to_sym))
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTarget`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ end
66
+ h[k.to_sym] = v
67
+ }
68
+
69
+ if attributes.key?(:'operator')
70
+ self.operator = attributes[:'operator']
71
+ end
72
+
73
+ if attributes.key?(:'target')
74
+ self.target = attributes[:'target']
75
+ end
76
+
77
+ if attributes.key?(:'type')
78
+ self.type = attributes[:'type']
79
+ end
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ # @!visibility private
85
+ def valid?
86
+ return false if @operator.nil?
87
+ return false if @type.nil?
88
+ true
89
+ end
90
+
91
+ # Custom attribute writer method with validation
92
+ # @param operator [Object] Object to be assigned
93
+ # @!visibility private
94
+ def operator=(operator)
95
+ if operator.nil?
96
+ fail ArgumentError, 'invalid value for "operator", operator cannot be nil.'
97
+ end
98
+ @operator = operator
99
+ end
100
+
101
+ # Custom attribute writer method with validation
102
+ # @param type [Object] Object to be assigned
103
+ # @!visibility private
104
+ def type=(type)
105
+ if type.nil?
106
+ fail ArgumentError, 'invalid value for "type", type cannot be nil.'
107
+ end
108
+ @type = type
109
+ end
110
+
111
+ # Checks equality by comparing each attribute.
112
+ # @param o [Object] Object to be compared
113
+ # @!visibility private
114
+ def ==(o)
115
+ return true if self.equal?(o)
116
+ self.class == o.class &&
117
+ operator == o.operator &&
118
+ target == o.target &&
119
+ type == o.type
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Integer] Hash code
124
+ # @!visibility private
125
+ def hash
126
+ [operator, target, type].hash
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,90 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Composed target for `validatesJSONSchema` operator.
21
+ class SyntheticsAssertionJSONSchemaTargetTarget
22
+ include BaseGenericModel
23
+
24
+ # The JSON Schema to assert.
25
+ attr_accessor :json_schema
26
+
27
+ # The JSON Schema meta-schema version used in the assertion.
28
+ attr_accessor :meta_schema
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ # @!visibility private
32
+ def self.attribute_map
33
+ {
34
+ :'json_schema' => :'jsonSchema',
35
+ :'meta_schema' => :'metaSchema'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ # @!visibility private
41
+ def self.openapi_types
42
+ {
43
+ :'json_schema' => :'String',
44
+ :'meta_schema' => :'SyntheticsAssertionJSONSchemaMetaSchema'
45
+ }
46
+ end
47
+
48
+ # Initializes the object
49
+ # @param attributes [Hash] Model attributes in the form of hash
50
+ # @!visibility private
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTargetTarget` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsAssertionJSONSchemaTargetTarget`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'json_schema')
65
+ self.json_schema = attributes[:'json_schema']
66
+ end
67
+
68
+ if attributes.key?(:'meta_schema')
69
+ self.meta_schema = attributes[:'meta_schema']
70
+ end
71
+ end
72
+
73
+ # Checks equality by comparing each attribute.
74
+ # @param o [Object] Object to be compared
75
+ # @!visibility private
76
+ def ==(o)
77
+ return true if self.equal?(o)
78
+ self.class == o.class &&
79
+ json_schema == o.json_schema &&
80
+ meta_schema == o.meta_schema
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Integer] Hash code
85
+ # @!visibility private
86
+ def hash
87
+ [json_schema, meta_schema].hash
88
+ end
89
+ end
90
+ end
@@ -177,6 +177,9 @@ module DatadogAPIClient::V1
177
177
  # Response with properties for each aggregated usage type.
178
178
  attr_accessor :logs_indexed_180day_sum
179
179
 
180
+ # Response with properties for each aggregated usage type.
181
+ attr_accessor :logs_indexed_1day_sum
182
+
180
183
  # Response with properties for each aggregated usage type.
181
184
  attr_accessor :logs_indexed_30day_sum
182
185
 
@@ -341,6 +344,7 @@ module DatadogAPIClient::V1
341
344
  :'logs_forwarding_sum' => :'logs_forwarding_sum',
342
345
  :'logs_indexed_15day_sum' => :'logs_indexed_15day_sum',
343
346
  :'logs_indexed_180day_sum' => :'logs_indexed_180day_sum',
347
+ :'logs_indexed_1day_sum' => :'logs_indexed_1day_sum',
344
348
  :'logs_indexed_30day_sum' => :'logs_indexed_30day_sum',
345
349
  :'logs_indexed_360day_sum' => :'logs_indexed_360day_sum',
346
350
  :'logs_indexed_3day_sum' => :'logs_indexed_3day_sum',
@@ -436,6 +440,7 @@ module DatadogAPIClient::V1
436
440
  :'logs_forwarding_sum' => :'UsageBillableSummaryBody',
437
441
  :'logs_indexed_15day_sum' => :'UsageBillableSummaryBody',
438
442
  :'logs_indexed_180day_sum' => :'UsageBillableSummaryBody',
443
+ :'logs_indexed_1day_sum' => :'UsageBillableSummaryBody',
439
444
  :'logs_indexed_30day_sum' => :'UsageBillableSummaryBody',
440
445
  :'logs_indexed_360day_sum' => :'UsageBillableSummaryBody',
441
446
  :'logs_indexed_3day_sum' => :'UsageBillableSummaryBody',
@@ -699,6 +704,10 @@ module DatadogAPIClient::V1
699
704
  self.logs_indexed_180day_sum = attributes[:'logs_indexed_180day_sum']
700
705
  end
701
706
 
707
+ if attributes.key?(:'logs_indexed_1day_sum')
708
+ self.logs_indexed_1day_sum = attributes[:'logs_indexed_1day_sum']
709
+ end
710
+
702
711
  if attributes.key?(:'logs_indexed_30day_sum')
703
712
  self.logs_indexed_30day_sum = attributes[:'logs_indexed_30day_sum']
704
713
  end
@@ -902,6 +911,7 @@ module DatadogAPIClient::V1
902
911
  logs_forwarding_sum == o.logs_forwarding_sum &&
903
912
  logs_indexed_15day_sum == o.logs_indexed_15day_sum &&
904
913
  logs_indexed_180day_sum == o.logs_indexed_180day_sum &&
914
+ logs_indexed_1day_sum == o.logs_indexed_1day_sum &&
905
915
  logs_indexed_30day_sum == o.logs_indexed_30day_sum &&
906
916
  logs_indexed_360day_sum == o.logs_indexed_360day_sum &&
907
917
  logs_indexed_3day_sum == o.logs_indexed_3day_sum &&
@@ -944,7 +954,7 @@ module DatadogAPIClient::V1
944
954
  # @return [Integer] Hash code
945
955
  # @!visibility private
946
956
  def hash
947
- [apm_fargate_average, apm_fargate_sum, apm_host_sum, apm_host_top99p, apm_profiler_host_sum, apm_profiler_host_top99p, apm_trace_search_sum, application_security_fargate_average, application_security_host_sum, application_security_host_top99p, ci_pipeline_indexed_spans_sum, ci_pipeline_maximum, ci_pipeline_sum, ci_test_indexed_spans_sum, ci_testing_maximum, ci_testing_sum, cloud_cost_management_average, cloud_cost_management_sum, cspm_container_sum, cspm_host_sum, cspm_host_top99p, custom_event_sum, cws_container_sum, cws_host_sum, cws_host_top99p, dbm_host_sum, dbm_host_top99p, dbm_normalized_queries_average, dbm_normalized_queries_sum, fargate_container_apm_and_profiler_average, fargate_container_apm_and_profiler_sum, fargate_container_average, fargate_container_profiler_average, fargate_container_profiler_sum, fargate_container_sum, incident_management_maximum, incident_management_sum, infra_and_apm_host_sum, infra_and_apm_host_top99p, infra_container_sum, infra_host_sum, infra_host_top99p, ingested_spans_sum, ingested_timeseries_average, ingested_timeseries_sum, iot_sum, iot_top99p, lambda_function_average, lambda_function_sum, logs_forwarding_sum, logs_indexed_15day_sum, logs_indexed_180day_sum, logs_indexed_30day_sum, logs_indexed_360day_sum, logs_indexed_3day_sum, logs_indexed_45day_sum, logs_indexed_60day_sum, logs_indexed_7day_sum, logs_indexed_90day_sum, logs_indexed_custom_retention_sum, logs_indexed_sum, logs_ingested_sum, network_device_sum, network_device_top99p, npm_flow_sum, npm_host_sum, npm_host_top99p, observability_pipeline_sum, online_archive_sum, prof_container_sum, prof_host_sum, prof_host_top99p, rum_lite_sum, rum_replay_sum, rum_sum, rum_units_sum, sensitive_data_scanner_sum, serverless_apm_sum, serverless_infra_average, serverless_infra_sum, serverless_invocation_sum, siem_sum, standard_timeseries_average, synthetics_api_tests_sum, synthetics_app_testing_maximum, synthetics_browser_checks_sum, timeseries_average, timeseries_sum].hash
957
+ [apm_fargate_average, apm_fargate_sum, apm_host_sum, apm_host_top99p, apm_profiler_host_sum, apm_profiler_host_top99p, apm_trace_search_sum, application_security_fargate_average, application_security_host_sum, application_security_host_top99p, ci_pipeline_indexed_spans_sum, ci_pipeline_maximum, ci_pipeline_sum, ci_test_indexed_spans_sum, ci_testing_maximum, ci_testing_sum, cloud_cost_management_average, cloud_cost_management_sum, cspm_container_sum, cspm_host_sum, cspm_host_top99p, custom_event_sum, cws_container_sum, cws_host_sum, cws_host_top99p, dbm_host_sum, dbm_host_top99p, dbm_normalized_queries_average, dbm_normalized_queries_sum, fargate_container_apm_and_profiler_average, fargate_container_apm_and_profiler_sum, fargate_container_average, fargate_container_profiler_average, fargate_container_profiler_sum, fargate_container_sum, incident_management_maximum, incident_management_sum, infra_and_apm_host_sum, infra_and_apm_host_top99p, infra_container_sum, infra_host_sum, infra_host_top99p, ingested_spans_sum, ingested_timeseries_average, ingested_timeseries_sum, iot_sum, iot_top99p, lambda_function_average, lambda_function_sum, logs_forwarding_sum, logs_indexed_15day_sum, logs_indexed_180day_sum, logs_indexed_1day_sum, logs_indexed_30day_sum, logs_indexed_360day_sum, logs_indexed_3day_sum, logs_indexed_45day_sum, logs_indexed_60day_sum, logs_indexed_7day_sum, logs_indexed_90day_sum, logs_indexed_custom_retention_sum, logs_indexed_sum, logs_ingested_sum, network_device_sum, network_device_top99p, npm_flow_sum, npm_host_sum, npm_host_top99p, observability_pipeline_sum, online_archive_sum, prof_container_sum, prof_host_sum, prof_host_top99p, rum_lite_sum, rum_replay_sum, rum_sum, rum_units_sum, sensitive_data_scanner_sum, serverless_apm_sum, serverless_infra_average, serverless_infra_sum, serverless_invocation_sum, siem_sum, standard_timeseries_average, synthetics_api_tests_sum, synthetics_app_testing_maximum, synthetics_browser_checks_sum, timeseries_average, timeseries_sum].hash
948
958
  end
949
959
  end
950
960
  end
@@ -40,7 +40,7 @@ module DatadogAPIClient::V2
40
40
  #
41
41
  # @param body [RetentionFilterCreateRequest] The definition of the new retention filter.
42
42
  # @param opts [Hash] the optional parameters
43
- # @return [Array<(RetentionFilterResponse, Integer, Hash)>] RetentionFilterResponse data, response status code and response headers
43
+ # @return [Array<(RetentionFilterCreateResponse, Integer, Hash)>] RetentionFilterCreateResponse data, response status code and response headers
44
44
  def create_apm_retention_filter_with_http_info(body, opts = {})
45
45
 
46
46
  if @api_client.config.debugging
@@ -70,7 +70,7 @@ module DatadogAPIClient::V2
70
70
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
71
71
 
72
72
  # return_type
73
- return_type = opts[:debug_return_type] || 'RetentionFilterResponse'
73
+ return_type = opts[:debug_return_type] || 'RetentionFilterCreateResponse'
74
74
 
75
75
  # auth_names
76
76
  auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
@@ -70,7 +70,7 @@ module DatadogAPIClient::V2
70
70
  return_type = opts[:debug_return_type] || 'AuthNMappingResponse'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
73
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :create_authn_mapping,
@@ -272,7 +272,7 @@ module DatadogAPIClient::V2
272
272
  return_type = opts[:debug_return_type] || 'AuthNMappingsResponse'
273
273
 
274
274
  # auth_names
275
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
275
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
276
276
 
277
277
  new_options = opts.merge(
278
278
  :operation => :list_authn_mappings,