datadog_api_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/templates/api.mustache +2 -2
  4. data/.generator/templates/api_client.mustache +7 -0
  5. data/.generator/templates/api_client_typhoeus_partial.mustache +7 -0
  6. data/.generator/templates/configuration.mustache +4 -0
  7. data/.openapi-generator/VERSION +1 -1
  8. data/CHANGELOG.md +27 -0
  9. data/README.md +12 -1
  10. data/data/v1/openapi.yaml +866 -119
  11. data/data/v2/openapi.yaml +113 -0
  12. data/docs/v1/AWSAccount.md +6 -0
  13. data/docs/v1/DowntimeRecurrence.md +1 -1
  14. data/docs/v1/Event.md +1 -1
  15. data/docs/v1/FormulaAndFunctionApmDependencyStatName.md +15 -0
  16. data/docs/v1/FormulaAndFunctionApmDependencyStatsDataSource.md +15 -0
  17. data/docs/v1/FormulaAndFunctionApmDependencyStatsQueryDefinition.md +36 -0
  18. data/docs/v1/FormulaAndFunctionApmResourceStatName.md +15 -0
  19. data/docs/v1/FormulaAndFunctionApmResourceStatsDataSource.md +15 -0
  20. data/docs/v1/FormulaAndFunctionApmResourceStatsQueryDefinition.md +36 -0
  21. data/docs/v1/FormulaAndFunctionQueryDefinition.md +5 -1
  22. data/docs/v1/FunnelQuery.md +22 -0
  23. data/docs/v1/FunnelRequestType.md +15 -0
  24. data/docs/v1/FunnelSource.md +15 -0
  25. data/docs/v1/FunnelWidgetDefinition.md +28 -0
  26. data/docs/v1/FunnelWidgetDefinitionType.md +15 -0
  27. data/docs/v1/FunnelWidgetRequest.md +20 -0
  28. data/docs/v1/LogsAPI.md +1 -1
  29. data/docs/v1/MetricContentEncoding.md +15 -0
  30. data/docs/v1/MetricsAPI.md +10 -6
  31. data/docs/v1/MetricsPayload.md +1 -1
  32. data/docs/v1/MonitorOptions.md +5 -1
  33. data/docs/v1/MonitorRenotifyStatusType.md +15 -0
  34. data/docs/v1/MonitorsAPI.md +9 -9
  35. data/docs/v1/NotebookCreateDataAttributes.md +2 -0
  36. data/docs/v1/NotebookMetadata.md +22 -0
  37. data/docs/v1/NotebookMetadataType.md +15 -0
  38. data/docs/v1/NotebookResponseDataAttributes.md +2 -0
  39. data/docs/v1/NotebookUpdateDataAttributes.md +2 -0
  40. data/docs/v1/NotebooksAPI.md +7 -3
  41. data/docs/v1/NotebooksResponseDataAttributes.md +2 -0
  42. data/docs/v1/ProcessQueryDefinition.md +1 -1
  43. data/docs/v1/README.md +31 -3
  44. data/docs/v1/SLOCorrection.md +1 -1
  45. data/docs/v1/SLOCorrectionCreateData.md +1 -1
  46. data/docs/v1/SLOCorrectionCreateRequestAttributes.md +4 -4
  47. data/docs/v1/SLOCorrectionListResponse.md +1 -1
  48. data/docs/v1/SLOCorrectionResponseAttributes.md +4 -4
  49. data/docs/v1/SLOCorrectionUpdateRequestAttributes.md +3 -3
  50. data/docs/v1/ScatterPlotWidgetDefinitionRequests.md +4 -2
  51. data/docs/v1/ScatterplotDimension.md +15 -0
  52. data/docs/v1/ScatterplotTableRequest.md +22 -0
  53. data/docs/v1/ScatterplotWidgetFormula.md +22 -0
  54. data/docs/v1/Series.md +1 -1
  55. data/docs/v1/ServiceChecksAPI.md +1 -1
  56. data/docs/v1/ServiceLevelObjectiveCorrectionsAPI.md +11 -11
  57. data/docs/v1/SyntheticsAPI.md +61 -0
  58. data/docs/v1/SyntheticsAPIStep.md +1 -1
  59. data/docs/v1/SyntheticsBatchDetails.md +18 -0
  60. data/docs/v1/SyntheticsBatchDetailsData.md +22 -0
  61. data/docs/v1/SyntheticsBatchResult.md +36 -0
  62. data/docs/v1/SyntheticsBrowserError.md +3 -3
  63. data/docs/v1/SyntheticsCIBatchMetadata.md +20 -0
  64. data/docs/v1/{SyntheticsCITestMetadataCi.md → SyntheticsCIBatchMetadataCI.md} +2 -2
  65. data/docs/v1/SyntheticsCIBatchMetadataGit.md +20 -0
  66. data/docs/v1/SyntheticsCITest.md +1 -1
  67. data/docs/v1/SyntheticsStatus.md +15 -0
  68. data/docs/v1/SyntheticsTestDetails.md +2 -0
  69. data/docs/v1/SyntheticsTestExecutionRule.md +15 -0
  70. data/docs/v1/SyntheticsTestRequest.md +2 -0
  71. data/docs/v1/UsageAttributionValues.md +4 -4
  72. data/docs/v1/UsageMeteringAPI.md +65 -0
  73. data/docs/v1/UsageSDSHour.md +22 -0
  74. data/docs/v1/UsageSDSResponse.md +18 -0
  75. data/docs/v1/UsageSummaryDate.md +4 -0
  76. data/docs/v1/UsageSummaryDateOrg.md +6 -2
  77. data/docs/v1/UsageSummaryResponse.md +6 -2
  78. data/docs/v1/UsageTimeseriesHour.md +1 -1
  79. data/docs/v1/WebhooksIntegration.md +1 -1
  80. data/docs/v1/WebhooksIntegrationUpdateRequest.md +1 -1
  81. data/docs/v1/WidgetDefinition.md +2 -0
  82. data/docs/v2/IncidentServicesAPI.md +5 -5
  83. data/docs/v2/IncidentTeamsAPI.md +5 -5
  84. data/docs/v2/IncidentsAPI.md +5 -5
  85. data/docs/v2/README.md +5 -0
  86. data/docs/v2/SecurityMonitoringAPI.md +5 -5
  87. data/examples/v1/metrics/SubmitMetrics.rbbeta +14 -0
  88. data/extract-code-blocks.awk +4 -0
  89. data/lib/datadog_api_client/v1/api/logs_api.rb +1 -1
  90. data/lib/datadog_api_client/v1/api/metrics_api.rb +5 -2
  91. data/lib/datadog_api_client/v1/api/monitors_api.rb +9 -9
  92. data/lib/datadog_api_client/v1/api/notebooks_api.rb +8 -2
  93. data/lib/datadog_api_client/v1/api/service_checks_api.rb +1 -1
  94. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +16 -16
  95. data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -0
  96. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +77 -0
  97. data/lib/datadog_api_client/v1/api_client.rb +14 -0
  98. data/lib/datadog_api_client/v1/configuration.rb +7 -0
  99. data/lib/datadog_api_client/v1/models/aws_account.rb +37 -1
  100. data/lib/datadog_api_client/v1/models/content_encoding.rb +2 -2
  101. data/lib/datadog_api_client/v1/models/creator.rb +1 -0
  102. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +1 -0
  103. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +1 -1
  104. data/lib/datadog_api_client/v1/models/event.rb +1 -16
  105. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +44 -0
  106. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +38 -0
  107. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +356 -0
  108. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +47 -0
  109. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +38 -0
  110. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +348 -0
  111. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +2 -0
  112. data/lib/datadog_api_client/v1/models/funnel_query.rb +271 -0
  113. data/lib/datadog_api_client/v1/models/funnel_request_type.rb +38 -0
  114. data/lib/datadog_api_client/v1/models/funnel_source.rb +38 -0
  115. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +322 -0
  116. data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +38 -0
  117. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +251 -0
  118. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +38 -0
  119. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -0
  120. data/lib/datadog_api_client/v1/models/monitor.rb +2 -0
  121. data/lib/datadog_api_client/v1/models/monitor_options.rb +26 -2
  122. data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +40 -0
  123. data/lib/datadog_api_client/v1/models/notebook_author.rb +2 -0
  124. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +10 -1
  125. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +259 -0
  126. data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +42 -0
  127. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +10 -1
  128. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +10 -1
  129. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +10 -1
  130. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +1 -1
  131. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +10 -11
  132. data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +41 -0
  133. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +256 -0
  134. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +262 -0
  135. data/lib/datadog_api_client/v1/models/slo_correction.rb +2 -2
  136. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +6 -1
  137. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +1 -1
  138. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +5 -5
  139. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +2 -2
  140. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +1 -1
  141. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +5 -5
  142. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +1 -1
  143. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +1 -1
  144. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +4 -4
  145. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +232 -0
  146. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +253 -0
  147. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +319 -0
  148. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata.rb → synthetics_ci_batch_metadata.rb} +6 -6
  149. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_ci.rb → synthetics_ci_batch_metadata_ci.rb} +4 -4
  150. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_git.rb → synthetics_ci_batch_metadata_git.rb} +5 -5
  151. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
  152. data/lib/datadog_api_client/v1/models/synthetics_status.rb +40 -0
  153. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +10 -1
  154. data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +40 -0
  155. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  156. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +13 -13
  157. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +253 -0
  158. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +235 -0
  159. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  160. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +28 -8
  161. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +29 -9
  162. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +1 -1
  163. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +1 -1
  164. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
  166. data/lib/datadog_api_client/v1.rb +29 -3
  167. data/lib/datadog_api_client/v2/api/incident_services_api.rb +5 -5
  168. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +5 -5
  169. data/lib/datadog_api_client/v2/api/incidents_api.rb +5 -5
  170. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +5 -5
  171. data/lib/datadog_api_client/v2/api_client.rb +14 -0
  172. data/lib/datadog_api_client/v2/configuration.rb +5 -0
  173. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +1 -0
  174. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +1 -0
  175. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -0
  176. data/lib/datadog_api_client/v2/models/user_attributes.rb +2 -0
  177. data/lib/datadog_api_client/version.rb +1 -1
  178. data/spec/v1/models/formula_and_function_apm_dependency_stat_name_spec.rb +31 -0
  179. data/spec/v1/models/formula_and_function_apm_dependency_stats_data_source_spec.rb +31 -0
  180. data/spec/v1/models/formula_and_function_apm_dependency_stats_query_definition_spec.rb +91 -0
  181. data/spec/v1/models/formula_and_function_apm_resource_stat_name_spec.rb +31 -0
  182. data/spec/v1/models/formula_and_function_apm_resource_stats_data_source_spec.rb +31 -0
  183. data/spec/v1/models/formula_and_function_apm_resource_stats_query_definition_spec.rb +91 -0
  184. data/spec/v1/models/funnel_query_spec.rb +49 -0
  185. data/spec/v1/models/funnel_request_type_spec.rb +31 -0
  186. data/spec/v1/models/funnel_source_spec.rb +31 -0
  187. data/spec/v1/models/funnel_widget_definition_spec.rb +67 -0
  188. data/spec/v1/models/funnel_widget_definition_type_spec.rb +31 -0
  189. data/spec/v1/models/funnel_widget_request_spec.rb +43 -0
  190. data/spec/v1/models/metric_content_encoding_spec.rb +31 -0
  191. data/spec/v1/models/monitor_renotify_status_type_spec.rb +31 -0
  192. data/spec/v1/models/notebook_metadata_spec.rb +49 -0
  193. data/spec/v1/models/notebook_metadata_type_spec.rb +31 -0
  194. data/spec/v1/models/scatterplot_dimension_spec.rb +31 -0
  195. data/spec/v1/models/scatterplot_table_request_spec.rb +49 -0
  196. data/spec/v1/models/scatterplot_widget_formula_spec.rb +49 -0
  197. data/spec/v1/models/synthetics_batch_details_data_spec.rb +49 -0
  198. data/spec/v1/models/synthetics_batch_details_spec.rb +37 -0
  199. data/spec/v1/models/synthetics_batch_result_spec.rb +91 -0
  200. data/spec/v1/models/{synthetics_ci_test_metadata_ci_spec.rb → synthetics_ci_batch_metadata_ci_spec.rb} +6 -6
  201. data/spec/v1/models/{synthetics_ci_test_metadata_git_spec.rb → synthetics_ci_batch_metadata_git_spec.rb} +6 -6
  202. data/spec/v1/models/{synthetics_ci_test_metadata_spec.rb → synthetics_ci_batch_metadata_spec.rb} +6 -6
  203. data/spec/v1/models/synthetics_status_spec.rb +31 -0
  204. data/spec/v1/models/synthetics_test_execution_rule_spec.rb +31 -0
  205. data/spec/v1/models/usage_sds_hour_spec.rb +49 -0
  206. data/spec/v1/models/usage_sds_response_spec.rb +37 -0
  207. metadata +119 -14
  208. data/docs/v1/SyntheticsCITestMetadata.md +0 -20
  209. data/docs/v1/SyntheticsCITestMetadataGit.md +0 -20
