datadog_api_client 1.0.0 → 1.1.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 (190) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.github/workflows/scripts/test_integration.js +24 -0
  4. data/.github/workflows/test.yml +4 -0
  5. data/.github/workflows/test_integration.yml +87 -0
  6. data/.openapi-generator/FILES +48 -0
  7. data/CHANGELOG.md +18 -0
  8. data/README.md +1 -1
  9. data/data/v1/openapi.yaml +1133 -99
  10. data/data/v2/openapi.yaml +420 -13
  11. data/docs/v1/Downtime.md +2 -0
  12. data/docs/v1/DowntimeChild.md +48 -0
  13. data/docs/v1/MetricsAPI.md +1 -1
  14. data/docs/v1/Monitor.md +3 -3
  15. data/docs/v1/MonitorGroupSearchResponse.md +22 -0
  16. data/docs/v1/MonitorGroupSearchResponseCounts.md +20 -0
  17. data/docs/v1/MonitorGroupSearchResult.md +30 -0
  18. data/docs/v1/MonitorOptions.md +1 -1
  19. data/docs/v1/MonitorSearchResponse.md +22 -0
  20. data/docs/v1/MonitorSearchResponseCounts.md +24 -0
  21. data/docs/v1/MonitorSearchResponseMetadata.md +24 -0
  22. data/docs/v1/MonitorSearchResult.md +40 -0
  23. data/docs/v1/MonitorSearchResultNotification.md +20 -0
  24. data/docs/v1/MonitorsAPI.md +155 -13
  25. data/docs/v1/NotebookCreateDataAttributes.md +1 -1
  26. data/docs/v1/NotebookResponseDataAttributes.md +3 -3
  27. data/docs/v1/NotebookUpdateDataAttributes.md +1 -1
  28. data/docs/v1/NotebooksResponse.md +1 -1
  29. data/docs/v1/NotebooksResponseData.md +22 -0
  30. data/docs/v1/NotebooksResponseDataAttributes.md +30 -0
  31. data/docs/v1/README.md +25 -4
  32. data/docs/v1/SyntheticsAPI.md +62 -2
  33. data/docs/v1/SyntheticsAPITest.md +2 -2
  34. data/docs/v1/SyntheticsAPITestConfig.md +1 -1
  35. data/docs/v1/SyntheticsBrowserTest.md +2 -2
  36. data/docs/v1/SyntheticsConfigVariable.md +3 -1
  37. data/docs/v1/SyntheticsGlobalVariableValue.md +1 -1
  38. data/docs/v1/SyntheticsListGlobalVariablesResponse.md +18 -0
  39. data/docs/v1/SyntheticsTestConfig.md +1 -1
  40. data/docs/v1/SyntheticsTestDetails.md +2 -2
  41. data/docs/v1/UsageAttributionBody.md +2 -0
  42. data/docs/v1/UsageAttributionPagination.md +3 -7
  43. data/docs/v1/UsageAttributionValues.md +8 -0
  44. data/docs/v1/UsageAuditLogsHour.md +20 -0
  45. data/docs/v1/UsageAuditLogsResponse.md +18 -0
  46. data/docs/v1/UsageCWSHour.md +22 -0
  47. data/docs/v1/UsageCWSResponse.md +18 -0
  48. data/docs/v1/UsageCloudSecurityPostureManagementHour.md +22 -0
  49. data/docs/v1/UsageCloudSecurityPostureManagementResponse.md +18 -0
  50. data/docs/v1/UsageMeteringAPI.md +157 -21
  51. data/docs/v1/UsageSummaryDate.md +12 -4
  52. data/docs/v1/UsageSummaryDateOrg.md +12 -4
  53. data/docs/v1/UsageSummaryResponse.md +12 -4
  54. data/docs/v1/UsageTopAvgMetricsMetadata.md +2 -2
  55. data/docs/v1/WidgetCustomLink.md +7 -3
  56. data/docs/v2/IncidentServicesAPI.md +2 -2
  57. data/docs/v2/IncidentTeamsAPI.md +2 -2
  58. data/docs/v2/IncidentsAPI.md +2 -2
  59. data/docs/v2/IncidentsResponse.md +1 -1
  60. data/docs/v2/KeyManagementAPI.md +6 -6
  61. data/docs/v2/README.md +21 -0
  62. data/docs/v2/RelationshipToIncidentIntegrationMetadataData.md +1 -1
  63. data/docs/v2/RelationshipToIncidentIntegrationMetadatas.md +1 -1
  64. data/docs/v2/RolesAPI.md +4 -4
  65. data/docs/v2/SecurityFilter.md +22 -0
  66. data/docs/v2/SecurityFilterAttributes.md +30 -0
  67. data/docs/v2/SecurityFilterCreateAttributes.md +26 -0
  68. data/docs/v2/SecurityFilterCreateData.md +20 -0
  69. data/docs/v2/SecurityFilterCreateRequest.md +18 -0
  70. data/docs/v2/SecurityFilterDeleteResponse.md +18 -0
  71. data/docs/v2/SecurityFilterExclusionFilter.md +20 -0
  72. data/docs/v2/SecurityFilterExclusionFilterResponse.md +20 -0
  73. data/docs/v2/SecurityFilterFilteredDataType.md +15 -0
  74. data/docs/v2/SecurityFilterMeta.md +18 -0
  75. data/docs/v2/SecurityFilterResponse.md +20 -0
  76. data/docs/v2/SecurityFilterType.md +15 -0
  77. data/docs/v2/SecurityFilterUpdateAttributes.md +28 -0
  78. data/docs/v2/SecurityFilterUpdateData.md +20 -0
  79. data/docs/v2/SecurityFilterUpdateRequest.md +18 -0
  80. data/docs/v2/SecurityFiltersResponse.md +20 -0
  81. data/docs/v2/SecurityMonitoringAPI.md +316 -2
  82. data/docs/v2/UsersAPI.md +10 -10
  83. data/lib/datadog_api_client/v1.rb +18 -2
  84. data/lib/datadog_api_client/v1/api/metrics_api.rb +2 -2
  85. data/lib/datadog_api_client/v1/api/monitors_api.rb +163 -5
  86. data/lib/datadog_api_client/v1/api/synthetics_api.rb +67 -0
  87. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +180 -23
  88. data/lib/datadog_api_client/v1/models/downtime.rb +11 -1
  89. data/lib/datadog_api_client/v1/models/downtime_child.rb +427 -0
  90. data/lib/datadog_api_client/v1/models/monitor.rb +10 -0
  91. data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +243 -0
  92. data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +237 -0
  93. data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +285 -0
  94. data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
  95. data/lib/datadog_api_client/v1/models/monitor_search_response.rb +243 -0
  96. data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +261 -0
  97. data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +253 -0
  98. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +339 -0
  99. data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +233 -0
  100. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +1 -1
  101. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
  102. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
  103. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
  104. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
  105. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
  106. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
  107. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
  108. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +1 -1
  109. data/lib/datadog_api_client/v1/models/notebooks_response.rb +1 -1
  110. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +258 -0
  111. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +317 -0
  112. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +0 -5
  113. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +11 -6
  114. data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
  115. data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +0 -5
  116. data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +225 -0
  117. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -5
  118. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +11 -1
  119. data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +10 -30
  120. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +41 -1
  121. data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +233 -0
  122. data/lib/datadog_api_client/v1/models/{usage_compliance_response.rb → usage_audit_logs_response.rb} +6 -6
  123. data/lib/datadog_api_client/v1/models/{usage_compliance_hour.rb → usage_cloud_security_posture_management_hour.rb} +19 -19
  124. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +225 -0
  125. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +243 -0
  126. data/lib/datadog_api_client/v1/models/usage_cws_response.rb +225 -0
  127. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +61 -22
  128. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +61 -22
  129. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +61 -22
  130. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +2 -4
  131. data/lib/datadog_api_client/v1/models/widget_custom_link.rb +24 -14
  132. data/lib/datadog_api_client/v2.rb +16 -0
  133. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +369 -0
  134. data/lib/datadog_api_client/v2/models/incident_integration_metadata_type.rb +1 -1
  135. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +1 -1
  136. data/lib/datadog_api_client/v2/models/security_filter.rb +243 -0
  137. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +299 -0
  138. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +289 -0
  139. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +243 -0
  140. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +227 -0
  141. data/lib/datadog_api_client/v2/models/security_filter_delete_response.rb +222 -0
  142. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +243 -0
  143. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +233 -0
  144. data/lib/datadog_api_client/v2/models/security_filter_filtered_data_type.rb +39 -0
  145. data/lib/datadog_api_client/v2/models/security_filter_meta.rb +223 -0
  146. data/lib/datadog_api_client/v2/models/security_filter_response.rb +231 -0
  147. data/lib/datadog_api_client/v2/models/security_filter_type.rb +39 -0
  148. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +289 -0
  149. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +243 -0
  150. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +227 -0
  151. data/lib/datadog_api_client/v2/models/security_filters_response.rb +234 -0
  152. data/lib/datadog_api_client/version.rb +1 -1
  153. data/spec/v1/models/downtime_child_spec.rb +127 -0
  154. data/spec/v1/models/monitor_group_search_response_counts_spec.rb +43 -0
  155. data/spec/v1/models/monitor_group_search_response_spec.rb +49 -0
  156. data/spec/v1/models/monitor_group_search_result_spec.rb +73 -0
  157. data/spec/v1/models/monitor_search_response_counts_spec.rb +55 -0
  158. data/spec/v1/models/monitor_search_response_metadata_spec.rb +55 -0
  159. data/spec/v1/models/monitor_search_response_spec.rb +49 -0
  160. data/spec/v1/models/monitor_search_result_notification_spec.rb +43 -0
  161. data/spec/v1/models/monitor_search_result_spec.rb +103 -0
  162. data/spec/v1/models/notebooks_response_data_attributes_spec.rb +73 -0
  163. data/spec/v1/models/notebooks_response_data_spec.rb +49 -0
  164. data/spec/v1/models/synthetics_list_global_variables_response_spec.rb +37 -0
  165. data/spec/v1/models/usage_audit_logs_hour_spec.rb +43 -0
  166. data/spec/v1/models/{usage_compliance_response_spec.rb → usage_audit_logs_response_spec.rb} +6 -6
  167. data/spec/v1/models/usage_cloud_security_posture_management_hour_spec.rb +49 -0
  168. data/spec/v1/models/usage_cloud_security_posture_management_response_spec.rb +37 -0
  169. data/spec/v1/models/{usage_compliance_hour_spec.rb → usage_cws_hour_spec.rb} +8 -8
  170. data/spec/v1/models/usage_cws_response_spec.rb +37 -0
  171. data/spec/v2/models/security_filter_attributes_spec.rb +73 -0
  172. data/spec/v2/models/security_filter_create_attributes_spec.rb +61 -0
  173. data/spec/v2/models/security_filter_create_data_spec.rb +43 -0
  174. data/spec/v2/models/security_filter_create_request_spec.rb +37 -0
  175. data/spec/v2/models/security_filter_delete_response_spec.rb +37 -0
  176. data/spec/v2/models/security_filter_exclusion_filter_response_spec.rb +43 -0
  177. data/spec/v2/models/security_filter_exclusion_filter_spec.rb +43 -0
  178. data/spec/v2/models/security_filter_filtered_data_type_spec.rb +31 -0
  179. data/spec/v2/models/security_filter_meta_spec.rb +37 -0
  180. data/spec/v2/models/security_filter_response_spec.rb +43 -0
  181. data/spec/v2/models/security_filter_spec.rb +49 -0
  182. data/spec/v2/models/security_filter_type_spec.rb +31 -0
  183. data/spec/v2/models/security_filter_update_attributes_spec.rb +67 -0
  184. data/spec/v2/models/security_filter_update_data_spec.rb +43 -0
  185. data/spec/v2/models/security_filter_update_request_spec.rb +37 -0
  186. data/spec/v2/models/security_filters_response_spec.rb +43 -0
  187. metadata +140 -11
  188. data/.azure-pipelines/all.yml +0 -50
  189. data/docs/v1/UsageComplianceHour.md +0 -22
  190. data/docs/v1/UsageComplianceResponse.md +0 -18
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cells** | [**Array<NotebookCellCreateRequest>**](NotebookCellCreateRequest.md) | List of cells to display in the notebook. | |
8
- | **name** | **String** | Notebook name. | |
8
+ | **name** | **String** | The name of the notebook. | |
9
9
  | **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
