datadog_api_client 2.30.0 → 2.31.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 (301) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +338 -22
  4. data/.generator/schemas/v2/openapi.yaml +3672 -98
  5. data/CHANGELOG.md +37 -0
  6. data/examples/v1/dashboards/CreateDashboard_1490099434.rb +65 -0
  7. data/examples/v1/dashboards/CreateDashboard_3520534424.rb +61 -0
  8. data/examples/v1/logs-indexes/DeleteLogsIndex.rb +5 -0
  9. data/examples/v1/logs-pipelines/CreateLogsPipeline_2707101123.rb +23 -0
  10. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -0
  11. data/examples/v2/agentless-scanning/CreateAwsOnDemandTask.rb +14 -0
  12. data/examples/v2/agentless-scanning/CreateAwsScanOptions.rb +18 -0
  13. data/examples/v2/agentless-scanning/DeleteAwsScanOptions.rb +5 -0
  14. data/examples/v2/agentless-scanning/GetAwsOnDemandTask.rb +5 -0
  15. data/examples/v2/agentless-scanning/ListAwsOnDemandTasks.rb +5 -0
  16. data/examples/v2/agentless-scanning/UpdateAwsScanOptions.rb +17 -0
  17. data/examples/v2/app-builder/CreateApp.rb +121 -13
  18. data/examples/v2/app-builder/DeleteApp.rb +0 -3
  19. data/examples/v2/app-builder/DeleteApps.rb +0 -3
  20. data/examples/v2/app-builder/GetApp.rb +0 -3
  21. data/examples/v2/app-builder/ListApps.rb +0 -3
  22. data/examples/v2/app-builder/PublishApp.rb +0 -3
  23. data/examples/v2/app-builder/UnpublishApp.rb +0 -3
  24. data/examples/v2/app-builder/UpdateApp.rb +0 -3
  25. data/examples/v2/application-security/CreateApplicationSecurityWafCustomRule.rb +55 -0
  26. data/examples/v2/application-security/CreateApplicationSecurityWafExclusionFilter.rb +33 -0
  27. data/examples/v2/application-security/DeleteApplicationSecurityWafCustomRule.rb +5 -0
  28. data/examples/v2/application-security/DeleteApplicationSecurityWafExclusionFilter.rb +8 -0
  29. data/examples/v2/application-security/GetApplicationSecurityWafCustomRule.rb +5 -0
  30. data/examples/v2/application-security/GetApplicationSecurityWafExclusionFilter.rb +8 -0
  31. data/examples/v2/application-security/ListApplicationSecurityWAFCustomRules.rb +5 -0
  32. data/examples/v2/application-security/ListApplicationSecurityWafExclusionFilters.rb +5 -0
  33. data/examples/v2/application-security/UpdateApplicationSecurityWafCustomRule.rb +46 -0
  34. data/examples/v2/application-security/UpdateApplicationSecurityWafExclusionFilter.rb +22 -0
  35. data/examples/v2/rum-retention-filters/CreateRetentionFilter.rb +21 -0
  36. data/examples/v2/rum-retention-filters/DeleteRetentionFilter.rb +5 -0
  37. data/examples/v2/rum-retention-filters/GetRetentionFilter.rb +5 -0
  38. data/examples/v2/rum-retention-filters/ListRetentionFilters.rb +5 -0
  39. data/examples/v2/rum-retention-filters/OrderRetentionFilters.rb +22 -0
  40. data/examples/v2/rum-retention-filters/UpdateRetentionFilter.rb +19 -0
  41. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1965169892.rb +50 -0
  42. data/examples/v2/security-monitoring/CreateSignalNotificationRule.rb +1 -1
  43. data/examples/v2/security-monitoring/CreateVulnerabilityNotificationRule.rb +1 -1
  44. data/examples/v2/security-monitoring/DeleteSignalNotificationRule.rb +1 -1
  45. data/examples/v2/security-monitoring/DeleteVulnerabilityNotificationRule.rb +1 -1
  46. data/examples/v2/security-monitoring/GetRuleVersionHistory.rb +8 -0
  47. data/examples/v2/security-monitoring/GetRuleVersionHistory_2467565841.rb +11 -0
  48. data/examples/v2/security-monitoring/GetSBOM.rb +3 -0
  49. data/examples/v2/security-monitoring/GetSignalNotificationRule.rb +1 -1
  50. data/examples/v2/security-monitoring/GetSignalNotificationRules.rb +1 -1
  51. data/examples/v2/security-monitoring/GetVulnerabilityNotificationRule.rb +1 -1
  52. data/examples/v2/security-monitoring/GetVulnerabilityNotificationRules.rb +1 -1
  53. data/examples/v2/security-monitoring/ListVulnerabilities.rb +3 -0
  54. data/examples/v2/security-monitoring/ListVulnerableAssets.rb +3 -0
  55. data/examples/v2/security-monitoring/PatchSignalNotificationRule.rb +1 -1
  56. data/examples/v2/security-monitoring/PatchVulnerabilityNotificationRule.rb +1 -1
  57. data/examples/v2/software-catalog/UpsertCatalogEntity.rb +5 -1
  58. data/examples/v2/workflow-automation/CreateWorkflow.rb +95 -0
  59. data/examples/v2/workflow-automation/DeleteWorkflow.rb +8 -0
  60. data/examples/v2/workflow-automation/GetWorkflow.rb +8 -0
  61. data/examples/v2/workflow-automation/UpdateWorkflow.rb +99 -0
  62. data/lib/datadog_api_client/configuration.rb +4 -8
  63. data/lib/datadog_api_client/inflector.rb +188 -1
  64. data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +66 -0
  65. data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
  66. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +1 -1
  67. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +1 -1
  68. data/lib/datadog_api_client/v1/models/dashboard_share_type.rb +1 -0
  69. data/lib/datadog_api_client/v1/models/logs_processor.rb +2 -1
  70. data/lib/datadog_api_client/v1/models/logs_span_remapper.rb +160 -0
  71. data/lib/datadog_api_client/v1/models/logs_span_remapper_type.rb +26 -0
  72. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +14 -4
  73. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +13 -1
  74. data/lib/datadog_api_client/v1/models/number_format_unit.rb +63 -0
  75. data/lib/datadog_api_client/v1/models/number_format_unit_canonical.rb +125 -0
  76. data/lib/datadog_api_client/v1/models/number_format_unit_custom.rb +137 -0
  77. data/lib/datadog_api_client/v1/models/number_format_unit_custom_type.rb +26 -0
  78. data/lib/datadog_api_client/v1/models/number_format_unit_scale.rb +115 -0
  79. data/lib/datadog_api_client/v1/models/number_format_unit_scale_type.rb +26 -0
  80. data/lib/datadog_api_client/v1/models/shared_dashboard.rb +85 -9
  81. data/lib/datadog_api_client/v1/models/shared_dashboard_invitees_items.rb +151 -0
  82. data/lib/datadog_api_client/v1/models/shared_dashboard_status.rb +27 -0
  83. data/lib/datadog_api_client/v1/models/shared_dashboard_update_request.rb +68 -3
  84. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +1 -1
  85. data/lib/datadog_api_client/v1/models/synthetics_api_test_step.rb +11 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_browser_variable_type.rb +0 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +1 -1
  88. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +1 -1
  89. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +1 -1
  90. data/lib/datadog_api_client/v1/models/table_widget_cell_display_mode.rb +1 -0
  91. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +3 -3
  92. data/lib/datadog_api_client/v1/models/viewing_preferences.rb +115 -0
  93. data/lib/datadog_api_client/v1/models/viewing_preferences_theme.rb +28 -0
  94. data/lib/datadog_api_client/v1/models/widget_formula.rb +21 -1
  95. data/lib/datadog_api_client/v1/models/widget_formula_cell_display_mode_options.rb +115 -0
  96. data/lib/datadog_api_client/v1/models/widget_formula_cell_display_mode_options_trend_type.rb +28 -0
  97. data/lib/datadog_api_client/v1/models/widget_formula_cell_display_mode_options_y_scale.rb +27 -0
  98. data/lib/datadog_api_client/v1/models/widget_number_format.rb +123 -0
  99. data/lib/datadog_api_client/v2/api/agentless_scanning_api.rb +398 -2
  100. data/lib/datadog_api_client/v2/api/api_management_api.rb +15 -0
  101. data/lib/datadog_api_client/v2/api/app_builder_api.rb +0 -48
  102. data/lib/datadog_api_client/v2/api/application_security_api.rb +689 -0
  103. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +1 -1
  104. data/lib/datadog_api_client/v2/api/confluent_cloud_api.rb +8 -8
  105. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -1
  106. data/lib/datadog_api_client/v2/api/rum_retention_filters_api.rb +455 -0
  107. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +116 -23
  108. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +1 -2
  109. data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +269 -0
  110. data/lib/datadog_api_client/v2/models/account_filtering_config.rb +129 -0
  111. data/lib/datadog_api_client/v2/models/action_query.rb +198 -0
  112. data/lib/datadog_api_client/v2/models/action_query_condition.rb +63 -0
  113. data/lib/datadog_api_client/v2/models/action_query_debounce_in_ms.rb +63 -0
  114. data/lib/datadog_api_client/v2/models/action_query_mocked_outputs.rb +63 -0
  115. data/lib/datadog_api_client/v2/models/action_query_mocked_outputs_enabled.rb +63 -0
  116. data/lib/datadog_api_client/v2/models/action_query_mocked_outputs_object.rb +133 -0
  117. data/lib/datadog_api_client/v2/models/action_query_only_trigger_manually.rb +63 -0
  118. data/lib/datadog_api_client/v2/models/action_query_polling_interval_in_ms.rb +63 -0
  119. data/lib/datadog_api_client/v2/models/action_query_properties.rb +203 -0
  120. data/lib/datadog_api_client/v2/models/action_query_requires_confirmation.rb +63 -0
  121. data/lib/datadog_api_client/v2/models/action_query_show_toast_on_error.rb +63 -0
  122. data/lib/datadog_api_client/v2/models/action_query_spec.rb +63 -0
  123. data/lib/datadog_api_client/v2/models/action_query_spec_connection_group.rb +117 -0
  124. data/lib/datadog_api_client/v2/models/action_query_spec_inputs.rb +63 -0
  125. data/lib/datadog_api_client/v2/models/action_query_spec_object.rb +153 -0
  126. data/lib/datadog_api_client/v2/models/action_query_type.rb +26 -0
  127. data/lib/datadog_api_client/v2/models/annotation.rb +165 -0
  128. data/lib/datadog_api_client/v2/models/annotation_display.rb +105 -0
  129. data/lib/datadog_api_client/v2/models/annotation_display_bounds.rb +135 -0
  130. data/lib/datadog_api_client/v2/models/annotation_markdown_text_annotation.rb +105 -0
  131. data/lib/datadog_api_client/v2/models/api_trigger.rb +105 -0
  132. data/lib/datadog_api_client/v2/models/api_trigger_wrapper.rb +135 -0
  133. data/lib/datadog_api_client/v2/models/app_trigger_wrapper.rb +135 -0
  134. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_action.rb +115 -0
  135. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_action_action.rb +27 -0
  136. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_action_parameters.rb +115 -0
  137. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb +253 -0
  138. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition.rb +144 -0
  139. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_input.rb +135 -0
  140. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_input_address.rb +46 -0
  141. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_operator.rb +36 -0
  142. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_options.rb +115 -0
  143. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_parameters.rb +178 -0
  144. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_create_attributes.rb +243 -0
  145. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_create_data.rb +144 -0
  146. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_create_request.rb +123 -0
  147. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_data.rb +125 -0
  148. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_list_response.rb +107 -0
  149. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_metadata.rb +155 -0
  150. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_response.rb +105 -0
  151. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_scope.rb +144 -0
  152. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_tags.rb +145 -0
  153. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_tags_category.rb +28 -0
  154. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_type.rb +26 -0
  155. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_update_attributes.rb +243 -0
  156. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_update_data.rb +144 -0
  157. data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_update_request.rb +123 -0
  158. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_attributes.rb +213 -0
  159. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_create_attributes.rb +212 -0
  160. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_create_data.rb +144 -0
  161. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_create_request.rb +123 -0
  162. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_metadata.rb +155 -0
  163. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_on_match.rb +26 -0
  164. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_resource.rb +125 -0
  165. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_response.rb +105 -0
  166. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_rules_target.rb +115 -0
  167. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_rules_target_tags.rb +115 -0
  168. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_scope.rb +115 -0
  169. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_type.rb +26 -0
  170. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_update_attributes.rb +212 -0
  171. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_update_data.rb +144 -0
  172. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filter_update_request.rb +123 -0
  173. data/lib/datadog_api_client/v2/models/application_security_waf_exclusion_filters_response.rb +107 -0
  174. data/lib/datadog_api_client/v2/models/aws_cur_config_attributes.rb +11 -1
  175. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_attributes.rb +12 -20
  176. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +11 -1
  177. data/lib/datadog_api_client/v2/models/aws_on_demand_attributes.rb +138 -0
  178. data/lib/datadog_api_client/v2/models/aws_on_demand_create_attributes.rb +123 -0
  179. data/lib/datadog_api_client/v2/models/aws_on_demand_create_data.rb +144 -0
  180. data/lib/datadog_api_client/v2/models/aws_on_demand_create_request.rb +123 -0
  181. data/lib/datadog_api_client/v2/models/aws_on_demand_data.rb +125 -0
  182. data/lib/datadog_api_client/v2/models/aws_on_demand_list_response.rb +107 -0
  183. data/lib/datadog_api_client/v2/models/aws_on_demand_response.rb +105 -0
  184. data/lib/datadog_api_client/v2/models/aws_on_demand_type.rb +26 -0
  185. data/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb +186 -0
  186. data/lib/datadog_api_client/v2/models/aws_scan_options_create_data.rb +165 -0
  187. data/lib/datadog_api_client/v2/models/aws_scan_options_create_request.rb +123 -0
  188. data/lib/datadog_api_client/v2/models/aws_scan_options_list_response.rb +107 -0
  189. data/lib/datadog_api_client/v2/models/aws_scan_options_response.rb +4 -6
  190. data/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb +135 -0
  191. data/lib/datadog_api_client/v2/models/aws_scan_options_update_data.rb +165 -0
  192. data/lib/datadog_api_client/v2/models/aws_scan_options_update_request.rb +123 -0
  193. data/lib/datadog_api_client/v2/models/case_trigger.rb +105 -0
  194. data/lib/datadog_api_client/v2/models/case_trigger_wrapper.rb +135 -0
  195. data/lib/datadog_api_client/v2/models/change_event_trigger_wrapper.rb +135 -0
  196. data/lib/datadog_api_client/v2/models/completion_condition.rb +154 -0
  197. data/lib/datadog_api_client/v2/models/completion_condition_operator.rb +37 -0
  198. data/lib/datadog_api_client/v2/models/completion_gate.rb +144 -0
  199. data/lib/datadog_api_client/v2/models/connection.rb +144 -0
  200. data/lib/datadog_api_client/v2/models/connection_env.rb +147 -0
  201. data/lib/datadog_api_client/v2/models/connection_env_env.rb +26 -0
  202. data/lib/datadog_api_client/v2/models/connection_group.rb +167 -0
  203. data/lib/datadog_api_client/v2/models/create_workflow_request.rb +123 -0
  204. data/lib/datadog_api_client/v2/models/create_workflow_response.rb +123 -0
  205. data/lib/datadog_api_client/v2/models/dashboard_trigger_wrapper.rb +135 -0
  206. data/lib/datadog_api_client/v2/models/data_transform.rb +186 -0
  207. data/lib/datadog_api_client/v2/models/data_transform_properties.rb +105 -0
  208. data/lib/datadog_api_client/v2/models/{query_type.rb → data_transform_type.rb} +2 -4
  209. data/lib/datadog_api_client/v2/models/error_handler.rb +144 -0
  210. data/lib/datadog_api_client/v2/models/fastly_service.rb +1 -1
  211. data/lib/datadog_api_client/v2/models/get_rule_version_history_data.rb +125 -0
  212. data/lib/datadog_api_client/v2/models/get_rule_version_history_data_type.rb +26 -0
  213. data/lib/datadog_api_client/v2/models/get_rule_version_history_response.rb +105 -0
  214. data/lib/datadog_api_client/v2/models/get_workflow_response.rb +105 -0
  215. data/lib/datadog_api_client/v2/models/github_webhook_trigger.rb +105 -0
  216. data/lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb +135 -0
  217. data/lib/datadog_api_client/v2/models/incident_trigger.rb +105 -0
  218. data/lib/datadog_api_client/v2/models/incident_trigger_wrapper.rb +135 -0
  219. data/lib/datadog_api_client/v2/models/input_schema.rb +107 -0
  220. data/lib/datadog_api_client/v2/models/input_schema_parameters.rb +174 -0
  221. data/lib/datadog_api_client/v2/models/input_schema_parameters_type.rb +33 -0
  222. data/lib/datadog_api_client/v2/models/job_definition.rb +13 -1
  223. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +11 -1
  224. data/lib/datadog_api_client/v2/models/logs_archive_storage_class_s3_type.rb +30 -0
  225. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +50 -1
  226. data/lib/datadog_api_client/v2/models/monitor_trigger.rb +105 -0
  227. data/lib/datadog_api_client/v2/models/monitor_trigger_wrapper.rb +135 -0
  228. data/lib/datadog_api_client/v2/models/outbound_edge.rb +144 -0
  229. data/lib/datadog_api_client/v2/models/output_schema.rb +107 -0
  230. data/lib/datadog_api_client/v2/models/output_schema_parameters.rb +184 -0
  231. data/lib/datadog_api_client/v2/models/output_schema_parameters_type.rb +33 -0
  232. data/lib/datadog_api_client/v2/models/parameter.rb +144 -0
  233. data/lib/datadog_api_client/v2/models/query.rb +37 -160
  234. data/lib/datadog_api_client/v2/models/readiness_gate.rb +123 -0
  235. data/lib/datadog_api_client/v2/models/readiness_gate_threshold_type.rb +27 -0
  236. data/lib/datadog_api_client/v2/models/retry_strategy.rb +133 -0
  237. data/lib/datadog_api_client/v2/models/retry_strategy_kind.rb +26 -0
  238. data/lib/datadog_api_client/v2/models/retry_strategy_linear.rb +144 -0
  239. data/lib/datadog_api_client/v2/models/rule_types_items.rb +1 -1
  240. data/lib/datadog_api_client/v2/models/rule_version_history.rb +133 -0
  241. data/lib/datadog_api_client/v2/models/rule_version_update.rb +125 -0
  242. data/lib/datadog_api_client/v2/models/rule_version_update_type.rb +28 -0
  243. data/lib/datadog_api_client/v2/models/rule_versions.rb +117 -0
  244. data/lib/datadog_api_client/v2/models/rum_retention_filter_attributes.rb +167 -0
  245. data/lib/datadog_api_client/v2/models/rum_retention_filter_create_attributes.rb +193 -0
  246. data/lib/datadog_api_client/v2/models/rum_retention_filter_create_data.rb +154 -0
  247. data/lib/datadog_api_client/v2/models/rum_retention_filter_create_request.rb +123 -0
  248. data/lib/datadog_api_client/v2/models/rum_retention_filter_data.rb +135 -0
  249. data/lib/datadog_api_client/v2/models/rum_retention_filter_event_type.rb +32 -0
  250. data/lib/datadog_api_client/v2/models/rum_retention_filter_meta.rb +105 -0
  251. data/lib/datadog_api_client/v2/models/rum_retention_filter_response.rb +105 -0
  252. data/lib/datadog_api_client/v2/models/rum_retention_filter_source.rb +29 -0
  253. data/lib/datadog_api_client/v2/models/rum_retention_filter_type.rb +26 -0
  254. data/lib/datadog_api_client/v2/models/rum_retention_filter_update_attributes.rb +167 -0
  255. data/lib/datadog_api_client/v2/models/rum_retention_filter_update_data.rb +175 -0
  256. data/lib/datadog_api_client/v2/models/rum_retention_filter_update_request.rb +123 -0
  257. data/lib/datadog_api_client/v2/models/rum_retention_filters_order_data.rb +144 -0
  258. data/lib/datadog_api_client/v2/models/rum_retention_filters_order_request.rb +108 -0
  259. data/lib/datadog_api_client/v2/models/rum_retention_filters_order_response.rb +107 -0
  260. data/lib/datadog_api_client/v2/models/rum_retention_filters_response.rb +107 -0
  261. data/lib/datadog_api_client/v2/models/schedule_trigger.rb +123 -0
  262. data/lib/datadog_api_client/v2/models/schedule_trigger_wrapper.rb +135 -0
  263. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +13 -1
  264. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_action.rb +115 -0
  265. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_action_options.rb +123 -0
  266. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_action_type.rb +27 -0
  267. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +13 -1
  268. data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +4 -0
  269. data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +2 -0
  270. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
  271. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
  272. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +13 -1
  273. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  274. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +13 -1
  275. data/lib/datadog_api_client/v2/models/security_trigger.rb +105 -0
  276. data/lib/datadog_api_client/v2/models/security_trigger_wrapper.rb +135 -0
  277. data/lib/datadog_api_client/v2/models/selectors.rb +1 -1
  278. data/lib/datadog_api_client/v2/models/slack_trigger_wrapper.rb +135 -0
  279. data/lib/datadog_api_client/v2/models/spec.rb +173 -0
  280. data/lib/datadog_api_client/v2/models/state_variable.rb +186 -0
  281. data/lib/datadog_api_client/v2/models/state_variable_properties.rb +105 -0
  282. data/lib/datadog_api_client/v2/models/state_variable_type.rb +26 -0
  283. data/lib/datadog_api_client/v2/models/step.rb +220 -0
  284. data/lib/datadog_api_client/v2/models/step_display.rb +105 -0
  285. data/lib/datadog_api_client/v2/models/step_display_bounds.rb +115 -0
  286. data/lib/datadog_api_client/v2/models/trigger.rb +73 -0
  287. data/lib/datadog_api_client/v2/models/trigger_rate_limit.rb +115 -0
  288. data/lib/datadog_api_client/v2/models/update_workflow_request.rb +123 -0
  289. data/lib/datadog_api_client/v2/models/update_workflow_response.rb +105 -0
  290. data/lib/datadog_api_client/v2/models/workflow_data.rb +164 -0
  291. data/lib/datadog_api_client/v2/models/workflow_data_attributes.rb +206 -0
  292. data/lib/datadog_api_client/v2/models/workflow_data_relationships.rb +115 -0
  293. data/lib/datadog_api_client/v2/models/workflow_data_type.rb +26 -0
  294. data/lib/datadog_api_client/v2/models/workflow_data_update.rb +164 -0
  295. data/lib/datadog_api_client/v2/models/workflow_data_update_attributes.rb +177 -0
  296. data/lib/datadog_api_client/v2/models/workflow_trigger_wrapper.rb +135 -0
  297. data/lib/datadog_api_client/v2/models/workflow_user_relationship.rb +105 -0
  298. data/lib/datadog_api_client/v2/models/workflow_user_relationship_data.rb +144 -0
  299. data/lib/datadog_api_client/v2/models/workflow_user_relationship_type.rb +26 -0
  300. data/lib/datadog_api_client/version.rb +1 -1
  301. metadata +223 -3