data/data/v2/openapi.yaml CHANGED
@@ -936,6 +936,7 @@ components:
936
936
  description: A value which has been selected for the parent field.
937
937
  example: '1.1'
938
938
  type: string
939
+ nullable: true
939
940
  type: array
940
941
  type: object
941
942
  IncidentFieldAttributesSingleValue:
@@ -946,6 +947,7 @@ components:
946
947
  value:
947
948
  description: The single value selected for this field.
948
949
  example: SEV-1
950
+ nullable: true
949
951
  type: string
950
952
  type: object
951
953
  IncidentFieldAttributesSingleValueType:
@@ -1083,6 +1085,7 @@ components:
1083
1085
  during update.
1084
1086
  items:
1085
1087
  $ref: '#/components/schemas/IncidentNotificationHandle'
1088
+ nullable: true
1086
1089
  type: array
1087
1090
  postmortem_id:
1088
1091
  description: The UUID of the postmortem object attached to the incident.
@@ -4587,6 +4590,7 @@ components:
4587
4590
  - medium
4588
4591
  - high
4589
4592
  - critical
4593
+ example: critical
4590
4594
  type: string
4591
4595
  x-enum-varnames:
4592
4596
  - INFO
@@ -4904,6 +4908,7 @@ components:
4904
4908
  type: string