10
10
  | **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | |
11
11
 
@@ -6,9 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional] |
8
8
  | **cells** | [**Array<NotebookCellResponse>**](NotebookCellResponse.md) | List of cells to display in the notebook. | |
9
- | **created** | **Time** | UTC time stamp. | [optional][readonly] |
10
- | **modified** | **Time** | UTC time stamp. | [optional][readonly] |
11
- | **name** | **String** | Notebook name. | |
9
+ | **created** | **Time** | UTC time stamp for when the notebook was created. | [optional][readonly] |
10
+ | **modified** | **Time** | UTC time stamp for when the notebook was last modified. | [optional][readonly] |
11
+ | **name** | **String** | The name of the notebook. | |
12
12
  | **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
13
13
  | **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | |
14
14
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cells** | [**Array<NotebookUpdateCell>**](NotebookUpdateCell.md) | List of cells to display in the notebook. | |
8
- | **name** | **String** | Notebook name. | |
8
+ | **name** | **String** | The name of the notebook. | |
9
9
  | **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
10
10
  | **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | |
11
11
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array<NotebookResponseData>**](NotebookResponseData.md) | List of notebook definitions. | [optional] |
7
+ | **data** | [**Array<NotebooksResponseData>**](NotebooksResponseData.md) | List of notebook definitions. | [optional] |
8
8
  | **meta** | [**NotebooksResponseMeta**](NotebooksResponseMeta.md) | | [optional] |