@@ -0,0 +1,115 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # The definition of `NumberFormatUnitScale` object.
21
+ class NumberFormatUnitScale
22
+ include BaseGenericModel
23
+
24
+ # The type of unit scale.
25
+ attr_accessor :type
26
+
27
+ # The name of the unit.
28
+ attr_accessor :unit_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
+ :'type' => :'type',
37
+ :'unit_name' => :'unit_name'
38
+ }
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ # @!visibility private
43
+ def self.openapi_types
44
+ {
45
+ :'type' => :'NumberFormatUnitScaleType',
46
+ :'unit_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::V1::NumberFormatUnitScale` 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?(:'type')
69
+ self.type = attributes[:'type']
70
+ end
71
+
72
+ if attributes.key?(:'unit_name')
73
+ self.unit_name = attributes[:'unit_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
+ type == o.type &&
104
+ unit_name == o.unit_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
+ [type, unit_name, additional_properties].hash
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,26 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # The type of unit scale.
21
+ class NumberFormatUnitScaleType
22
+ include BaseEnumModel
23
+
24
+ CANONICAL_UNIT = "canonical_unit".freeze
25
+ end
26
+ end
@@ -25,7 +25,7 @@ module DatadogAPIClient::V1
25
25
  attr_accessor :author
26
26
 
27
27
  # Date the dashboard was shared.
28
- attr_accessor :created_at
28
+ attr_accessor :created
29
29
 
30
30
  # ID of the dashboard to share.
31
31
  attr_reader :dashboard_id
@@ -33,12 +33,24 @@ module DatadogAPIClient::V1
33
33
  # The type of the associated private dashboard.
34
34
  attr_reader :dashboard_type
35
35
 
36
+ # The `SharedDashboard` `embeddable_domains`.
37
+ attr_accessor :embeddable_domains
38
+
39
+ # The time when an OPEN shared dashboard becomes publicly unavailable.
40
+ attr_accessor :expiration
41
+
36
42
  # Object containing the live span selection for the dashboard.
37
43
  attr_accessor :global_time
38
44
 
39
45
  # Whether to allow viewers to select a different global time setting for the shared dashboard.
40
46
  attr_accessor :global_time_selectable_enabled
41
47
 
48
+ # The `SharedDashboard` `invitees`.
49
+ attr_accessor :invitees
50
+
51
+ # The last time the shared dashboard was accessed. Null if never accessed.
52
+ attr_accessor :last_accessed
53
+
42
54
  # URL of the shared dashboard.
43
55
  attr_accessor :public_url
44
56
 
@@ -51,9 +63,18 @@ module DatadogAPIClient::V1
51
63
  # Type of sharing access (either open to anyone who has the public URL or invite-only).
52
64
  attr_accessor :share_type
53
65
 
66
+ # Active means the dashboard is publicly available. Paused means the dashboard is not publicly available.
67
+ attr_accessor :status
68
+
69
+ # Title of the shared dashboard.
70
+ attr_accessor :title
71
+
54
72
  # A unique token assigned to the shared dashboard.
55
73
  attr_accessor :token
56
74
 
75
+ # The viewing preferences for a shared dashboard.
76
+ attr_accessor :viewing_preferences
77
+
57
78
  attr_accessor :additional_properties
58
79
 
59
80
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -61,16 +82,23 @@ module DatadogAPIClient::V1
61
82
  def self.attribute_map
62
83
  {
63
84
  :'author' => :'author',
64
- :'created_at' => :'created_at',
85
+ :'created' => :'created',
65
86
  :'dashboard_id' => :'dashboard_id',
66
87
  :'dashboard_type' => :'dashboard_type',
88
+ :'embeddable_domains' => :'embeddable_domains',
89
+ :'expiration' => :'expiration',
67
90
  :'global_time' => :'global_time',
68
91
  :'global_time_selectable_enabled' => :'global_time_selectable_enabled',
92
+ :'invitees' => :'invitees',
93
+ :'last_accessed' => :'last_accessed',
69
94
  :'public_url' => :'public_url',
70
95
  :'selectable_template_vars' => :'selectable_template_vars',
71
96
  :'share_list' => :'share_list',
72
97
  :'share_type' => :'share_type',
73
- :'token' => :'token'
98
+ :'status' => :'status',
99
+ :'title' => :'title',
100
+ :'token' => :'token',
101
+ :'viewing_preferences' => :'viewing_preferences'
74
102
  }
75
103
  end
76
104
 
@@ -79,16 +107,23 @@ module DatadogAPIClient::V1
79
107
  def self.openapi_types
80
108
  {
81
109
  :'author' => :'SharedDashboardAuthor',
82
- :'created_at' => :'Time',
110
+ :'created' => :'Time',
83
111
  :'dashboard_id' => :'String',
84
112
  :'dashboard_type' => :'DashboardType',
113
+ :'embeddable_domains' => :'Array<String>',
114
+ :'expiration' => :'Time',
85
115
  :'global_time' => :'DashboardGlobalTime',
86
116
  :'global_time_selectable_enabled' => :'Boolean',
117
+ :'invitees' => :'Array<SharedDashboardInviteesItems>',
118
+ :'last_accessed' => :'Time',
87
119
  :'public_url' => :'String',
88
120
  :'selectable_template_vars' => :'Array<SelectableTemplateVariableItems>',
89
121
  :'share_list' => :'Array<String>',
90
122
  :'share_type' => :'DashboardShareType',
91
- :'token' => :'String'
123
+ :'status' => :'SharedDashboardStatus',
124
+ :'title' => :'String',
125
+ :'token' => :'String',
126
+ :'viewing_preferences' => :'ViewingPreferences'
92
127
  }
93
128
  end
94
129
 
@@ -96,7 +131,9 @@ module DatadogAPIClient::V1
96
131
  # @!visibility private
97
132
  def self.openapi_nullable
98
133
  Set.new([
134
+ :'expiration',
99
135
  :'global_time_selectable_enabled',
136
+ :'last_accessed',
100
137
  :'selectable_template_vars',
101
138
  :'share_list',
102
139
  :'share_type',
@@ -125,8 +162,8 @@ module DatadogAPIClient::V1
125
162
  self.author = attributes[:'author']
126
163
  end
127
164
 
128
- if attributes.key?(:'created_at')
129
- self.created_at = attributes[:'created_at']
165
+ if attributes.key?(:'created')
166
+ self.created = attributes[:'created']
130
167
  end
131
168
 
132
169
  if attributes.key?(:'dashboard_id')
@@ -137,6 +174,16 @@ module DatadogAPIClient::V1
137
174
  self.dashboard_type = attributes[:'dashboard_type']
138
175
  end
139
176
 
177
+ if attributes.key?(:'embeddable_domains')
178
+ if (value = attributes[:'embeddable_domains']).is_a?(Array)
179
+ self.embeddable_domains = value
180
+ end
181
+ end
182
+
183
+ if attributes.key?(:'expiration')
184
+ self.expiration = attributes[:'expiration']
185
+ end
186
+
140
187
  if attributes.key?(:'global_time')
141
188
  self.global_time = attributes[:'global_time']
142
189
  end
@@ -145,6 +192,16 @@ module DatadogAPIClient::V1
145
192
  self.global_time_selectable_enabled = attributes[:'global_time_selectable_enabled']
146
193
  end
147
194
 
195
+ if attributes.key?(:'invitees')
196
+ if (value = attributes[:'invitees']).is_a?(Array)
197
+ self.invitees = value
198
+ end
199
+ end
200
+
201
+ if attributes.key?(:'last_accessed')
202
+ self.last_accessed = attributes[:'last_accessed']
203
+ end
204
+
148
205
  if attributes.key?(:'public_url')
149
206
  self.public_url = attributes[:'public_url']
150
207
  end
@@ -165,9 +222,21 @@ module DatadogAPIClient::V1
165
222
  self.share_type = attributes[:'share_type']
166
223
  end
167
224
 
225
+ if attributes.key?(:'status')
226
+ self.status = attributes[:'status']
227
+ end
228
+
229
+ if attributes.key?(:'title')
230
+ self.title = attributes[:'title']
231
+ end
232
+
168
233
  if attributes.key?(:'token')
169
234
  self.token = attributes[:'token']
170
235
  end
236
+
237
+ if attributes.key?(:'viewing_preferences')
238
+ self.viewing_preferences = attributes[:'viewing_preferences']
239
+ end
171
240
  end
172
241
 
173
242
  # Check to see if the all the properties in the model are valid
@@ -226,16 +295,23 @@ module DatadogAPIClient::V1
226
295
  return true if self.equal?(o)
227
296
  self.class == o.class &&
228
297
  author == o.author &&
229
- created_at == o.created_at &&
298
+ created == o.created &&
230
299
  dashboard_id == o.dashboard_id &&
231
300
  dashboard_type == o.dashboard_type &&
301
+ embeddable_domains == o.embeddable_domains &&
302
+ expiration == o.expiration &&
232
303
  global_time == o.global_time &&
233
304
  global_time_selectable_enabled == o.global_time_selectable_enabled &&
305
+ invitees == o.invitees &&
306
+ last_accessed == o.last_accessed &&
234
307
  public_url == o.public_url &&
235
308
  selectable_template_vars == o.selectable_template_vars &&
236
309
  share_list == o.share_list &&
237
310
  share_type == o.share_type &&
311
+ status == o.status &&
312
+ title == o.title &&
238
313
  token == o.token &&
314
+ viewing_preferences == o.viewing_preferences &&
239
315
  additional_properties == o.additional_properties
240
316
  end
241
317
 
@@ -243,7 +319,7 @@ module DatadogAPIClient::V1
243
319
  # @return [Integer] Hash code
244
320
  # @!visibility private
245
321
  def hash
246
- [author, created_at, dashboard_id, dashboard_type, global_time, global_time_selectable_enabled, public_url, selectable_template_vars, share_list, share_type, token, additional_properties].hash
322
+ [author, created, dashboard_id, dashboard_type, embeddable_domains, expiration, global_time, global_time_selectable_enabled, invitees, last_accessed, public_url, selectable_template_vars, share_list, share_type, status, title, token, viewing_preferences, additional_properties].hash
247
323
  end
248
324
  end
249
325
  end
@@ -0,0 +1,151 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # The allowlisted invitees for an INVITE-only shared dashboard.
21
+ class SharedDashboardInviteesItems
22
+ include BaseGenericModel
23
+
24
+ # Time of the invitee expiration. Null means the invite will not expire.
25
+ attr_accessor :access_expiration
26
+
27
+ # Time that the invitee was created.
28
+ attr_accessor :created_at
29
+
30
+ # Email of the invitee.
31
+ attr_reader :email
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
+ :'access_expiration' => :'access_expiration',
40
+ :'created_at' => :'created_at',
41
+ :'email' => :'email'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ # @!visibility private
47
+ def self.openapi_types
48
+ {
49
+ :'access_expiration' => :'Time',
50
+ :'created_at' => :'Time',
51
+ :'email' => :'String'
52
+ }
53
+ end
54
+
55
+ # List of attributes with nullable: true
56
+ # @!visibility private
57
+ def self.openapi_nullable
58
+ Set.new([
59
+ :'access_expiration',
60
+ ])
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param attributes [Hash] Model attributes in the form of hash
65
+ # @!visibility private
66
+ def initialize(attributes = {})
67
+ if (!attributes.is_a?(Hash))
68
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SharedDashboardInviteesItems` initialize method"
69
+ end
70
+
71
+ self.additional_properties = {}
72
+ # check to see if the attribute exists and convert string to symbol for hash key
73
+ attributes = attributes.each_with_object({}) { |(k, v), h|
74
+ if (!self.class.attribute_map.key?(k.to_sym))
75
+ self.additional_properties[k.to_sym] = v
76
+ else
77
+ h[k.to_sym] = v
78
+ end
79
+ }
80
+
81
+ if attributes.key?(:'access_expiration')
82
+ self.access_expiration = attributes[:'access_expiration']
83
+ end
84
+
85
+ if attributes.key?(:'created_at')
86
+ self.created_at = attributes[:'created_at']
87
+ end
88
+
89
+ if attributes.key?(:'email')
90
+ self.email = attributes[:'email']
91
+ end
92
+ end
93
+
94
+ # Check to see if the all the properties in the model are valid
95
+ # @return true if the model is valid
96
+ # @!visibility private
97
+ def valid?
98
+ return false if @email.nil?
99
+ true
100
+ end
101
+
102
+ # Custom attribute writer method with validation
103
+ # @param email [Object] Object to be assigned
104
+ # @!visibility private
105
+ def email=(email)
106
+ if email.nil?
107
+ fail ArgumentError, 'invalid value for "email", email cannot be nil.'
108
+ end
109
+ @email = email
110
+ end
111
+
112
+ # Returns the object in the form of hash, with additionalProperties support.
113
+ # @return [Hash] Returns the object in the form of hash
114
+ # @!visibility private
115
+ def to_hash
116
+ hash = {}
117
+ self.class.attribute_map.each_pair do |attr, param|
118
+ value = self.send(attr)
119
+ if value.nil?
120
+ is_nullable = self.class.openapi_nullable.include?(attr)
121
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
122
+ end
123
+
124
+ hash[param] = _to_hash(value)
125
+ end
126
+ self.additional_properties.each_pair do |attr, value|
127
+ hash[attr] = value
128
+ end
129
+ hash
130
+ end
131
+
132
+ # Checks equality by comparing each attribute.
133
+ # @param o [Object] Object to be compared
134
+ # @!visibility private
135
+ def ==(o)
136
+ return true if self.equal?(o)
137
+ self.class == o.class &&
138
+ access_expiration == o.access_expiration &&
139
+ created_at == o.created_at &&
140
+ email == o.email &&
141
+ additional_properties == o.additional_properties
142
+ end
143
+
144
+ # Calculates hash code according to all attributes.
145
+ # @return [Integer] Hash code
146
+ # @!visibility private
147
+ def hash
148
+ [access_expiration, created_at, email, additional_properties].hash
149
+ end
150
+ end
151
+ end
@@ -0,0 +1,27 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Active means the dashboard is publicly available. Paused means the dashboard is not publicly available.
21
+ class SharedDashboardStatus
22
+ include BaseEnumModel
23
+
24
+ ACTIVE = "active".freeze
25
+ PAUSED = "paused".freeze
26
+ end
27
+ end
@@ -21,12 +21,21 @@ module DatadogAPIClient::V1
21
21
  class SharedDashboardUpdateRequest
22
22
  include BaseGenericModel
23
23
 
24
+ # The `SharedDashboard` `embeddable_domains`.
25
+ attr_accessor :embeddable_domains
26
+
27
+ # The time when an OPEN shared dashboard becomes publicly unavailable.
28
+ attr_accessor :expiration
29
+
24
30
  # Timeframe setting for the shared dashboard.
25
31
  attr_accessor :global_time
26
32
 
27
33
  # Whether to allow viewers to select a different global time setting for the shared dashboard.
28
34
  attr_accessor :global_time_selectable_enabled
29
35
 
36
+ # The `SharedDashboard` `invitees`.
37
+ attr_accessor :invitees
38
+
30
39
  # List of objects representing template variables on the shared dashboard which can have selectable values.
31
40
  attr_accessor :selectable_template_vars
32
41
 
@@ -36,17 +45,32 @@ module DatadogAPIClient::V1
36
45
  # Type of sharing access (either open to anyone who has the public URL or invite-only).
37
46
  attr_accessor :share_type
38
47
 
48
+ # Active means the dashboard is publicly available. Paused means the dashboard is not publicly available.
49
+ attr_accessor :status
50
+
51
+ # Title of the shared dashboard.
52
+ attr_accessor :title
53
+
54
+ # The viewing preferences for a shared dashboard.
55
+ attr_accessor :viewing_preferences
56
+
39
57
  attr_accessor :additional_properties
40
58
 
41
59
  # Attribute mapping from ruby-style variable name to JSON key.
42
60
  # @!visibility private
43
61
  def self.attribute_map
44
62
  {
63
+ :'embeddable_domains' => :'embeddable_domains',
64
+ :'expiration' => :'expiration',
45
65
  :'global_time' => :'global_time',
46
66
  :'global_time_selectable_enabled' => :'global_time_selectable_enabled',
67
+ :'invitees' => :'invitees',
47
68
  :'selectable_template_vars' => :'selectable_template_vars',
48
69
  :'share_list' => :'share_list',
49
- :'share_type' => :'share_type'
70
+ :'share_type' => :'share_type',
71
+ :'status' => :'status',
72
+ :'title' => :'title',
73
+ :'viewing_preferences' => :'viewing_preferences'
50
74
  }
51
75
  end
52
76
 
@@ -54,11 +78,17 @@ module DatadogAPIClient::V1
54
78
  # @!visibility private
55
79
  def self.openapi_types
56
80
  {
81
+ :'embeddable_domains' => :'Array<String>',
82
+ :'expiration' => :'Time',
57
83
  :'global_time' => :'SharedDashboardUpdateRequestGlobalTime',
58
84
  :'global_time_selectable_enabled' => :'Boolean',
85
+ :'invitees' => :'Array<SharedDashboardInviteesItems>',
59
86
  :'selectable_template_vars' => :'Array<SelectableTemplateVariableItems>',
60
87
  :'share_list' => :'Array<String>',
61
- :'share_type' => :'DashboardShareType'
88
+ :'share_type' => :'DashboardShareType',
89
+ :'status' => :'SharedDashboardStatus',
90
+ :'title' => :'String',
91
+ :'viewing_preferences' => :'ViewingPreferences'
62
92
  }
63
93
  end
64
94
 
@@ -66,6 +96,7 @@ module DatadogAPIClient::V1
66
96
  # @!visibility private
67
97
  def self.openapi_nullable
68
98
  Set.new([
99
+ :'expiration',
69
100
  :'global_time',
70
101
  :'global_time_selectable_enabled',
71
102
  :'selectable_template_vars',
@@ -92,6 +123,16 @@ module DatadogAPIClient::V1
92
123
  end
93
124
  }
94
125
 
126
+ if attributes.key?(:'embeddable_domains')
127
+ if (value = attributes[:'embeddable_domains']).is_a?(Array)
128
+ self.embeddable_domains = value
129
+ end
130
+ end
131
+
132
+ if attributes.key?(:'expiration')
133
+ self.expiration = attributes[:'expiration']
134
+ end
135
+
95
136
  if attributes.key?(:'global_time')
96
137
  self.global_time = attributes[:'global_time']
97
138
  end
@@ -100,6 +141,12 @@ module DatadogAPIClient::V1
100
141
  self.global_time_selectable_enabled = attributes[:'global_time_selectable_enabled']
101
142
  end
102
143
 
144
+ if attributes.key?(:'invitees')
145
+ if (value = attributes[:'invitees']).is_a?(Array)
146
+ self.invitees = value
147
+ end
148
+ end
149
+
103
150
  if attributes.key?(:'selectable_template_vars')
104
151
  if (value = attributes[:'selectable_template_vars']).is_a?(Array)
105
152
  self.selectable_template_vars = value
@@ -115,6 +162,18 @@ module DatadogAPIClient::V1
115
162
  if attributes.key?(:'share_type')
116
163
  self.share_type = attributes[:'share_type']
117
164
  end
165
+
166
+ if attributes.key?(:'status')
167
+ self.status = attributes[:'status']
168
+ end
169
+
170
+ if attributes.key?(:'title')
171
+ self.title = attributes[:'title']
172
+ end
173
+
174
+ if attributes.key?(:'viewing_preferences')
175
+ self.viewing_preferences = attributes[:'viewing_preferences']
176
+ end
118
177
  end
119
178
 
120
179
  # Returns the object in the form of hash, with additionalProperties support.
@@ -143,11 +202,17 @@ module DatadogAPIClient::V1
143
202
  def ==(o)
144
203
  return true if self.equal?(o)
145
204
  self.class == o.class &&
205
+ embeddable_domains == o.embeddable_domains &&
206
+ expiration == o.expiration &&
146
207
  global_time == o.global_time &&
147
208
  global_time_selectable_enabled == o.global_time_selectable_enabled &&
209
+ invitees == o.invitees &&
148
210
  selectable_template_vars == o.selectable_template_vars &&
149
211
  share_list == o.share_list &&
150
212
  share_type == o.share_type &&
213
+ status == o.status &&
214
+ title == o.title &&
215
+ viewing_preferences == o.viewing_preferences &&
151
216
  additional_properties == o.additional_properties
152
217
  end
153
218
 
@@ -155,7 +220,7 @@ module DatadogAPIClient::V1
155
220
  # @return [Integer] Hash code
156
221
  # @!visibility private
157
222
  def hash
158
- [global_time, global_time_selectable_enabled, selectable_template_vars, share_list, share_type, additional_properties].hash
223
+ [embeddable_domains, expiration, global_time, global_time_selectable_enabled, invitees, selectable_template_vars, share_list, share_type, status, title, viewing_preferences, additional_properties].hash
159
224
  end
160
225
  end
161
226
  end