datadog_api_client 2.41.0 → 2.42.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 (117) hide show
  1. checksums.yaml +4 -4
  2. data/.generator/schemas/v1/openapi.yaml +69 -8
  3. data/.generator/schemas/v2/openapi.yaml +1568 -40
  4. data/CHANGELOG.md +15 -0
  5. data/examples/v2/actions-datastores/BulkWriteDatastoreItems.rb +24 -0
  6. data/examples/v2/actions-datastores/CreateDatastore.rb +15 -0
  7. data/examples/v2/actions-datastores/DeleteDatastore.rb +8 -0
  8. data/examples/v2/actions-datastores/DeleteDatastoreItem.rb +17 -0
  9. data/examples/v2/actions-datastores/GetDatastore.rb +8 -0
  10. data/examples/v2/actions-datastores/ListDatastoreItems.rb +8 -0
  11. data/examples/v2/actions-datastores/ListDatastores.rb +5 -0
  12. data/examples/v2/actions-datastores/UpdateDatastore.rb +18 -0
  13. data/examples/v2/actions-datastores/UpdateDatastoreItem.rb +18 -0
  14. data/examples/v2/aws-integration/CreateAWSAccount.rb +0 -3
  15. data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +0 -3
  16. data/examples/v2/aws-integration/CreateNewAWSExternalID.rb +0 -3
  17. data/examples/v2/aws-integration/CreateNewAWSExternalID_364713854.rb +0 -3
  18. data/examples/v2/aws-integration/DeleteAWSAccount.rb +0 -3
  19. data/examples/v2/aws-integration/GetAWSAccount.rb +0 -3
  20. data/examples/v2/aws-integration/ListAWSAccounts.rb +0 -3
  21. data/examples/v2/aws-integration/ListAWSNamespaces.rb +0 -3
  22. data/examples/v2/aws-integration/ListAWSNamespaces_3031307873.rb +0 -3
  23. data/examples/v2/aws-integration/UpdateAWSAccount.rb +0 -3
  24. data/examples/v2/aws-logs-integration/ListAWSLogsServices.rb +0 -3
  25. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_2836340212.rb +52 -0
  26. data/examples/v2/incidents/CreateIncidentNotificationRule.rb +50 -0
  27. data/examples/v2/incidents/CreateIncidentNotificationRule_3029800608.rb +42 -0
  28. data/examples/v2/incidents/DeleteIncidentNotificationRule.rb +8 -0
  29. data/examples/v2/incidents/DeleteIncidentNotificationRule_4148107167.rb +11 -0
  30. data/examples/v2/incidents/GetIncidentNotificationRule.rb +8 -0
  31. data/examples/v2/incidents/GetIncidentNotificationRule_67441486.rb +11 -0
  32. data/examples/v2/incidents/ListIncidentNotificationRules.rb +8 -0
  33. data/examples/v2/incidents/UpdateIncidentNotificationRule.rb +51 -0
  34. data/examples/v2/incidents/UpdateIncidentNotificationRule_1207309457.rb +45 -0
  35. data/lib/datadog_api_client/configuration.rb +5 -8
  36. data/lib/datadog_api_client/inflector.rb +67 -0
  37. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +27 -0
  38. data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +9 -0
  39. data/lib/datadog_api_client/v1/models/gcp_account.rb +18 -4
  40. data/lib/datadog_api_client/v1/models/gcp_monitored_resource_config.rb +118 -0
  41. data/lib/datadog_api_client/v1/models/gcp_monitored_resource_config_type.rb +28 -0
  42. data/lib/datadog_api_client/v2/api/actions_datastores_api.rb +655 -0
  43. data/lib/datadog_api_client/v2/api/aws_integration_api.rb +0 -42
  44. data/lib/datadog_api_client/v2/api/aws_logs_integration_api.rb +0 -6
  45. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +2 -0
  46. data/lib/datadog_api_client/v2/api/incidents_api.rb +367 -0
  47. data/lib/datadog_api_client/v2/api/org_connections_api.rb +8 -0
  48. data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request.rb +105 -0
  49. data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data.rb +133 -0
  50. data/lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data_attributes.rb +139 -0
  51. data/lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request.rb +2 -2
  52. data/lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_data_single_or_array.rb +63 -0
  53. data/lib/datadog_api_client/v2/models/create_apps_datastore_request.rb +105 -0
  54. data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data.rb +143 -0
  55. data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes.rb +180 -0
  56. data/lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes_org_access.rb +28 -0
  57. data/lib/datadog_api_client/v2/models/create_apps_datastore_response.rb +105 -0
  58. data/lib/datadog_api_client/v2/models/create_apps_datastore_response_data.rb +133 -0
  59. data/lib/datadog_api_client/v2/models/create_incident_notification_rule_request.rb +123 -0
  60. data/lib/datadog_api_client/v2/models/datastore.rb +105 -0
  61. data/lib/datadog_api_client/v2/models/datastore_array.rb +125 -0
  62. data/lib/datadog_api_client/v2/models/datastore_data.rb +143 -0
  63. data/lib/datadog_api_client/v2/models/datastore_data_attributes.rb +205 -0
  64. data/lib/datadog_api_client/v2/models/datastore_data_type.rb +26 -0
  65. data/lib/datadog_api_client/v2/models/datastore_item_conflict_mode.rb +27 -0
  66. data/lib/datadog_api_client/v2/models/datastore_items_data_type.rb +26 -0
  67. data/lib/datadog_api_client/v2/models/datastore_primary_key_generation_strategy.rb +27 -0
  68. data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request.rb +105 -0
  69. data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data.rb +133 -0
  70. data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data_attributes.rb +137 -0
  71. data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_response.rb +105 -0
  72. data/lib/datadog_api_client/v2/models/delete_apps_datastore_item_response_data.rb +133 -0
  73. data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +1 -1
  74. data/lib/datadog_api_client/v2/models/gcp_monitored_resource_config.rb +118 -0
  75. data/lib/datadog_api_client/v2/models/gcp_monitored_resource_config_type.rb +28 -0
  76. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +17 -2
  77. data/lib/datadog_api_client/v2/models/incident_notification_rule.rb +135 -0
  78. data/lib/datadog_api_client/v2/models/incident_notification_rule_array.rb +147 -0
  79. data/lib/datadog_api_client/v2/models/incident_notification_rule_array_meta.rb +105 -0
  80. data/lib/datadog_api_client/v2/models/incident_notification_rule_array_meta_page.rb +125 -0
  81. data/lib/datadog_api_client/v2/models/incident_notification_rule_attributes.rb +265 -0
  82. data/lib/datadog_api_client/v2/models/incident_notification_rule_attributes_visibility.rb +28 -0
  83. data/lib/datadog_api_client/v2/models/incident_notification_rule_conditions_items.rb +146 -0
  84. data/lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes.rb +201 -0
  85. data/lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes_visibility.rb +28 -0
  86. data/lib/datadog_api_client/v2/models/incident_notification_rule_create_data.rb +154 -0
  87. data/lib/datadog_api_client/v2/models/incident_notification_rule_create_data_relationships.rb +115 -0
  88. data/lib/datadog_api_client/v2/models/incident_notification_rule_included_items.rb +64 -0
  89. data/lib/datadog_api_client/v2/models/incident_notification_rule_relationships.rb +135 -0
  90. data/lib/datadog_api_client/v2/models/incident_notification_rule_response_data.rb +164 -0
  91. data/lib/datadog_api_client/v2/models/incident_notification_rule_type.rb +26 -0
  92. data/lib/datadog_api_client/v2/models/incident_notification_rule_update_data.rb +175 -0
  93. data/lib/datadog_api_client/v2/models/incident_notification_template_object.rb +164 -0
  94. data/lib/datadog_api_client/v2/models/item_api_payload.rb +105 -0
  95. data/lib/datadog_api_client/v2/models/item_api_payload_array.rb +139 -0
  96. data/lib/datadog_api_client/v2/models/item_api_payload_data.rb +143 -0
  97. data/lib/datadog_api_client/v2/models/item_api_payload_data_attributes.rb +185 -0
  98. data/lib/datadog_api_client/v2/models/item_api_payload_meta.rb +115 -0
  99. data/lib/datadog_api_client/v2/models/item_api_payload_meta_page.rb +125 -0
  100. data/lib/datadog_api_client/v2/models/item_api_payload_meta_schema.rb +117 -0
  101. data/lib/datadog_api_client/v2/models/item_api_payload_meta_schema_field.rb +144 -0
  102. data/lib/datadog_api_client/v2/models/put_apps_datastore_item_response_array.rb +129 -0
  103. data/lib/datadog_api_client/v2/models/put_apps_datastore_item_response_data.rb +133 -0
  104. data/lib/datadog_api_client/v2/models/put_incident_notification_rule_request.rb +123 -0
  105. data/lib/datadog_api_client/v2/models/relationship_to_incident_notification_template.rb +123 -0
  106. data/lib/datadog_api_client/v2/models/relationship_to_incident_notification_template_data.rb +144 -0
  107. data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_response.rb +11 -1
  108. data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request.rb +105 -0
  109. data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data.rb +143 -0
  110. data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes.rb +158 -0
  111. data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes_item_changes.rb +105 -0
  112. data/lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_type.rb +26 -0
  113. data/lib/datadog_api_client/v2/models/update_apps_datastore_request.rb +105 -0
  114. data/lib/datadog_api_client/v2/models/update_apps_datastore_request_data.rb +143 -0
  115. data/lib/datadog_api_client/v2/models/update_apps_datastore_request_data_attributes.rb +115 -0
  116. data/lib/datadog_api_client/version.rb +1 -1
  117. metadata +87 -1