9
9
 
10
10
  ## Example
@@ -0,0 +1,22 @@
1
+ # DatadogAPIClient::V1::NotebooksResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attributes** | [**NotebooksResponseDataAttributes**](NotebooksResponseDataAttributes.md) | | |
8
+ | **id** | **Integer** | Unique notebook ID, assigned when you create the notebook. | [readonly] |
9
+ | **type** | [**NotebookResourceType**](NotebookResourceType.md) | | [default to 'notebooks'] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'datadog_api_client/v1'
15
+
16
+ instance = DatadogAPIClient::V1::NotebooksResponseData.new(
17
+ attributes: null,
18
+ id: 123456,
19
+ type: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,30 @@
1
+ # DatadogAPIClient::V1::NotebooksResponseDataAttributes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional] |
8
+ | **cells** | [**Array<NotebookCellResponse>**](NotebookCellResponse.md) | List of cells to display in the notebook. | [optional] |
9
+ | **created** | **Time** | UTC time stamp for when the notebook was created. | [optional][readonly] |
10
+ | **modified** | **Time** | UTC time stamp for when the notebook was last modified. | [optional][readonly] |
11
+ | **name** | **String** | The name of the notebook. | |
12
+ | **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
13
+ | **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'datadog_api_client/v1'
19
+
20
+ instance = DatadogAPIClient::V1::NotebooksResponseDataAttributes.new(
21
+ author: null,
22
+ cells: null,
23
+ created: 2021-02-24T23:14:15.173964Z,
24
+ modified: 2021-02-24T23:15:23.274966Z,
25
+ name: Example Notebook,
26
+ status: null,
27
+ time: null
28
+ )
29
+ ```
30
+
data/docs/v1/README.md CHANGED
@@ -118,6 +118,8 @@ Class | Method | HTTP request | Description
118
118
  *DatadogAPIClient::V1::MonitorsAPI* | [**delete_monitor**](MonitorsAPI.md#delete_monitor) | **DELETE** /api/v1/monitor/{monitor_id} | Delete a monitor
119
119
  *DatadogAPIClient::V1::MonitorsAPI* | [**get_monitor**](MonitorsAPI.md#get_monitor) | **GET** /api/v1/monitor/{monitor_id} | Get a monitor's details
120
120
  *DatadogAPIClient::V1::MonitorsAPI* | [**list_monitors**](MonitorsAPI.md#list_monitors) | **GET** /api/v1/monitor | Get all monitor details
121
+ *DatadogAPIClient::V1::MonitorsAPI* | [**search_monitor_groups**](MonitorsAPI.md#search_monitor_groups) | **GET** /api/v1/monitor/groups/search | Monitors group search
122
+ *DatadogAPIClient::V1::MonitorsAPI* | [**search_monitors**](MonitorsAPI.md#search_monitors) | **GET** /api/v1/monitor/search | Monitors search
121
123
  *DatadogAPIClient::V1::MonitorsAPI* | [**update_monitor**](MonitorsAPI.md#update_monitor) | **PUT** /api/v1/monitor/{monitor_id} | Edit a monitor
122
124
  *DatadogAPIClient::V1::MonitorsAPI* | [**validate_monitor**](MonitorsAPI.md#validate_monitor) | **POST** /api/v1/monitor/validate | Validate a monitor
123
125
  *DatadogAPIClient::V1::NotebooksAPI* | [**create_notebook**](NotebooksAPI.md#create_notebook) | **POST** /api/v1/notebooks | Create a notebook
@@ -171,6 +173,7 @@ Class | Method | HTTP request | Description
171
173
  *DatadogAPIClient::V1::SyntheticsAPI* | [**get_global_variable**](SyntheticsAPI.md#get_global_variable) | **GET** /api/v1/synthetics/variables/{variable_id} | Get a global variable
172
174
  *DatadogAPIClient::V1::SyntheticsAPI* | [**get_private_location**](SyntheticsAPI.md#get_private_location) | **GET** /api/v1/synthetics/private-locations/{location_id} | Get a private location
173
175
  *DatadogAPIClient::V1::SyntheticsAPI* | [**get_test**](SyntheticsAPI.md#get_test) | **GET** /api/v1/synthetics/tests/{public_id} | Get a test configuration
176
+ *DatadogAPIClient::V1::SyntheticsAPI* | [**list_global_variables**](SyntheticsAPI.md#list_global_variables) | **GET** /api/v1/synthetics/variables | Get all global variables
174
177
  *DatadogAPIClient::V1::SyntheticsAPI* | [**list_locations**](SyntheticsAPI.md#list_locations) | **GET** /api/v1/synthetics/locations | Get all locations (public and private)
175
178
  *DatadogAPIClient::V1::SyntheticsAPI* | [**list_tests**](SyntheticsAPI.md#list_tests) | **GET** /api/v1/synthetics/tests | Get the list of all tests
176
179
  *DatadogAPIClient::V1::SyntheticsAPI* | [**trigger_ci_tests**](SyntheticsAPI.md#trigger_ci_tests) | **POST** /api/v1/synthetics/tests/trigger/ci | Trigger tests from CI/CD pipelines
@@ -192,8 +195,10 @@ Class | Method | HTTP request | Description
192
195
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_tracing_without_limits**](UsageMeteringAPI.md#get_tracing_without_limits) | **GET** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits
193
196
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_analyzed_logs**](UsageMeteringAPI.md#get_usage_analyzed_logs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs
194
197
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_attribution**](UsageMeteringAPI.md#get_usage_attribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution
198
+ *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_audit_logs**](UsageMeteringAPI.md#get_usage_audit_logs) | **GET** /api/v1/usage/audit_logs | Get hourly usage for audit logs
195
199
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_billable_summary**](UsageMeteringAPI.md#get_usage_billable_summary) | **GET** /api/v1/usage/billable-summary | Get billable usage across your account
196
- *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_compliance_monitoring**](UsageMeteringAPI.md#get_usage_compliance_monitoring) | **GET** /api/v1/usage/compliance-monitoring | Get hourly usage for Compliance Monitoring
200
+ *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_cloud_security_posture_management**](UsageMeteringAPI.md#get_usage_cloud_security_posture_management) | **GET** /api/v1/usage/cspm | Get hourly usage for CSPM
201
+ *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_cws**](UsageMeteringAPI.md#get_usage_cws) | **GET** /api/v1/usage/cws | Get hourly usage for Cloud Workload Security
197
202
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_fargate**](UsageMeteringAPI.md#get_usage_fargate) | **GET** /api/v1/usage/fargate | Get hourly usage for Fargate
198
203
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_hosts**](UsageMeteringAPI.md#get_usage_hosts) | **GET** /api/v1/usage/hosts | Get hourly usage for hosts and containers
199
204
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_indexed_spans**](UsageMeteringAPI.md#get_usage_indexed_spans) | **GET** /api/v1/usage/indexed-spans | Get hourly usage for indexed spans
@@ -212,7 +217,7 @@ Class | Method | HTTP request | Description
212
217
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_synthetics_api**](UsageMeteringAPI.md#get_usage_synthetics_api) | **GET** /api/v1/usage/synthetics_api | Get hourly usage for Synthetics API Checks
213
218
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_synthetics_browser**](UsageMeteringAPI.md#get_usage_synthetics_browser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks
214
219
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_timeseries**](UsageMeteringAPI.md#get_usage_timeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics
215
- *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_top_avg_metrics**](UsageMeteringAPI.md#get_usage_top_avg_metrics) | **GET** /api/v1/usage/top_avg_metrics | Get top custom metrics by hourly average
220
+ *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_top_avg_metrics**](UsageMeteringAPI.md#get_usage_top_avg_metrics) | **GET** /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average
216
221
  *DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_trace**](UsageMeteringAPI.md#get_usage_trace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search
217
222
  *DatadogAPIClient::V1::UsersAPI* | [**create_user**](UsersAPI.md#create_user) | **POST** /api/v1/user | Create a user
218
223
  *DatadogAPIClient::V1::UsersAPI* | [**disable_user**](UsersAPI.md#disable_user) | **DELETE** /api/v1/user/{user_handle} | Disable a user
@@ -287,6 +292,7 @@ Class | Method | HTTP request | Description
287
292
  - [DatadogAPIClient::V1::DistributionWidgetXAxis](DistributionWidgetXAxis.md)
288
293
  - [DatadogAPIClient::V1::DistributionWidgetYAxis](DistributionWidgetYAxis.md)
289
294
  - [DatadogAPIClient::V1::Downtime](Downtime.md)
295
+ - [DatadogAPIClient::V1::DowntimeChild](DowntimeChild.md)
290
296
  - [DatadogAPIClient::V1::DowntimeRecurrence](DowntimeRecurrence.md)
291
297
  - [DatadogAPIClient::V1::Event](Event.md)
292
298
  - [DatadogAPIClient::V1::EventAlertType](EventAlertType.md)
@@ -432,9 +438,17 @@ Class | Method | HTTP request | Description
432
438
  - [DatadogAPIClient::V1::MetricsQueryUnit](MetricsQueryUnit.md)
433
439
  - [DatadogAPIClient::V1::Monitor](Monitor.md)
434
440
  - [DatadogAPIClient::V1::MonitorDeviceID](MonitorDeviceID.md)
441
+ - [DatadogAPIClient::V1::MonitorGroupSearchResponse](MonitorGroupSearchResponse.md)
442
+ - [DatadogAPIClient::V1::MonitorGroupSearchResponseCounts](MonitorGroupSearchResponseCounts.md)
443
+ - [DatadogAPIClient::V1::MonitorGroupSearchResult](MonitorGroupSearchResult.md)
435
444
  - [DatadogAPIClient::V1::MonitorOptions](MonitorOptions.md)
436
445
  - [DatadogAPIClient::V1::MonitorOptionsAggregation](MonitorOptionsAggregation.md)
437
446
  - [DatadogAPIClient::V1::MonitorOverallStates](MonitorOverallStates.md)
447
+ - [DatadogAPIClient::V1::MonitorSearchResponse](MonitorSearchResponse.md)
448
+ - [DatadogAPIClient::V1::MonitorSearchResponseCounts](MonitorSearchResponseCounts.md)
449
+ - [DatadogAPIClient::V1::MonitorSearchResponseMetadata](MonitorSearchResponseMetadata.md)
450
+ - [DatadogAPIClient::V1::MonitorSearchResult](MonitorSearchResult.md)
451
+ - [DatadogAPIClient::V1::MonitorSearchResultNotification](MonitorSearchResultNotification.md)
438
452
  - [DatadogAPIClient::V1::MonitorState](MonitorState.md)
439
453
  - [DatadogAPIClient::V1::MonitorStateGroup](MonitorStateGroup.md)
440
454
  - [DatadogAPIClient::V1::MonitorSummaryWidgetDefinition](MonitorSummaryWidgetDefinition.md)
@@ -480,6 +494,8 @@ Class | Method | HTTP request | Description
480
494
  - [DatadogAPIClient::V1::NotebookUpdateDataAttributes](NotebookUpdateDataAttributes.md)
481
495
  - [DatadogAPIClient::V1::NotebookUpdateRequest](NotebookUpdateRequest.md)
482
496
  - [DatadogAPIClient::V1::NotebooksResponse](NotebooksResponse.md)
497
+ - [DatadogAPIClient::V1::NotebooksResponseData](NotebooksResponseData.md)
498
+ - [DatadogAPIClient::V1::NotebooksResponseDataAttributes](NotebooksResponseDataAttributes.md)
483
499
  - [DatadogAPIClient::V1::NotebooksResponseMeta](NotebooksResponseMeta.md)
484
500
  - [DatadogAPIClient::V1::NotebooksResponsePage](NotebooksResponsePage.md)
485
501
  - [DatadogAPIClient::V1::Organization](Organization.md)
@@ -606,6 +622,7 @@ Class | Method | HTTP request | Description
606
622
  - [DatadogAPIClient::V1::SyntheticsGlobalVariableParseTestOptionsType](SyntheticsGlobalVariableParseTestOptionsType.md)
607
623
  - [DatadogAPIClient::V1::SyntheticsGlobalVariableParserType](SyntheticsGlobalVariableParserType.md)
608
624
  - [DatadogAPIClient::V1::SyntheticsGlobalVariableValue](SyntheticsGlobalVariableValue.md)
625
+ - [DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse](SyntheticsListGlobalVariablesResponse.md)
609
626
  - [DatadogAPIClient::V1::SyntheticsListTestsResponse](SyntheticsListTestsResponse.md)
610
627
  - [DatadogAPIClient::V1::SyntheticsLocation](SyntheticsLocation.md)
611
628
  - [DatadogAPIClient::V1::SyntheticsLocations](SyntheticsLocations.md)
@@ -671,12 +688,16 @@ Class | Method | HTTP request | Description
671
688
  - [DatadogAPIClient::V1::UsageAttributionSort](UsageAttributionSort.md)
672
689
  - [DatadogAPIClient::V1::UsageAttributionSupportedMetrics](UsageAttributionSupportedMetrics.md)
673
690
  - [DatadogAPIClient::V1::UsageAttributionValues](UsageAttributionValues.md)
691
+ - [DatadogAPIClient::V1::UsageAuditLogsHour](UsageAuditLogsHour.md)
692
+ - [DatadogAPIClient::V1::UsageAuditLogsResponse](UsageAuditLogsResponse.md)
674
693
  - [DatadogAPIClient::V1::UsageBillableSummaryBody](UsageBillableSummaryBody.md)
675
694
  - [DatadogAPIClient::V1::UsageBillableSummaryHour](UsageBillableSummaryHour.md)
676
695
  - [DatadogAPIClient::V1::UsageBillableSummaryKeys](UsageBillableSummaryKeys.md)
677
696
  - [DatadogAPIClient::V1::UsageBillableSummaryResponse](UsageBillableSummaryResponse.md)
678
- - [DatadogAPIClient::V1::UsageComplianceHour](UsageComplianceHour.md)
679
- - [DatadogAPIClient::V1::UsageComplianceResponse](UsageComplianceResponse.md)
697
+ - [DatadogAPIClient::V1::UsageCWSHour](UsageCWSHour.md)
698
+ - [DatadogAPIClient::V1::UsageCWSResponse](UsageCWSResponse.md)
699
+ - [DatadogAPIClient::V1::UsageCloudSecurityPostureManagementHour](UsageCloudSecurityPostureManagementHour.md)
700
+ - [DatadogAPIClient::V1::UsageCloudSecurityPostureManagementResponse](UsageCloudSecurityPostureManagementResponse.md)
680
701
  - [DatadogAPIClient::V1::UsageCustomReportsAttributes](UsageCustomReportsAttributes.md)
681
702
  - [DatadogAPIClient::V1::UsageCustomReportsData](UsageCustomReportsData.md)
682
703
  - [DatadogAPIClient::V1::UsageCustomReportsMeta](UsageCustomReportsMeta.md)
@@ -21,6 +21,7 @@ All URIs are relative to *https://api.datadoghq.com*
21
21
  | [**get_global_variable**](SyntheticsAPI.md#get_global_variable) | **GET** /api/v1/synthetics/variables/{variable_id} | Get a global variable |
22
22
  | [**get_private_location**](SyntheticsAPI.md#get_private_location) | **GET** /api/v1/synthetics/private-locations/{location_id} | Get a private location |
23
23
  | [**get_test**](SyntheticsAPI.md#get_test) | **GET** /api/v1/synthetics/tests/{public_id} | Get a test configuration |
24
+ | [**list_global_variables**](SyntheticsAPI.md#list_global_variables) | **GET** /api/v1/synthetics/variables | Get all global variables |
24
25
  | [**list_locations**](SyntheticsAPI.md#list_locations) | **GET** /api/v1/synthetics/locations | Get all locations (public and private) |
25
26
  | [**list_tests**](SyntheticsAPI.md#list_tests) | **GET** /api/v1/synthetics/tests | Get the list of all tests |
26
27
  | [**trigger_ci_tests**](SyntheticsAPI.md#trigger_ci_tests) | **POST** /api/v1/synthetics/tests/trigger/ci | Trigger tests from CI/CD pipelines |
@@ -43,7 +44,7 @@ Create a Synthetics global variable.
43
44
  ```ruby
44
45
  require 'datadog_api_client'
45
46
  api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
46
- body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({description: 'Example description', name: 'MY_VARIABLE', tags: ['tags_example'], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new({value: 'example-value'})}) # SyntheticsGlobalVariable | Details of the global variable to create.
47
+ body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({description: 'Example description', name: 'MY_VARIABLE', tags: ['tags_example'], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new}) # SyntheticsGlobalVariable | Details of the global variable to create.
47
48
 
48
49
  begin
49
50
  # Create a global variable
@@ -476,7 +477,7 @@ Edit a Synthetics global variable.
476
477
  require 'datadog_api_client'
477
478
  api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
478
479
  variable_id = 'variable_id_example' # String | The ID of the global variable.
479
- body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({description: 'Example description', name: 'MY_VARIABLE', tags: ['tags_example'], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new({value: 'example-value'})}) # SyntheticsGlobalVariable | Details of the global variable to update.
480
+ body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({description: 'Example description', name: 'MY_VARIABLE', tags: ['tags_example'], value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new}) # SyntheticsGlobalVariable | Details of the global variable to update.
480
481
 
481
482
  begin
482
483
  # Edit a global variable
@@ -1104,6 +1105,65 @@ end
1104
1105
  - **Accept**: application/json
1105
1106
 
1106
1107
 
1108
+ ## list_global_variables
1109
+
1110
+ > <SyntheticsListGlobalVariablesResponse> list_global_variables
1111
+
1112
+ Get all global variables
1113
+
1114
+ Get the list of all Synthetics global variables.
1115
+
1116
+ ### Examples
1117
+
1118
+ ```ruby
1119
+ require 'datadog_api_client'
1120
+ api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
1121
+
1122
+ begin
1123
+ # Get all global variables
1124
+ result = api_instance.list_global_variables
1125
+ p result
1126
+ rescue DatadogAPIClient::V1::APIError => e
1127
+ puts "Error when calling SyntheticsAPI->list_global_variables: #{e}"
1128
+ end
1129
+ ```
1130
+
1131
+ #### Using the list_global_variables_with_http_info variant
1132
+
1133
+ This returns an Array which contains the response data, status code and headers.
1134
+
1135
+ > <Array(<SyntheticsListGlobalVariablesResponse>, Integer, Hash)> list_global_variables_with_http_info
1136
+
1137
+ ```ruby
1138
+ begin
1139
+ # Get all global variables
1140
+ data, status_code, headers = api_instance.list_global_variables_with_http_info
1141
+ p status_code # => 2xx
1142
+ p headers # => { ... }
1143
+ p data # => <SyntheticsListGlobalVariablesResponse>
1144
+ rescue DatadogAPIClient::V1::APIError => e
1145
+ puts "Error when calling SyntheticsAPI->list_global_variables_with_http_info: #{e}"
1146
+ end
1147
+ ```
1148
+
1149
+ ### Parameters
1150
+
1151
+ This endpoint does not need any parameter.
1152
+
1153
+ ### Return type
1154
+
1155
+ [**SyntheticsListGlobalVariablesResponse**](SyntheticsListGlobalVariablesResponse.md)
1156
+
1157
+ ### Authorization
1158
+
1159
+ [apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
1160
+
1161
+ ### HTTP request headers
1162
+
1163
+ - **Content-Type**: Not defined
1164
+ - **Accept**: application/json
1165
+
1166
+
1107
1167
  ## list_locations
1108
1168
 
1109
1169
  > <SyntheticsLocations> list_locations
@@ -7,10 +7,10 @@
7
7
  | **config** | [**SyntheticsAPITestConfig**](SyntheticsAPITestConfig.md) | | [optional] |
8
8
  | **locations** | **Array&lt;String&gt;** | Array of locations used to run the test. | [optional] |
9
9
  | **message** | **String** | Notification message associated with the test. | [optional] |
10
- | **monitor_id** | **Integer** | The associated monitor ID. | [optional] |
10
+ | **monitor_id** | **Integer** | The associated monitor ID. | [optional][readonly] |
11
11
  | **name** | **String** | Name of the test. | [optional] |
12
12
  | **options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional] |
13
- | **public_id** | **String** | The public ID for the test. | [optional] |
13
+ | **public_id** | **String** | The public ID for the test. | [optional][readonly] |
14
14
  | **status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional] |