4905
4909
  name:
4906
4910
  description: Name of the user.
4911
+ nullable: true
4907
4912
  type: string
4908
4913
  service_account:
4909
4914
  description: Whether the user is a service account.
@@ -4913,6 +4918,7 @@ components:
4913
4918
  type: string
4914
4919
  title:
4915
4920
  description: Title of the user.
4921
+ nullable: true
4916
4922
  type: string
4917
4923
  verified:
4918
4924
  description: Whether the user is verified.
@@ -5149,7 +5155,13 @@ components:
5149
5155
  dashboards_read: The ability to view dashboards.
5150
5156
  dashboards_write: The ability to create and change dashboards.
5151
5157
  events_read: The ability to read events data.
5158
+ incident_read: The ability to view incidents in Datadog.
5159
+ incident_settings_write: The ability to configure incident settings.
5160
+ incident_write: The ability to create, view, and manage incidents in Datadog.
5152
5161
  metrics_read: The ability to view custom metrics.
5162
+ security_monitoring_filters_read: The ability to read Security Filters.
5163
+ security_monitoring_filters_write: The ability to create, edit and delete
5164
+ Security Filters.
5153
5165
  security_monitoring_rules_read: The ability to read Detection rules.
5154
5166
  security_monitoring_rules_write: The ability to create and edit Detection