@@ -0,0 +1,26 @@
1
+ =begin
2
+ #Datadog API V2 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V2
20
+ # The resource type for datastore items.
21
+ class UpdateAppsDatastoreItemRequestDataType
22
+ include BaseEnumModel
23
+
24
+ ITEMS = "items".freeze
25
+ end
26
+ end
@@ -0,0 +1,105 @@
1
+ =begin
2
+ #Datadog API V2 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V2
20
+ # Request to update a datastore's configuration such as its name or description.
21
+ class UpdateAppsDatastoreRequest
22
+ include BaseGenericModel
23
+
24
+ # Data wrapper containing the datastore identifier and the attributes to update.
25
+ attr_accessor :data
26
+
27
+ attr_accessor :additional_properties
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ # @!visibility private
31
+ def self.attribute_map
32
+ {
33
+ :'data' => :'data'
34
+ }
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ # @!visibility private
39
+ def self.openapi_types
40
+ {
41
+ :'data' => :'UpdateAppsDatastoreRequestData'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param attributes [Hash] Model attributes in the form of hash
47
+ # @!visibility private
48
+ def initialize(attributes = {})
49
+ if (!attributes.is_a?(Hash))
50
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::UpdateAppsDatastoreRequest` initialize method"
51
+ end
52
+
53
+ self.additional_properties = {}
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ self.additional_properties[k.to_sym] = v
58
+ else
59
+ h[k.to_sym] = v
60
+ end
61
+ }
62
+
63
+ if attributes.key?(:'data')
64
+ self.data = attributes[:'data']
65
+ end
66
+ end
67
+
68
+ # Returns the object in the form of hash, with additionalProperties support.
69
+ # @return [Hash] Returns the object in the form of hash
70
+ # @!visibility private
71
+ def to_hash
72
+ hash = {}
73
+ self.class.attribute_map.each_pair do |attr, param|
74
+ value = self.send(attr)
75
+ if value.nil?
76
+ is_nullable = self.class.openapi_nullable.include?(attr)
77
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
78
+ end
79
+
80
+ hash[param] = _to_hash(value)
81
+ end
82
+ self.additional_properties.each_pair do |attr, value|
83
+ hash[attr] = value
84
+ end
85
+ hash
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param o [Object] Object to be compared
90
+ # @!visibility private
91
+ def ==(o)
92
+ return true if self.equal?(o)
93
+ self.class == o.class &&
94
+ data == o.data &&
95
+ additional_properties == o.additional_properties
96
+ end
97
+
98
+ # Calculates hash code according to all attributes.
99
+ # @return [Integer] Hash code
100
+ # @!visibility private
101
+ def hash
102
+ [data, additional_properties].hash
103
+ end
104
+ end
105
+ end
@@ -0,0 +1,143 @@
1
+ =begin
2
+ #Datadog API V2 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V2
20
+ # Data wrapper containing the datastore identifier and the attributes to update.
21
+ class UpdateAppsDatastoreRequestData
22
+ include BaseGenericModel
23
+
24
+ # Attributes that can be updated on a datastore.
25
+ attr_accessor :attributes
26
+
27
+ # The unique identifier of the datastore to update.
28
+ attr_accessor :id
29
+
30
+ # The resource type for datastores.
31
+ attr_reader :type
32
+
33
+ attr_accessor :additional_properties
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ # @!visibility private
37
+ def self.attribute_map
38
+ {
39
+ :'attributes' => :'attributes',
40
+ :'id' => :'id',
41
+ :'type' => :'type'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ # @!visibility private
47
+ def self.openapi_types
48
+ {
49
+ :'attributes' => :'UpdateAppsDatastoreRequestDataAttributes',
50
+ :'id' => :'String',
51
+ :'type' => :'DatastoreDataType'
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param attributes [Hash] Model attributes in the form of hash
57
+ # @!visibility private
58
+ def initialize(attributes = {})
59
+ if (!attributes.is_a?(Hash))
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::UpdateAppsDatastoreRequestData` initialize method"
61
+ end
62
+
63
+ self.additional_properties = {}
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ self.additional_properties[k.to_sym] = v
68
+ else
69
+ h[k.to_sym] = v
70
+ end
71
+ }
72
+
73
+ if attributes.key?(:'attributes')
74
+ self.attributes = attributes[:'attributes']
75
+ end
76
+
77
+ if attributes.key?(:'id')
78
+ self.id = attributes[:'id']
79
+ end
80
+
81
+ if attributes.key?(:'type')
82
+ self.type = attributes[:'type']
83
+ end
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ # @!visibility private
89
+ def valid?
90
+ return false if @type.nil?
91
+ true
92
+ end
93
+
94
+ # Custom attribute writer method with validation
95
+ # @param type [Object] Object to be assigned
96
+ # @!visibility private
97
+ def type=(type)
98
+ if type.nil?
99
+ fail ArgumentError, 'invalid value for "type", type cannot be nil.'
100
+ end
101
+ @type = type
102
+ end
103
+
104
+ # Returns the object in the form of hash, with additionalProperties support.
105
+ # @return [Hash] Returns the object in the form of hash
106
+ # @!visibility private
107
+ def to_hash
108
+ hash = {}
109
+ self.class.attribute_map.each_pair do |attr, param|
110
+ value = self.send(attr)
111
+ if value.nil?
112
+ is_nullable = self.class.openapi_nullable.include?(attr)
113
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
114
+ end
115
+
116
+ hash[param] = _to_hash(value)
117
+ end
118
+ self.additional_properties.each_pair do |attr, value|
119
+ hash[attr] = value
120
+ end
121
+ hash
122
+ end
123
+
124
+ # Checks equality by comparing each attribute.
125
+ # @param o [Object] Object to be compared
126
+ # @!visibility private
127
+ def ==(o)
128
+ return true if self.equal?(o)
129
+ self.class == o.class &&
130
+ attributes == o.attributes &&
131
+ id == o.id &&
132
+ type == o.type &&
133
+ additional_properties == o.additional_properties
134
+ end
135
+
136
+ # Calculates hash code according to all attributes.
137
+ # @return [Integer] Hash code
138
+ # @!visibility private
139
+ def hash
140
+ [attributes, id, type, additional_properties].hash
141
+ end
142
+ end
143
+ end
@@ -0,0 +1,115 @@
1
+ =begin
2
+ #Datadog API V2 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V2
20
+ # Attributes that can be updated on a datastore.
21
+ class UpdateAppsDatastoreRequestDataAttributes
22
+ include BaseGenericModel
23
+
24
+ # A human-readable description about the datastore.
25
+ attr_accessor :description
26
+
27
+ # The display name of the datastore.
28
+ attr_accessor :name
29
+
30
+ attr_accessor :additional_properties
31
+
32
+ # Attribute mapping from ruby-style variable name to JSON key.
33
+ # @!visibility private
34
+ def self.attribute_map
35
+ {
36
+ :'description' => :'description',
37
+ :'name' => :'name'
38
+ }
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ # @!visibility private
43
+ def self.openapi_types
44
+ {
45
+ :'description' => :'String',
46
+ :'name' => :'String'
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param attributes [Hash] Model attributes in the form of hash
52
+ # @!visibility private
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::UpdateAppsDatastoreRequestDataAttributes` initialize method"
56
+ end
57
+
58
+ self.additional_properties = {}
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ attributes = attributes.each_with_object({}) { |(k, v), h|
61
+ if (!self.class.attribute_map.key?(k.to_sym))
62
+ self.additional_properties[k.to_sym] = v
63
+ else
64
+ h[k.to_sym] = v
65
+ end
66
+ }
67
+
68
+ if attributes.key?(:'description')
69
+ self.description = attributes[:'description']
70
+ end
71
+
72
+ if attributes.key?(:'name')
73
+ self.name = attributes[:'name']
74
+ end
75
+ end
76
+
77
+ # Returns the object in the form of hash, with additionalProperties support.
78
+ # @return [Hash] Returns the object in the form of hash
79
+ # @!visibility private
80
+ def to_hash
81
+ hash = {}
82
+ self.class.attribute_map.each_pair do |attr, param|
83
+ value = self.send(attr)
84
+ if value.nil?
85
+ is_nullable = self.class.openapi_nullable.include?(attr)
86
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
87
+ end
88
+
89
+ hash[param] = _to_hash(value)
90
+ end
91
+ self.additional_properties.each_pair do |attr, value|
92
+ hash[attr] = value
93
+ end
94
+ hash
95
+ end
96
+
97
+ # Checks equality by comparing each attribute.
98
+ # @param o [Object] Object to be compared
99
+ # @!visibility private
100
+ def ==(o)
101
+ return true if self.equal?(o)
102
+ self.class == o.class &&
103
+ description == o.description &&
104
+ name == o.name &&
105
+ additional_properties == o.additional_properties
106
+ end
107
+
108
+ # Calculates hash code according to all attributes.
109
+ # @return [Integer] Hash code
110
+ # @!visibility private
111
+ def hash
112
+ [description, name, additional_properties].hash
113
+ end
114
+ end
115
+ end
@@ -1,5 +1,5 @@
1
1
  # Define library version.
2
2
 
3
3
  module DatadogAPIClient
4
- VERSION = '2.41.0'
4
+ VERSION = '2.42.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.41.0
4
+ version: 2.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
@@ -536,6 +536,15 @@ files:
536
536
  - examples/v2/action-connection/RegisterAppKey.rb
537
537
  - examples/v2/action-connection/UnregisterAppKey.rb
538
538
  - examples/v2/action-connection/UpdateActionConnection.rb
539
+ - examples/v2/actions-datastores/BulkWriteDatastoreItems.rb
540
+ - examples/v2/actions-datastores/CreateDatastore.rb
541
+ - examples/v2/actions-datastores/DeleteDatastore.rb
542
+ - examples/v2/actions-datastores/DeleteDatastoreItem.rb
543
+ - examples/v2/actions-datastores/GetDatastore.rb
544
+ - examples/v2/actions-datastores/ListDatastoreItems.rb
545
+ - examples/v2/actions-datastores/ListDatastores.rb
546
+ - examples/v2/actions-datastores/UpdateDatastore.rb
547
+ - examples/v2/actions-datastores/UpdateDatastoreItem.rb
539
548
  - examples/v2/agentless-scanning/CreateAwsOnDemandTask.rb
540
549
  - examples/v2/agentless-scanning/CreateAwsScanOptions.rb
541
550
  - examples/v2/agentless-scanning/DeleteAwsScanOptions.rb
@@ -615,6 +624,7 @@ files:
615
624
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb
616
625
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb
617
626
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_2341150096.rb
627
+ - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_2836340212.rb
618
628
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_819339921.rb
619
629
  - examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb
620
630
  - examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents_1270618359.rb
@@ -777,23 +787,30 @@ files:
777
787
  - examples/v2/incident-teams/UpdateIncidentTeam.rb
778
788
  - examples/v2/incidents/CreateIncident.rb
779
789
  - examples/v2/incidents/CreateIncidentIntegration.rb
790
+ - examples/v2/incidents/CreateIncidentNotificationRule.rb
791
+ - examples/v2/incidents/CreateIncidentNotificationRule_3029800608.rb
780
792
  - examples/v2/incidents/CreateIncidentNotificationTemplate.rb
781
793
  - examples/v2/incidents/CreateIncidentTodo.rb
782
794
  - examples/v2/incidents/CreateIncidentType.rb
783
795
  - examples/v2/incidents/DeleteIncident.rb
784
796
  - examples/v2/incidents/DeleteIncidentIntegration.rb
797
+ - examples/v2/incidents/DeleteIncidentNotificationRule.rb
798
+ - examples/v2/incidents/DeleteIncidentNotificationRule_4148107167.rb
785
799
  - examples/v2/incidents/DeleteIncidentNotificationTemplate.rb
786
800
  - examples/v2/incidents/DeleteIncidentNotificationTemplate_1602689347.rb
787
801
  - examples/v2/incidents/DeleteIncidentTodo.rb
788
802
  - examples/v2/incidents/DeleteIncidentType.rb
789
803
  - examples/v2/incidents/GetIncident.rb
790
804
  - examples/v2/incidents/GetIncidentIntegration.rb
805
+ - examples/v2/incidents/GetIncidentNotificationRule.rb
806
+ - examples/v2/incidents/GetIncidentNotificationRule_67441486.rb
791
807
  - examples/v2/incidents/GetIncidentNotificationTemplate.rb
792
808
  - examples/v2/incidents/GetIncidentTodo.rb
793
809
  - examples/v2/incidents/GetIncidentType.rb
794
810
  - examples/v2/incidents/ListIncidentAttachments.rb
795
811
  - examples/v2/incidents/ListIncidentAttachments_2457735435.rb
796
812
  - examples/v2/incidents/ListIncidentIntegrations.rb
813
+ - examples/v2/incidents/ListIncidentNotificationRules.rb
797
814
  - examples/v2/incidents/ListIncidentNotificationTemplates.rb
798
815
  - examples/v2/incidents/ListIncidentTodos.rb
799
816
  - examples/v2/incidents/ListIncidentTypes.rb
@@ -805,6 +822,8 @@ files:
805
822
  - examples/v2/incidents/UpdateIncidentAttachments.rb
806
823
  - examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb
807
824
  - examples/v2/incidents/UpdateIncidentIntegration.rb
825
+ - examples/v2/incidents/UpdateIncidentNotificationRule.rb
826
+ - examples/v2/incidents/UpdateIncidentNotificationRule_1207309457.rb
808
827
  - examples/v2/incidents/UpdateIncidentNotificationTemplate.rb
809
828
  - examples/v2/incidents/UpdateIncidentTodo.rb
810
829
  - examples/v2/incidents/UpdateIncidentType.rb
@@ -1402,6 +1421,8 @@ files:
1402
1421
  - lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb
1403
1422
  - lib/datadog_api_client/v1/models/funnel_widget_request.rb
1404
1423
  - lib/datadog_api_client/v1/models/gcp_account.rb
1424
+ - lib/datadog_api_client/v1/models/gcp_monitored_resource_config.rb
1425
+ - lib/datadog_api_client/v1/models/gcp_monitored_resource_config_type.rb
1405
1426
  - lib/datadog_api_client/v1/models/geomap_widget_definition.rb
1406
1427
  - lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb
1407
1428
  - lib/datadog_api_client/v1/models/geomap_widget_definition_type.rb
@@ -2191,6 +2212,7 @@ files:
2191
2212
  - lib/datadog_api_client/v1/models/widget_view_mode.rb
2192
2213
  - lib/datadog_api_client/v1/models/widget_viz_type.rb
2193
2214
  - lib/datadog_api_client/v2/api/action_connection_api.rb
2215
+ - lib/datadog_api_client/v2/api/actions_datastores_api.rb
2194
2216
  - lib/datadog_api_client/v2/api/agentless_scanning_api.rb
2195
2217
  - lib/datadog_api_client/v2/api/api_management_api.rb
2196
2218
  - lib/datadog_api_client/v2/api/apm_retention_filters_api.rb
@@ -2578,6 +2600,9 @@ files:
2578
2600
  - lib/datadog_api_client/v2/models/bulk_mute_findings_request_properties.rb
2579
2601
  - lib/datadog_api_client/v2/models/bulk_mute_findings_response.rb
2580
2602
  - lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb
2603
+ - lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request.rb
2604
+ - lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data.rb
2605
+ - lib/datadog_api_client/v2/models/bulk_put_apps_datastore_items_request_data_attributes.rb
2581
2606
  - lib/datadog_api_client/v2/models/calculated_field.rb
2582
2607
  - lib/datadog_api_client/v2/models/cancel_data_deletion_response_body.rb
2583
2608
  - lib/datadog_api_client/v2/models/case.rb
@@ -2642,6 +2667,7 @@ files:
2642
2667
  - lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_attributes.rb
2643
2668
  - lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_attributes_resource.rb
2644
2669
  - lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_data.rb
2670
+ - lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_data_single_or_array.rb
2645
2671
  - lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_data_type.rb
2646
2672
  - lib/datadog_api_client/v2/models/ci_app_event_attributes.rb
2647
2673
  - lib/datadog_api_client/v2/models/ci_app_git_info.rb
@@ -2870,6 +2896,12 @@ files:
2870
2896
  - lib/datadog_api_client/v2/models/create_app_request_data_attributes.rb
2871
2897
  - lib/datadog_api_client/v2/models/create_app_response.rb
2872
2898
  - lib/datadog_api_client/v2/models/create_app_response_data.rb
2899
+ - lib/datadog_api_client/v2/models/create_apps_datastore_request.rb
2900
+ - lib/datadog_api_client/v2/models/create_apps_datastore_request_data.rb
2901
+ - lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes.rb
2902
+ - lib/datadog_api_client/v2/models/create_apps_datastore_request_data_attributes_org_access.rb
2903
+ - lib/datadog_api_client/v2/models/create_apps_datastore_response.rb
2904
+ - lib/datadog_api_client/v2/models/create_apps_datastore_response_data.rb
2873
2905
  - lib/datadog_api_client/v2/models/create_custom_framework_request.rb
2874
2906
  - lib/datadog_api_client/v2/models/create_custom_framework_response.rb
2875
2907
  - lib/datadog_api_client/v2/models/create_data_deletion_request_body.rb
@@ -2877,6 +2909,7 @@ files:
2877
2909
  - lib/datadog_api_client/v2/models/create_data_deletion_request_body_data.rb
2878
2910
  - lib/datadog_api_client/v2/models/create_data_deletion_request_body_data_type.rb
2879
2911
  - lib/datadog_api_client/v2/models/create_data_deletion_response_body.rb
2912
+ - lib/datadog_api_client/v2/models/create_incident_notification_rule_request.rb
2880
2913
  - lib/datadog_api_client/v2/models/create_incident_notification_template_request.rb
2881
2914
  - lib/datadog_api_client/v2/models/create_notification_rule_parameters.rb
2882
2915
  - lib/datadog_api_client/v2/models/create_notification_rule_parameters_data.rb
@@ -3021,8 +3054,21 @@ files:
3021
3054
  - lib/datadog_api_client/v2/models/dataset_response_single.rb
3022
3055
  - lib/datadog_api_client/v2/models/dataset_type.rb
3023
3056
  - lib/datadog_api_client/v2/models/dataset_update_request.rb
3057
+ - lib/datadog_api_client/v2/models/datastore.rb
3058
+ - lib/datadog_api_client/v2/models/datastore_array.rb
3059
+ - lib/datadog_api_client/v2/models/datastore_data.rb
3060
+ - lib/datadog_api_client/v2/models/datastore_data_attributes.rb
3061
+ - lib/datadog_api_client/v2/models/datastore_data_type.rb
3062
+ - lib/datadog_api_client/v2/models/datastore_item_conflict_mode.rb
3063
+ - lib/datadog_api_client/v2/models/datastore_items_data_type.rb
3064
+ - lib/datadog_api_client/v2/models/datastore_primary_key_generation_strategy.rb
3024
3065
  - lib/datadog_api_client/v2/models/delete_app_response.rb
3025
3066
  - lib/datadog_api_client/v2/models/delete_app_response_data.rb
3067
+ - lib/datadog_api_client/v2/models/delete_apps_datastore_item_request.rb
3068
+ - lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data.rb
3069
+ - lib/datadog_api_client/v2/models/delete_apps_datastore_item_request_data_attributes.rb
3070
+ - lib/datadog_api_client/v2/models/delete_apps_datastore_item_response.rb
3071
+ - lib/datadog_api_client/v2/models/delete_apps_datastore_item_response_data.rb
3026
3072
  - lib/datadog_api_client/v2/models/delete_apps_request.rb
3027
3073
  - lib/datadog_api_client/v2/models/delete_apps_request_data_items.rb
3028
3074
  - lib/datadog_api_client/v2/models/delete_apps_response.rb
@@ -3315,6 +3361,8 @@ files:
3315
3361
  - lib/datadog_api_client/v2/models/gcp_integration_type.rb
3316
3362
  - lib/datadog_api_client/v2/models/gcp_integration_update.rb
3317
3363
  - lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb
3364
+ - lib/datadog_api_client/v2/models/gcp_monitored_resource_config.rb
3365
+ - lib/datadog_api_client/v2/models/gcp_monitored_resource_config_type.rb
3318
3366
  - lib/datadog_api_client/v2/models/gcp_service_account.rb
3319
3367
  - lib/datadog_api_client/v2/models/gcp_service_account_credential_type.rb
3320
3368
  - lib/datadog_api_client/v2/models/gcp_service_account_meta.rb
@@ -3471,6 +3519,22 @@ files:
3471
3519
  - lib/datadog_api_client/v2/models/incident_integration_relationships.rb
3472
3520
  - lib/datadog_api_client/v2/models/incident_non_datadog_creator.rb
3473
3521
  - lib/datadog_api_client/v2/models/incident_notification_handle.rb
3522
+ - lib/datadog_api_client/v2/models/incident_notification_rule.rb
3523
+ - lib/datadog_api_client/v2/models/incident_notification_rule_array.rb
3524
+ - lib/datadog_api_client/v2/models/incident_notification_rule_array_meta.rb
3525
+ - lib/datadog_api_client/v2/models/incident_notification_rule_array_meta_page.rb
3526
+ - lib/datadog_api_client/v2/models/incident_notification_rule_attributes.rb
3527
+ - lib/datadog_api_client/v2/models/incident_notification_rule_attributes_visibility.rb
3528
+ - lib/datadog_api_client/v2/models/incident_notification_rule_conditions_items.rb
3529
+ - lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes.rb
3530
+ - lib/datadog_api_client/v2/models/incident_notification_rule_create_attributes_visibility.rb
3531
+ - lib/datadog_api_client/v2/models/incident_notification_rule_create_data.rb
3532
+ - lib/datadog_api_client/v2/models/incident_notification_rule_create_data_relationships.rb
3533
+ - lib/datadog_api_client/v2/models/incident_notification_rule_included_items.rb
3534
+ - lib/datadog_api_client/v2/models/incident_notification_rule_relationships.rb
3535
+ - lib/datadog_api_client/v2/models/incident_notification_rule_response_data.rb
3536
+ - lib/datadog_api_client/v2/models/incident_notification_rule_type.rb
3537
+ - lib/datadog_api_client/v2/models/incident_notification_rule_update_data.rb
3474
3538
  - lib/datadog_api_client/v2/models/incident_notification_template.rb
3475
3539
  - lib/datadog_api_client/v2/models/incident_notification_template_array.rb
3476
3540
  - lib/datadog_api_client/v2/models/incident_notification_template_array_meta.rb
@@ -3480,6 +3544,7 @@ files:
3480
3544
  - lib/datadog_api_client/v2/models/incident_notification_template_create_data.rb
3481
3545
  - lib/datadog_api_client/v2/models/incident_notification_template_create_data_relationships.rb
3482
3546
  - lib/datadog_api_client/v2/models/incident_notification_template_included_items.rb
3547
+ - lib/datadog_api_client/v2/models/incident_notification_template_object.rb
3483
3548
  - lib/datadog_api_client/v2/models/incident_notification_template_relationships.rb
3484
3549
  - lib/datadog_api_client/v2/models/incident_notification_template_response_data.rb
3485
3550
  - lib/datadog_api_client/v2/models/incident_notification_template_type.rb
@@ -3641,6 +3706,14 @@ files:
3641
3706
  - lib/datadog_api_client/v2/models/issues_search_result_issue_relationship.rb
3642
3707
  - lib/datadog_api_client/v2/models/issues_search_result_relationships.rb
3643
3708
  - lib/datadog_api_client/v2/models/issues_search_result_type.rb
3709
+ - lib/datadog_api_client/v2/models/item_api_payload.rb
3710
+ - lib/datadog_api_client/v2/models/item_api_payload_array.rb
3711
+ - lib/datadog_api_client/v2/models/item_api_payload_data.rb
3712
+ - lib/datadog_api_client/v2/models/item_api_payload_data_attributes.rb
3713
+ - lib/datadog_api_client/v2/models/item_api_payload_meta.rb
3714
+ - lib/datadog_api_client/v2/models/item_api_payload_meta_page.rb
3715
+ - lib/datadog_api_client/v2/models/item_api_payload_meta_schema.rb
3716
+ - lib/datadog_api_client/v2/models/item_api_payload_meta_schema_field.rb
3644
3717
  - lib/datadog_api_client/v2/models/jira_integration_metadata.rb
3645
3718
  - lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb
3646
3719
  - lib/datadog_api_client/v2/models/jira_issue.rb
@@ -4367,6 +4440,9 @@ files:
4367
4440
  - lib/datadog_api_client/v2/models/projected_cost_type.rb
4368
4441
  - lib/datadog_api_client/v2/models/projects_response.rb
4369
4442
  - lib/datadog_api_client/v2/models/publish_app_response.rb
4443
+ - lib/datadog_api_client/v2/models/put_apps_datastore_item_response_array.rb
4444
+ - lib/datadog_api_client/v2/models/put_apps_datastore_item_response_data.rb
4445
+ - lib/datadog_api_client/v2/models/put_incident_notification_rule_request.rb
4370
4446
  - lib/datadog_api_client/v2/models/query.rb
4371
4447
  - lib/datadog_api_client/v2/models/query_formula.rb
4372
4448
  - lib/datadog_api_client/v2/models/query_sort_order.rb
@@ -4394,6 +4470,8 @@ files:
4394
4470
  - lib/datadog_api_client/v2/models/relationship_to_incident_impacts.rb
4395
4471
  - lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb
4396
4472
  - lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb
4473
+ - lib/datadog_api_client/v2/models/relationship_to_incident_notification_template.rb
4474
+ - lib/datadog_api_client/v2/models/relationship_to_incident_notification_template_data.rb
4397
4475
  - lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb
4398
4476
  - lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb
4399
4477
  - lib/datadog_api_client/v2/models/relationship_to_incident_responder_data.rb
@@ -5124,6 +5202,14 @@ files:
5124
5202
  - lib/datadog_api_client/v2/models/update_app_response.rb
5125
5203
  - lib/datadog_api_client/v2/models/update_app_response_data.rb
5126
5204
  - lib/datadog_api_client/v2/models/update_app_response_data_attributes.rb
5205
+ - lib/datadog_api_client/v2/models/update_apps_datastore_item_request.rb
5206
+ - lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data.rb
5207
+ - lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes.rb
5208
+ - lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_attributes_item_changes.rb
5209
+ - lib/datadog_api_client/v2/models/update_apps_datastore_item_request_data_type.rb
5210
+ - lib/datadog_api_client/v2/models/update_apps_datastore_request.rb
5211
+ - lib/datadog_api_client/v2/models/update_apps_datastore_request_data.rb
5212
+ - lib/datadog_api_client/v2/models/update_apps_datastore_request_data_attributes.rb
5127
5213
  - lib/datadog_api_client/v2/models/update_custom_framework_request.rb
5128
5214
  - lib/datadog_api_client/v2/models/update_custom_framework_response.rb
5129
5215
  - lib/datadog_api_client/v2/models/update_open_api_response.rb