15
15
  | **subtype** | [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional] |
16
16
  | **tags** | **Array&lt;String&gt;** | Array of tags attached to the test. | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **assertions** | [**Array&lt;SyntheticsAssertion&gt;**](SyntheticsAssertion.md) | Array of assertions used for the test. | |
7
+ | **assertions** | [**Array&lt;SyntheticsAssertion&gt;**](SyntheticsAssertion.md) | Array of assertions used for the test. | [optional] |
8
8
  | **config_variables** | [**Array&lt;SyntheticsConfigVariable&gt;**](SyntheticsConfigVariable.md) | Array of variables used for the test. | [optional] |
9
9
  | **request** | [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | | [optional] |
10
10
  | **steps** | [**Array&lt;SyntheticsAPIStep&gt;**](SyntheticsAPIStep.md) | When the test subtype is &#x60;multi&#x60;, the steps of the test. | [optional] |
@@ -7,10 +7,10 @@
7
7
  | **config** | [**SyntheticsBrowserTestConfig**](SyntheticsBrowserTestConfig.md) | | [optional] |
8
8
  | **locations** | **Array&lt;String&gt;** | Array of locations used to run the test. | [optional] |
9
9
  | **message** | **String** | Notification message associated with the test. Message can either be text or an empty string. | |
10
- | **monitor_id** | **Integer** | The associated monitor ID. | [optional] |
10
+ | **monitor_id** | **Integer** | The associated monitor ID. | [optional][readonly] |
11
11
  | **name** | **String** | Name of the test. | [optional] |
12
12
  | **options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional] |