5155
5167
  rules.
@@ -5906,6 +5918,11 @@ paths:
5906
5918
  $ref: '#/components/responses/ForbiddenResponse'
5907
5919
  '404':
5908
5920
  $ref: '#/components/responses/NotFoundResponse'
5921
+ security:
5922
+ - apiKeyAuth: []
5923
+ appKeyAuth: []
5924
+ - AuthZ:
5925
+ - incident_read
5909
5926
  summary: Get a list of incidents
5910
5927
  tags:
5911
5928
  - Incidents
@@ -5939,6 +5956,11 @@ paths:
5939
5956
  $ref: '#/components/responses/ForbiddenResponse'
5940
5957
  '404':
5941
5958
  $ref: '#/components/responses/NotFoundResponse'
5959
+ security:
5960
+ - apiKeyAuth: []
5961
+ appKeyAuth: []
5962
+ - AuthZ:
5963
+ - incident_write
5942
5964
  summary: Create an incident
5943
5965
  tags:
5944
5966
  - Incidents
@@ -5977,6 +5999,11 @@ paths:
5977
5999
  $ref: '#/components/responses/ForbiddenResponse'
5978
6000
  '404':
5979
6001
  $ref: '#/components/responses/NotFoundResponse'
6002
+ security:
6003
+ - apiKeyAuth: []
6004
+ appKeyAuth: []
6005
+ - AuthZ:
6006
+ - incident_write
5980
6007
  summary: Delete an existing incident
5981
6008
  tags:
5982
6009
  - Incidents
@@ -6006,6 +6033,11 @@ paths:
6006
6033
  $ref: '#/components/responses/ForbiddenResponse'
6007
6034
  '404':
6008
6035
  $ref: '#/components/responses/NotFoundResponse'
6036
+ security:
6037
+ - apiKeyAuth: []
6038
+ appKeyAuth: []
6039
+ - AuthZ:
6040
+ - incident_read
6009
6041
  summary: Get the details of an incident
6010
6042
  tags:
6011
6043
  - Incidents
@@ -6042,6 +6074,11 @@ paths:
6042
6074
  $ref: '#/components/responses/ForbiddenResponse'
6043
6075
  '404':
6044
6076
  $ref: '#/components/responses/NotFoundResponse'
6077
+ security:
6078
+ - apiKeyAuth: []
6079
+ appKeyAuth: []
6080
+ - AuthZ:
6081
+ - incident_write
6045
6082
  summary: Update an existing incident
6046
6083
  tags:
6047
6084
  - Incidents
@@ -7821,6 +7858,11 @@ paths:
7821
7858
  $ref: '#/components/responses/NotAuthorizedResponse'
7822
7859
  '429':
7823
7860
  $ref: '#/components/responses/TooManyRequestsResponse'
7861
+ security:
7862
+ - apiKeyAuth: []
7863
+ appKeyAuth: []
7864
+ - AuthZ:
7865
+ - security_monitoring_filters_read
7824
7866
  summary: Get all security filters
7825
7867
  tags:
7826
7868
  - Security Monitoring
@@ -7856,6 +7898,11 @@ paths:
7856
7898
  $ref: '#/components/responses/ConflictResponse'
7857
7899
  '429':
7858
7900
  $ref: '#/components/responses/TooManyRequestsResponse'
7901
+ security:
7902
+ - apiKeyAuth: []
7903
+ appKeyAuth: []
7904
+ - AuthZ:
7905
+ - security_monitoring_filters_write
7859
7906
  summary: Create a security filter