13
- | **public_id** | **String** | The public ID of the test. | [optional] |
13
+ | **public_id** | **String** | The public ID of the test. | [optional][readonly] |
14
14
  | **status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional] |
15
15
  | **steps** | [**Array&lt;SyntheticsStep&gt;**](SyntheticsStep.md) | The steps of the test. | [optional] |
16
16
  | **tags** | **Array&lt;String&gt;** | Array of tags attached to the test. | [optional] |
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **example** | **String** | Example for the variable. | |
7
+ | **example** | **String** | Example for the variable. | [optional] |
8
+ | **id** | **String** | ID of the variable for global variables. | [optional] |
8
9
  | **name** | **String** | Name of the variable. | |
9
10
  | **pattern** | **String** | Pattern of the variable. | [optional] |
10
11
  | **type** | [**SyntheticsConfigVariableType**](SyntheticsConfigVariableType.md) | | |
@@ -16,6 +17,7 @@ require 'datadog_api_client/v1'
16
17
 
17
18
  instance = DatadogAPIClient::V1::SyntheticsConfigVariable.new(
18
19
  example: null,
20
+ id: null,
19
21
  name: VARIABLE_NAME,
20
22
  pattern: null,
21
23
  type: null
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **secure** | **Boolean** | Determines if the variable is secure. | [optional] |
8
- | **value** | **String** | Value of the global variable. When reading a global variable, the value will not be present if the variable is secure. | |
8
+ | **value** | **String** | Value of the global variable. When reading a global variable, the value will not be present if the variable is secure. | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,18 @@
1
+ # DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **variables** | [**Array&lt;SyntheticsGlobalVariable&gt;**](SyntheticsGlobalVariable.md) | Array of Synthetic global variables. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'datadog_api_client/v1'
13
+
14
+ instance = DatadogAPIClient::V1::SyntheticsListGlobalVariablesResponse.new(
15
+ variables: null
16
+ )
17
+ ```
18
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **assertions** | [**Array&lt;SyntheticsAssertion&gt;**](SyntheticsAssertion.md) | Array of assertions used for the test. | |
7
+ | **assertions** | [**Array&lt;SyntheticsAssertion&gt;**](SyntheticsAssertion.md) | Array of assertions used for the test. | [optional] |
8
8
  | **config_variables** | [**Array&lt;SyntheticsConfigVariable&gt;**](SyntheticsConfigVariable.md) | API tests only - array of variables used for the test. | [optional] |
9
9
  | **request** | [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | | [optional] |
10
10
  | **variables** | [**Array&lt;SyntheticsBrowserVariable&gt;**](SyntheticsBrowserVariable.md) | Browser tests only - array of variables used for the test steps. | [optional] |
@@ -7,10 +7,10 @@
7
7
  | **config** | [**SyntheticsTestConfig**](SyntheticsTestConfig.md) | | [optional] |
8
8
  | **locations** | **Array&lt;String&gt;** | Array of locations used to run the test. | [optional] |
9
9
  | **message** | **String** | Notification message associated with the test. | [optional] |
10
- | **monitor_id** | **Integer** | The associated monitor ID. | [optional] |
10
+ | **monitor_id** | **Integer** | The associated monitor ID. | [optional][readonly] |
11
11
  | **name** | **String** | Name of the test. | [optional] |
12
12
  | **options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional] |
13
- | **public_id** | **String** | The test public ID. | [optional] |
13
+ | **public_id** | **String** | The test public ID. | [optional][readonly] |
14
14
  | **status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional] |
15
15
  | **steps** | [**Array&lt;SyntheticsStep&gt;**](SyntheticsStep.md) | For browser test, the steps of the test. | [optional] |
16
16
  | **subtype** | [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional] |
@@ -7,6 +7,7 @@
7
7
  | **month** | **Time** | Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]. | [optional] |
8
8
  | **org_name** | **String** | The name of the organization. | [optional] |
9
9
  | **public_id** | **String** | The organization public ID. | [optional] |
10
+ | **tag_config_source** | **String** | The source of the usage attribution tag configuration and the selected tags in the format &#x60;&lt;source_org_name&gt;:&lt;selected tag 1&gt;-&lt;selected tag 2&gt;-&lt;selected tag 3&gt;&#x60;. | [optional] |
10
11
  | **tags** | **Hash&lt;String, Array&lt;String&gt;&gt;** | Usage Summary by tag name. | [optional] |
11
12
  | **updated_at** | **String** | Shows the the most recent hour in the current months for all organizations for which all usages were calculated. | [optional] |
12
13
  | **values** | [**UsageAttributionValues**](UsageAttributionValues.md) | | [optional] |
@@ -20,6 +21,7 @@ instance = DatadogAPIClient::V1::UsageAttributionBody.new(
20
21
  month: null,
21
22
  org_name: null,
22
23
  public_id: null,
24
+ tag_config_source: null,
23
25
  tags: null,
24
26
  updated_at: null,
25
27
  values: null
@@ -5,10 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **limit** | **Integer** | Maximum amount of records to be returned. | [optional] |
8
- | **offset** | **Integer** | Records to be skipped before beginning to return. | [optional] |
9
- | **sort_direction** | **String** | Direction to sort by. | [optional] |
10
- | **sort_name** | **String** | Field to sort by. | [optional] |
11
- | **total_number_of_records** | **Integer** | Total number of records. | [optional] |
8
+ | **next_record_id** | **String** | The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of this next_record_id. | [optional] |
9
+ | **total_number_of_records** | **Integer** | Total number of records. (deprecated after May 1st, 2021) | [optional] |
12
10
 
13
11
  ## Example
14
12
 
@@ -17,9 +15,7 @@ require 'datadog_api_client/v1'
17
15
 
18
16
  instance = DatadogAPIClient::V1::UsageAttributionPagination.new(
19
17
  limit: null,
20
- offset: null,
21
- sort_direction: null,
22
- sort_name: null,
18
+ next_record_id: null,
23
19
  total_number_of_records: null
24
20
  )
25
21
  ```
@@ -14,6 +14,10 @@
14
14
  | **container_usage** | **Float** | The container usage by tag(s). | [optional] |
15
15
  | **custom_timeseries_percentage** | **Float** | The percentage of custom metrics usage by tag(s). | [optional] |
16
16
  | **custom_timeseries_usage** | **Float** | The custom metrics usage by tag(s). | [optional] |
17
+ | **cws_container_percentage** | **Float** | The percentage of Cloud Workload Security container usage by tag(s) | [optional] |
18
+ | **cws_container_usage** | **Float** | The Cloud Workload Security container usage by tag(s) | [optional] |
19
+ | **cws_host_percentage** | **Float** | The percentage of Cloud Workload Security host usage by tag(s) | [optional] |
20
+ | **cws_host_usage** | **Float** | The Cloud Workload Security host usage by tag(s) | [optional] |
17
21
  | **infra_host_percentage** | **Float** | The percentage of infrastructure host usage by tag(s). | [optional] |
18
22
  | **infra_host_usage** | **Float** | The infrastructure host usage by tag(s). | [optional] |
19
23
  | **lambda_functions_percentage** | **Float** | The percentage of Lambda function usage by tag(s). | [optional] |
@@ -47,6 +51,10 @@ instance = DatadogAPIClient::V1::UsageAttributionValues.new(
47
51
  container_usage: null,
48
52
  custom_timeseries_percentage: null,
49
53
  custom_timeseries_usage: null,
54
+ cws_container_percentage: null,
55
+ cws_container_usage: null,
56
+ cws_host_percentage: null,
57
+ cws_host_usage: null,
50
58
  infra_host_percentage: null,
51
59
  infra_host_usage: null,
52
60
  lambda_functions_percentage: null,