7860
7907
  tags:
7861
7908
  - Security Monitoring
@@ -7892,6 +7939,11 @@ paths:
7892
7939
  $ref: '#/components/responses/NotFoundResponse'
7893
7940
  '429':
7894
7941
  $ref: '#/components/responses/TooManyRequestsResponse'
7942
+ security:
7943
+ - apiKeyAuth: []
7944
+ appKeyAuth: []
7945
+ - AuthZ:
7946
+ - security_monitoring_filters_write
7895
7947
  summary: Delete a security filter
7896
7948
  tags:
7897
7949
  - Security Monitoring
@@ -7920,6 +7972,11 @@ paths:
7920
7972
  $ref: '#/components/responses/NotFoundResponse'
7921
7973
  '429':
7922
7974
  $ref: '#/components/responses/TooManyRequestsResponse'
7975
+ security:
7976
+ - apiKeyAuth: []
7977
+ appKeyAuth: []
7978
+ - AuthZ:
7979
+ - security_monitoring_filters_read
7923
7980
  summary: Get a security filter
7924
7981
  tags:
7925
7982
  - Security Monitoring
@@ -7956,6 +8013,11 @@ paths:
7956
8013
  $ref: '#/components/responses/ConcurrentModificationResponse'
7957
8014
  '429':
7958
8015
  $ref: '#/components/responses/TooManyRequestsResponse'
8016
+ security:
8017
+ - apiKeyAuth: []
8018
+ appKeyAuth: []
8019
+ - AuthZ:
8020
+ - security_monitoring_filters_write
7959
8021
  summary: Update a security filter
7960
8022
  tags:
7961
8023
  - Security Monitoring
@@ -8523,6 +8585,11 @@ paths:
8523
8585
  $ref: '#/components/responses/ForbiddenResponse'
8524
8586
  '404':
8525
8587
  $ref: '#/components/responses/NotFoundResponse'
8588
+ security:
8589
+ - apiKeyAuth: []
8590
+ appKeyAuth: []
8591
+ - AuthZ:
8592
+ - incident_read
8526
8593
  summary: Get a list of all incident services
8527
8594
  tags:
8528
8595
  - Incident Services
@@ -8556,6 +8623,11 @@ paths:
8556
8623
  $ref: '#/components/responses/ForbiddenResponse'
8557
8624
  '404':
8558
8625
  $ref: '#/components/responses/NotFoundResponse'
8626
+ security:
8627
+ - apiKeyAuth: []
8628
+ appKeyAuth: []
8629
+ - AuthZ:
8630
+ - incident_settings_write
8559
8631
  summary: Create a new incident service
8560
8632
  tags:
8561
8633
  - Incident Services
@@ -8593,6 +8665,11 @@ paths:
8593
8665
  $ref: '#/components/responses/ForbiddenResponse'
8594
8666
  '404':
8595
8667
  $ref: '#/components/responses/NotFoundResponse'
8668
+ security:
8669
+ - apiKeyAuth: []
8670
+ appKeyAuth: []
8671
+ - AuthZ:
8672
+ - incident_settings_write
8596
8673
  summary: Delete an existing incident service
8597
8674
  tags:
8598
8675
  - Incident Services
@@ -8625,6 +8702,11 @@ paths:
8625
8702
  $ref: '#/components/responses/ForbiddenResponse'
8626
8703
  '404':
8627
8704
  $ref: '#/components/responses/NotFoundResponse'
8705
+ security:
8706
+ - apiKeyAuth: []
8707
+ appKeyAuth: []
8708
+ - AuthZ:
8709
+ - incident_read
8628
8710
  summary: Get details of an incident service
8629
8711
  tags:
8630
8712
  - Incident Services
@@ -8661,6 +8743,11 @@ paths:
8661
8743
  $ref: '#/components/responses/ForbiddenResponse'
8662
8744
  '404':
8663
8745
  $ref: '#/components/responses/NotFoundResponse'
8746
+ security:
8747
+ - apiKeyAuth: []
8748
+ appKeyAuth: []
8749
+ - AuthZ:
8750
+ - incident_settings_write
8664
8751
  summary: Update an existing incident service
8665
8752
  tags:
8666
8753
  - Incident Services
@@ -8696,6 +8783,11 @@ paths:
8696
8783
  $ref: '#/components/responses/ForbiddenResponse'
8697
8784
  '404':
8698
8785
  $ref: '#/components/responses/NotFoundResponse'
8786
+ security:
8787
+ - apiKeyAuth: []
8788
+ appKeyAuth: []
8789
+ - AuthZ:
8790
+ - incident_read
8699
8791
  summary: Get a list of all incident teams
8700
8792
  tags:
8701
8793
  - Incident Teams
@@ -8729,6 +8821,11 @@ paths:
8729
8821
  $ref: '#/components/responses/ForbiddenResponse'
8730
8822
  '404':
8731
8823
  $ref: '#/components/responses/NotFoundResponse'
8824
+ security:
8825
+ - apiKeyAuth: []
8826
+ appKeyAuth: []
8827
+ - AuthZ:
8828
+ - incident_settings_write
8732
8829
  summary: Create a new incident team
8733
8830
  tags:
8734
8831
  - Incident Teams
@@ -8766,6 +8863,11 @@ paths:
8766
8863
  $ref: '#/components/responses/ForbiddenResponse'
8767
8864
  '404':
8768
8865
  $ref: '#/components/responses/NotFoundResponse'
8866
+ security:
8867
+ - apiKeyAuth: []
8868
+ appKeyAuth: []
8869
+ - AuthZ:
8870
+ - incident_settings_write
8769
8871
  summary: Delete an existing incident team
8770
8872
  tags:
8771
8873
  - Incident Teams
@@ -8798,6 +8900,11 @@ paths:
8798
8900
  $ref: '#/components/responses/ForbiddenResponse'
8799
8901
  '404':
8800
8902
  $ref: '#/components/responses/NotFoundResponse'
8903
+ security:
8904
+ - apiKeyAuth: []
8905
+ appKeyAuth: []
8906
+ - AuthZ:
8907
+ - incident_read
8801
8908
  summary: Get details of an incident team
8802
8909
  tags:
8803
8910
  - Incident Teams
@@ -8834,6 +8941,11 @@ paths:
8834
8941
  $ref: '#/components/responses/ForbiddenResponse'
8835
8942
  '404':
8836
8943
  $ref: '#/components/responses/NotFoundResponse'
8944
+ security:
8945
+ - apiKeyAuth: []
8946
+ appKeyAuth: []
8947
+ - AuthZ:
8948
+ - incident_settings_write
8837
8949
  summary: Update an existing incident team
8838
8950
  tags:
8839
8951
  - Incident Teams
@@ -9279,6 +9391,7 @@ servers:
9279
9391
  enum:
9280
9392
  - datadoghq.com
9281
9393
  - us3.datadoghq.com
9394
+ - us5.datadoghq.com
9282
9395
  - datadoghq.eu
9283
9396
  - ddog-gov.com
9284
9397
  subdomain:
@@ -7,9 +7,12 @@
7
7
  | **access_key_id** | **String** | Your AWS access key ID. Only required if your AWS account is a GovCloud or China account. | [optional] |
8
8
  | **account_id** | **String** | Your AWS Account ID without dashes. | [optional] |
9
9
  | **account_specific_namespace_rules** | **Hash<String, Boolean>** | An object, (in the form `{\"namespace1\":true/false, \"namespace2\":true/false}`), that enables or disables metric collection for specific AWS namespaces for this AWS account only. | [optional] |
10
+ | **cspm_resource_collection_enabled** | **Boolean** | Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`. | [optional][default to false] |
10
11
  | **excluded_regions** | **Array<String>** | An array of AWS regions to exclude from metrics collection. | [optional] |
11
12
  | **filter_tags** | **Array<String>** | The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1` | [optional] |
12
13
  | **host_tags** | **Array<String>** | Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration. | [optional] |
14
+ | **metrics_collection_enabled** | **Boolean** | Whether Datadog collects metrics for this AWS account. | [optional][default to true] |
15
+ | **resource_collection_enabled** | **Boolean** | Whether Datadog collects a standard set of resources from your AWS account. | [optional][default to false] |
13
16
  | **role_name** | **String** | Your Datadog role delegation name. | [optional] |
14
17
  | **secret_access_key** | **String** | Your AWS secret access key. Only required if your AWS account is a GovCloud or China account. | [optional] |
15
18
 
@@ -22,9 +25,12 @@ instance = DatadogAPIClient::V1::AWSAccount.new(
22
25
  access_key_id: null,
23
26
  account_id: 1234567,
24
27
  account_specific_namespace_rules: {"auto_scaling":false,"opswork":false},
28
+ cspm_resource_collection_enabled: true,
25
29
  excluded_regions: ["us-east-1","us-west-2"],
26
30
  filter_tags: ["<KEY>:<VALUE>"],
27
31
  host_tags: ["<KEY>:<VALUE>"],
32
+ metrics_collection_enabled: false,
33
+ resource_collection_enabled: true,
28
34
  role_name: DatadogAWSIntegrationRole,
29
35
  secret_access_key: null
30
36
  )
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **period** | **Integer** | How often to repeat as an integer. For example, to repeat every 3 days, select a type of `days` and a period of `3`. | [optional] |
8
- | **rrule** | **String** | The `RRULE` standard for defining recurring events (**requires to set \"type\" to rrule**) For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/supress-alert-with-downtimes/?tab=api) | [optional] |
8
+ | **rrule** | **String** | The `RRULE` standard for defining recurring events (**requires to set \"type\" to rrule**) For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api) | [optional] |
9
9
  | **type** | **String** | The type of recurrence. Choose from `days`, `weeks`, `months`, `years`, `rrule`. | [optional] |
10
10
  | **until_date** | **Integer** | The date at which the recurrence should end as a POSIX timestamp. `until_occurences` and `until_date` are mutually exclusive. | [optional] |
11
11
  | **until_occurrences** | **Integer** | How many times the downtime is rescheduled. `until_occurences` and `until_date` are mutually exclusive. | [optional] |
data/docs/v1/Event.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | **source_type_name** | **String** | The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). | [optional] |
16
16
  | **tags** | **Array<String>** | A list of tags to apply to the event. | [optional] |
17
17
  | **text** | **String** | The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with `%%% \\n` and end the text block with `\\n %%%`. Use `msg_text` with the Datadog Ruby library. | [optional] |
18
- | **title** | **String** | The event title. Limited to 100 characters. Use `msg_title` with the Datadog Ruby library. | [optional] |
18
+ | **title** | **String** | The event title. | [optional] |
19
19
  | **url** | **String** | URL of the event. | [optional][readonly] |
20
20
 
21
21
  ## Example
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatName
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatName.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsDataSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsDataSource.new()
14
+ ```
15
+
@@ -0,0 +1,36 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data_source** | [**FormulaAndFunctionApmDependencyStatsDataSource**](FormulaAndFunctionApmDependencyStatsDataSource.md) | | |
8
+ | **env** | **String** | APM environment. | |
9
+ | **is_upstream** | **Boolean** | Determines whether stats for upstream or downstream dependencies should be queried. | [optional] |
10
+ | **name** | **String** | Name of query to use in formulas. | |
11
+ | **operation_name** | **String** | Name of operation on service. | |
12
+ | **primary_tag_name** | **String** | The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog. | [optional] |
13
+ | **primary_tag_value** | **String** | Filter APM data by the second primary tag. `primary_tag_name` must also be specified. | [optional] |
14
+ | **resource_name** | **String** | APM resource. | |
15
+ | **service** | **String** | APM service. | |
16
+ | **stat** | [**FormulaAndFunctionApmDependencyStatName**](FormulaAndFunctionApmDependencyStatName.md) | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'datadog_api_client/v1'
22
+
23
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition.new(
24
+ data_source: null,
25
+ env: staging,
26
+ is_upstream: false,
27
+ name: query_errors,
28
+ operation_name: cassandra.query,
29
+ primary_tag_name: datacenter,
30
+ primary_tag_value: staging,
31
+ resource_name: DELETE FROM foo WHERE baz = ?,
32
+ service: cassandra,
33
+ stat: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatName
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatName.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsDataSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsDataSource.new()
14
+ ```
15
+
@@ -0,0 +1,36 @@
1
+ # DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsQueryDefinition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data_source** | [**FormulaAndFunctionApmResourceStatsDataSource**](FormulaAndFunctionApmResourceStatsDataSource.md) | | |
8
+ | **env** | **String** | APM environment. | |
9
+ | **group_by** | **Array<String>** | Array of fields to group results by. | [optional] |
10
+ | **name** | **String** | Name of this query to use in formulas. | |
11
+ | **operation_name** | **String** | Name of operation on service. | [optional] |
12
+ | **primary_tag_name** | **String** | Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog | [optional] |
13
+ | **primary_tag_value** | **String** | Value of the second primary tag by which to filter APM data. `primary_tag_name` must also be specified. | [optional] |
14
+ | **resource_name** | **String** | APM resource name. | [optional] |
15
+ | **service** | **String** | APM service name. | |
16
+ | **stat** | [**FormulaAndFunctionApmResourceStatName**](FormulaAndFunctionApmResourceStatName.md) | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'datadog_api_client/v1'
22
+
23
+ instance = DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsQueryDefinition.new(
24
+ data_source: null,
25
+ env: staging,
26
+ group_by: null,
27
+ name: query_errors,
28
+ operation_name: cassandra.query,
29
+ primary_tag_name: datacenter,
30
+ primary_tag_value: us-east-az,
31
+ resource_name: Admin::ProductsController#create,
32
+ service: web-store,
33
+ stat: null
34
+ )
35
+ ```
36
+
@@ -14,6 +14,8 @@ require 'datadog_api_client/v1'
14
14
  DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.openapi_one_of
15
15
  # =>
16
16
  # [
17
+ # :'FormulaAndFunctionApmDependencyStatsQueryDefinition',
18
+ # :'FormulaAndFunctionApmResourceStatsQueryDefinition',
17
19
  # :'FormulaAndFunctionEventQueryDefinition',
18
20
  # :'FormulaAndFunctionMetricQueryDefinition',
19
21
  # :'FormulaAndFunctionProcessQueryDefinition'
@@ -30,7 +32,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
30
32
  require 'datadog_api_client/v1'
31
33
 
32
34
  DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.build(data)
33
- # => #<FormulaAndFunctionEventQueryDefinition:0x00007fdd4aab02a0>
35
+ # => #<FormulaAndFunctionApmDependencyStatsQueryDefinition:0x00007fdd4aab02a0>
34
36
 
35
37
  DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.build(data_that_doesnt_match)
36
38
  # => nil
@@ -44,6 +46,8 @@ DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.build(data_that_doesnt_m
44
46
 
45
47
  #### Return type
46
48
 
49
+ - `FormulaAndFunctionApmDependencyStatsQueryDefinition`
50
+ - `FormulaAndFunctionApmResourceStatsQueryDefinition`
47
51
  - `FormulaAndFunctionEventQueryDefinition`
48
52
  - `FormulaAndFunctionMetricQueryDefinition`
49
53
  - `FormulaAndFunctionProcessQueryDefinition`
@@ -0,0 +1,22 @@
1
+ # DatadogAPIClient::V1::FunnelQuery
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data_source** | [**FunnelSource**](FunnelSource.md) | | [default to &#39;rum&#39;] |
8
+ | **query_string** | **String** | The widget query. | |
9
+ | **steps** | **Array&lt;Object&gt;** | List of funnel steps. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'datadog_api_client/v1'
15
+
16
+ instance = DatadogAPIClient::V1::FunnelQuery.new(
17
+ data_source: null,
18
+ query_string: @browser.name:Chrome,
19
+ steps: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FunnelRequestType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FunnelRequestType.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FunnelSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FunnelSource.new()
14
+ ```
15
+
@@ -0,0 +1,28 @@
1
+ # DatadogAPIClient::V1::FunnelWidgetDefinition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **requests** | [**Array&lt;FunnelWidgetRequest&gt;**](FunnelWidgetRequest.md) | Request payload used to query items. | |
8
+ | **time** | [**WidgetTime**](WidgetTime.md) | | [optional] |
9
+ | **title** | **String** | The title of the widget. | [optional] |
10
+ | **title_align** | [**WidgetTextAlign**](WidgetTextAlign.md) | | [optional] |
11
+ | **title_size** | **String** | The size of the title. | [optional] |
12
+ | **type** | [**FunnelWidgetDefinitionType**](FunnelWidgetDefinitionType.md) | | [default to &#39;funnel&#39;] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'datadog_api_client/v1'
18
+
19
+ instance = DatadogAPIClient::V1::FunnelWidgetDefinition.new(
20
+ requests: [{&quot;request_type&quot;:&quot;funnel&quot;},{&quot;query&quot;:{&quot;data_source&quot;:&quot;rum&quot;,&quot;query_string&quot;:&quot;@browser.name:Chrome&quot;,&quot;steps&quot;:[{&quot;facet&quot;:&quot;@view.name&quot;,&quot;value&quot;:&quot;/logs&quot;},{&quot;facet&quot;:&quot;@view.name&quot;,&quot;value&quot;:&quot;/apm/home&quot;}]}}],
21
+ time: null,
22
+ title: null,
23
+ title_align: null,
24
+ title_size: null,
25
+ type: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::FunnelWidgetDefinitionType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::FunnelWidgetDefinitionType.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # DatadogAPIClient::V1::FunnelWidgetRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **query** | [**FunnelQuery**](FunnelQuery.md) | | |
8
+ | **request_type** | [**FunnelRequestType**](FunnelRequestType.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'datadog_api_client/v1'
14
+
15
+ instance = DatadogAPIClient::V1::FunnelWidgetRequest.new(
16
+ query: null,
17
+ request_type: null
18
+ )
19
+ ```
20
+
data/docs/v1/LogsAPI.md CHANGED
@@ -107,7 +107,7 @@ require 'datadog_api_client'
107
107
  api_instance = DatadogAPIClient::V1::LogsAPI.new
108
108
  body = [DatadogAPIClient::V1::HTTPLogItem.new] # Array<HTTPLogItem> | Log to send (JSON format).
109
109
  opts = {
110
- content_encoding: DatadogAPIClient::V1::ContentEncoding::gzip, # ContentEncoding | HTTP header used to compress the media-type.
110
+ content_encoding: DatadogAPIClient::V1::ContentEncoding::GZIP, # ContentEncoding | HTTP header used to compress the media-type.
111
111
  ddtags: 'env:prod,user:my-user' # String | Log tags can be passed as query parameters with `text/plain` content type.
112
112
  }
113
113
 
@@ -0,0 +1,15 @@
1
+ # DatadogAPIClient::V1::MetricContentEncoding
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'datadog_api_client/v1'
12
+
13
+ instance = DatadogAPIClient::V1::MetricContentEncoding.new()
14
+ ```
15
+