datadog_api_client 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +363 -27
- data/.generator/schemas/v2/openapi.yaml +1995 -780
- data/.generator/src/generator/templates/configuration.j2 +14 -4
- data/.generator/src/generator/templates/model_generic.j2 +17 -0
- data/.generator/src/generator/templates/package.j2 +0 -1
- data/.github/workflows/test.yml +18 -19
- data/CHANGELOG.md +27 -0
- data/examples/v1/dashboards/CreateDashboard_41622531.rb +56 -0
- data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +5 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +11 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +109 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
- data/examples/v1/synthetics/ListTests.rb +1 -1
- data/examples/v1/synthetics/UpdateAPITest.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
- data/examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb +1 -1
- data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb +1 -1
- data/examples/v2/logs-metrics/CreateLogsMetric.rb +3 -1
- data/examples/v2/logs-metrics/UpdateLogsMetric_1901534424.rb +19 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +41 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringRule_3370522281.rb +8 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +36 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +36 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +34 -0
- data/examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb +12 -0
- data/examples/v2/sensitive-data-scanner/DeleteScanningRule.rb +12 -0
- data/examples/v2/sensitive-data-scanner/ListScanningGroups.rb +5 -0
- data/examples/v2/sensitive-data-scanner/ListStandardPatterns.rb +5 -0
- data/examples/v2/sensitive-data-scanner/ReorderScanningGroups.rb +29 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +40 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +38 -0
- data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +1 -1
- data/lib/datadog_api_client/configuration.rb +14 -4
- data/lib/datadog_api_client/inflector.rb +74 -1
- data/lib/datadog_api_client/models.rb +0 -1
- data/lib/datadog_api_client/v1/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +4 -0
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +6 -2
- data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/api_error_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/api_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +1 -1
- data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +5 -5
- data/lib/datadog_api_client/v1/models/application_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/change_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/dashboard.rb +3 -3
- data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_list.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_points_series.rb +2 -2
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/downtime.rb +3 -3
- data/lib/datadog_api_client/v1/models/downtime_child.rb +3 -3
- data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +2 -2
- data/lib/datadog_api_client/v1/models/event.rb +1 -1
- data/lib/datadog_api_client/v1/models/event_create_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/event_query_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +7 -7
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +5 -5
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_query.rb +3 -3
- data/lib/datadog_api_client/v1/models/funnel_step.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -4
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +2 -2
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
- data/lib/datadog_api_client/v1/models/group_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/http_log_error.rb +2 -2
- data/lib/datadog_api_client/v1/models/http_log_item.rb +1 -1
- data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/idp_form_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/idp_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/image_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_column.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +2 -2
- data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_category_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_exclusion.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +4 -4
- data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_index.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_list_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +4 -4
- data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_pipeline.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -0
- data/lib/datadog_api_client/v1/models/logs_query_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_url_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor.rb +3 -3
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_options.rb +12 -2
- data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +121 -1
- data/lib/datadog_api_client/v1/models/note_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_create_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_create_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_response_data.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_split_by.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_update_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/organization.rb +1 -1
- data/lib/datadog_api_client/v1/models/organization_create_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/pager_duty_service.rb +2 -2
- data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +1 -1
- data/lib/datadog_api_client/v1/models/process_query_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/reference_table_logs_lookup_processor.rb +198 -0
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +2 -2
- data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +2 -2
- data/lib/datadog_api_client/v1/models/series.rb +2 -2
- data/lib/datadog_api_client/v1/models/service_check.rb +4 -4
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +4 -4
- data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +7 -7
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +1 -1
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +3 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +212 -0
- data/lib/datadog_api_client/v1/models/{http_method.rb → synthetics_basic_auth_oauth_client_type.rb} +3 -9
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +232 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_token_api_authentication.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_device.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_call_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +16 -6
- data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +1 -1
- data/lib/datadog_api_client/v1/models/table_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/timeseries_background.rb +1 -1
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +1 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/topology_query.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +91 -1
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +31 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
- data/lib/datadog_api_client/v1/models/webhooks_integration.rb +2 -2
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +3 -3
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +3 -3
- data/lib/datadog_api_client/v1/models/widget_event.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_field_sort.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget_formula.rb +15 -5
- data/lib/datadog_api_client/v1/models/widget_formula_style.rb +108 -0
- data/lib/datadog_api_client/v1/models/widget_layout.rb +4 -4
- data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/key_management_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/roles_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb +649 -0
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_error_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/api_key_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/api_key_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/application_key_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/application_key_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping.rb +2 -2
- data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_aggregation_function.rb +4 -0
- data/lib/datadog_api_client/v2/models/ci_app_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb +143 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb +132 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_case_create.rb +121 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +110 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb +239 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_options.rb +109 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/http_log_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +4 -4
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_teams_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incidents_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +4 -4
- data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +13 -2
- data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +12 -1
- data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/logs_metric_update_compute.rb +99 -0
- data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_origin.rb +3 -3
- data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_series.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/organization.rb +1 -1
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/permission.rb +1 -1
- data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_user.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_users.rb +1 -1
- data/lib/datadog_api_client/v2/models/role.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_clone.rb +2 -2
- data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_clone_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/role_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_update_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application.rb +3 -3
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +41 -10
- data/lib/datadog_api_client/v2/models/rum_application_create.rb +2 -2
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_list.rb +130 -0
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +280 -0
- data/lib/datadog_api_client/v2/models/rum_application_list_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_update.rb +2 -2
- data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_applications_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/rum_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +2 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +12 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +6 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +6 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +1 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_config_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_relationships.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_group_response.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_rule_response.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_filter.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response.rb +120 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_attributes.rb +140 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create.rb +140 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create_request.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_request.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_included_item.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_item.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_list.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_relationships.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_response.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +149 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta_version_only.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_product.rb +29 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_config.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_groups_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +162 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create.rb +151 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_request.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_included_item.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_relationships.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_response.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +120 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_item.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb +135 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement_type.rb +35 -0
- data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_account_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_account_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v1.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +3 -3
- data/lib/datadog_api_client/v2/models/service_definition_v2.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +3 -3
- data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_invitation_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_invitations_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/user_update_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/fixtures/synthetics_unknown_nested_enum.json +3 -3
- data/spec/v1/deserialization_spec.rb +4 -5
- metadata +91 -4
- data/lib/datadog_api_client/api_key_configuration.rb +0 -16
@@ -26,13 +26,13 @@ module DatadogAPIClient::V2
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# RUM application attributes.
|
29
|
-
|
29
|
+
attr_reader :attributes
|
30
30
|
|
31
31
|
# RUM application ID.
|
32
|
-
|
32
|
+
attr_reader :id
|
33
33
|
|
34
34
|
# RUM application response type.
|
35
|
-
|
35
|
+
attr_reader :type
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
# @!visibility private
|
@@ -26,40 +26,48 @@ module DatadogAPIClient::V2
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# ID of the RUM application.
|
29
|
-
|
29
|
+
attr_reader :application_id
|
30
|
+
|
31
|
+
# Client token of the RUM application.
|
32
|
+
attr_reader :client_token
|
30
33
|
|
31
34
|
# Timestamp in ms of the creation date.
|
32
|
-
|
35
|
+
attr_reader :created_at
|
33
36
|
|
34
37
|
# Handle of the creator user.
|
35
|
-
|
38
|
+
attr_reader :created_by_handle
|
36
39
|
|
37
|
-
#
|
40
|
+
# Hash of the RUM application. Optional.
|
38
41
|
attr_accessor :hash
|
39
42
|
|
43
|
+
# Indicates if the RUM application is active.
|
44
|
+
attr_accessor :is_active
|
45
|
+
|
40
46
|
# Name of the RUM application.
|
41
|
-
|
47
|
+
attr_reader :name
|
42
48
|
|
43
49
|
# Org ID of the RUM application.
|
44
|
-
|
50
|
+
attr_reader :org_id
|
45
51
|
|
46
52
|
# Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
|
47
|
-
|
53
|
+
attr_reader :type
|
48
54
|
|
49
55
|
# Timestamp in ms of the last update date.
|
50
|
-
|
56
|
+
attr_reader :updated_at
|
51
57
|
|
52
58
|
# Handle of the updater user.
|
53
|
-
|
59
|
+
attr_reader :updated_by_handle
|
54
60
|
|
55
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
62
|
# @!visibility private
|
57
63
|
def self.attribute_map
|
58
64
|
{
|
59
65
|
:'application_id' => :'application_id',
|
66
|
+
:'client_token' => :'client_token',
|
60
67
|
:'created_at' => :'created_at',
|
61
68
|
:'created_by_handle' => :'created_by_handle',
|
62
69
|
:'hash' => :'hash',
|
70
|
+
:'is_active' => :'is_active',
|
63
71
|
:'name' => :'name',
|
64
72
|
:'org_id' => :'org_id',
|
65
73
|
:'type' => :'type',
|
@@ -73,9 +81,11 @@ module DatadogAPIClient::V2
|
|
73
81
|
def self.openapi_types
|
74
82
|
{
|
75
83
|
:'application_id' => :'String',
|
84
|
+
:'client_token' => :'String',
|
76
85
|
:'created_at' => :'Integer',
|
77
86
|
:'created_by_handle' => :'String',
|
78
87
|
:'hash' => :'String',
|
88
|
+
:'is_active' => :'Boolean',
|
79
89
|
:'name' => :'String',
|
80
90
|
:'org_id' => :'Integer',
|
81
91
|
:'type' => :'String',
|
@@ -111,6 +121,10 @@ module DatadogAPIClient::V2
|
|
111
121
|
self.application_id = attributes[:'application_id']
|
112
122
|
end
|
113
123
|
|
124
|
+
if attributes.key?(:'client_token')
|
125
|
+
self.client_token = attributes[:'client_token']
|
126
|
+
end
|
127
|
+
|
114
128
|
if attributes.key?(:'created_at')
|
115
129
|
self.created_at = attributes[:'created_at']
|
116
130
|
end
|
@@ -123,6 +137,10 @@ module DatadogAPIClient::V2
|
|
123
137
|
self.hash = attributes[:'hash']
|
124
138
|
end
|
125
139
|
|
140
|
+
if attributes.key?(:'is_active')
|
141
|
+
self.is_active = attributes[:'is_active']
|
142
|
+
end
|
143
|
+
|
126
144
|
if attributes.key?(:'name')
|
127
145
|
self.name = attributes[:'name']
|
128
146
|
end
|
@@ -149,6 +167,7 @@ module DatadogAPIClient::V2
|
|
149
167
|
# @!visibility private
|
150
168
|
def valid?
|
151
169
|
return false if @application_id.nil?
|
170
|
+
return false if @client_token.nil?
|
152
171
|
return false if @created_at.nil?
|
153
172
|
return false if @created_by_handle.nil?
|
154
173
|
return false if @name.nil?
|
@@ -170,6 +189,16 @@ module DatadogAPIClient::V2
|
|
170
189
|
@application_id = application_id
|
171
190
|
end
|
172
191
|
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param client_token [Object] Object to be assigned
|
194
|
+
# @!visibility private
|
195
|
+
def client_token=(client_token)
|
196
|
+
if client_token.nil?
|
197
|
+
fail ArgumentError, 'invalid value for "client_token", client_token cannot be nil.'
|
198
|
+
end
|
199
|
+
@client_token = client_token
|
200
|
+
end
|
201
|
+
|
173
202
|
# Custom attribute writer method with validation
|
174
203
|
# @param created_at [Object] Object to be assigned
|
175
204
|
# @!visibility private
|
@@ -250,9 +279,11 @@ module DatadogAPIClient::V2
|
|
250
279
|
return true if self.equal?(o)
|
251
280
|
self.class == o.class &&
|
252
281
|
application_id == o.application_id &&
|
282
|
+
client_token == o.client_token &&
|
253
283
|
created_at == o.created_at &&
|
254
284
|
created_by_handle == o.created_by_handle &&
|
255
285
|
hash == o.hash &&
|
286
|
+
is_active == o.is_active &&
|
256
287
|
name == o.name &&
|
257
288
|
org_id == o.org_id &&
|
258
289
|
type == o.type &&
|
@@ -264,7 +295,7 @@ module DatadogAPIClient::V2
|
|
264
295
|
# @return [Integer] Hash code
|
265
296
|
# @!visibility private
|
266
297
|
def hash
|
267
|
-
[application_id, created_at, created_by_handle, hash, name, org_id, type, updated_at, updated_by_handle].hash
|
298
|
+
[application_id, client_token, created_at, created_by_handle, hash, is_active, name, org_id, type, updated_at, updated_by_handle].hash
|
268
299
|
end
|
269
300
|
end
|
270
301
|
end
|
@@ -26,10 +26,10 @@ module DatadogAPIClient::V2
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# RUM application creation attributes.
|
29
|
-
|
29
|
+
attr_reader :attributes
|
30
30
|
|
31
31
|
# RUM application creation type.
|
32
|
-
|
32
|
+
attr_reader :type
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
# @!visibility private
|
@@ -26,7 +26,7 @@ module DatadogAPIClient::V2
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Name of the RUM application.
|
29
|
-
|
29
|
+
attr_reader :name
|
30
30
|
|
31
31
|
# Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
|
32
32
|
attr_accessor :type
|
@@ -0,0 +1,130 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V2
|
20
|
+
# RUM application list.
|
21
|
+
class RUMApplicationList
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# Whether the object has unparsed attributes
|
25
|
+
# @!visibility private
|
26
|
+
attr_accessor :_unparsed
|
27
|
+
|
28
|
+
# RUM application list attributes.
|
29
|
+
attr_reader :attributes
|
30
|
+
|
31
|
+
# RUM application list type.
|
32
|
+
attr_reader :type
|
33
|
+
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
35
|
+
# @!visibility private
|
36
|
+
def self.attribute_map
|
37
|
+
{
|
38
|
+
:'attributes' => :'attributes',
|
39
|
+
:'type' => :'type'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Attribute type mapping.
|
44
|
+
# @!visibility private
|
45
|
+
def self.openapi_types
|
46
|
+
{
|
47
|
+
:'attributes' => :'RUMApplicationListAttributes',
|
48
|
+
:'type' => :'RUMApplicationListType'
|
49
|
+
}
|
50
|
+
end
|
51
|
+
|
52
|
+
# List of attributes with nullable: true
|
53
|
+
# @!visibility private
|
54
|
+
def self.openapi_nullable
|
55
|
+
Set.new([
|
56
|
+
])
|
57
|
+
end
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
61
|
+
# @!visibility private
|
62
|
+
def initialize(attributes = {})
|
63
|
+
if (!attributes.is_a?(Hash))
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::RUMApplicationList` initialize method"
|
65
|
+
end
|
66
|
+
|
67
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::RUMApplicationList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
|
+
end
|
72
|
+
h[k.to_sym] = v
|
73
|
+
}
|
74
|
+
|
75
|
+
if attributes.key?(:'attributes')
|
76
|
+
self.attributes = attributes[:'attributes']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'type')
|
80
|
+
self.type = attributes[:'type']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# Check to see if the all the properties in the model are valid
|
85
|
+
# @return true if the model is valid
|
86
|
+
# @!visibility private
|
87
|
+
def valid?
|
88
|
+
return false if @attributes.nil?
|
89
|
+
return false if @type.nil?
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
# Custom attribute writer method with validation
|
94
|
+
# @param attributes [Object] Object to be assigned
|
95
|
+
# @!visibility private
|
96
|
+
def attributes=(attributes)
|
97
|
+
if attributes.nil?
|
98
|
+
fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.'
|
99
|
+
end
|
100
|
+
@attributes = attributes
|
101
|
+
end
|
102
|
+
|
103
|
+
# Custom attribute writer method with validation
|
104
|
+
# @param type [Object] Object to be assigned
|
105
|
+
# @!visibility private
|
106
|
+
def type=(type)
|
107
|
+
if type.nil?
|
108
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
109
|
+
end
|
110
|
+
@type = type
|
111
|
+
end
|
112
|
+
|
113
|
+
# Checks equality by comparing each attribute.
|
114
|
+
# @param o [Object] Object to be compared
|
115
|
+
# @!visibility private
|
116
|
+
def ==(o)
|
117
|
+
return true if self.equal?(o)
|
118
|
+
self.class == o.class &&
|
119
|
+
attributes == o.attributes &&
|
120
|
+
type == o.type
|
121
|
+
end
|
122
|
+
|
123
|
+
# Calculates hash code according to all attributes.
|
124
|
+
# @return [Integer] Hash code
|
125
|
+
# @!visibility private
|
126
|
+
def hash
|
127
|
+
[attributes, type].hash
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
@@ -0,0 +1,280 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V2
|
20
|
+
# RUM application list attributes.
|
21
|
+
class RUMApplicationListAttributes
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# Whether the object has unparsed attributes
|
25
|
+
# @!visibility private
|
26
|
+
attr_accessor :_unparsed
|
27
|
+
|
28
|
+
# ID of the RUM application.
|
29
|
+
attr_reader :application_id
|
30
|
+
|
31
|
+
# Timestamp in ms of the creation date.
|
32
|
+
attr_reader :created_at
|
33
|
+
|
34
|
+
# Handle of the creator user.
|
35
|
+
attr_reader :created_by_handle
|
36
|
+
|
37
|
+
# Hash of the RUM application. Optional.
|
38
|
+
attr_accessor :hash
|
39
|
+
|
40
|
+
# Indicates if the RUM application is active.
|
41
|
+
attr_accessor :is_active
|
42
|
+
|
43
|
+
# Name of the RUM application.
|
44
|
+
attr_reader :name
|
45
|
+
|
46
|
+
# Org ID of the RUM application.
|
47
|
+
attr_reader :org_id
|
48
|
+
|
49
|
+
# Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
|
50
|
+
attr_reader :type
|
51
|
+
|
52
|
+
# Timestamp in ms of the last update date.
|
53
|
+
attr_reader :updated_at
|
54
|
+
|
55
|
+
# Handle of the updater user.
|
56
|
+
attr_reader :updated_by_handle
|
57
|
+
|
58
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
59
|
+
# @!visibility private
|
60
|
+
def self.attribute_map
|
61
|
+
{
|
62
|
+
:'application_id' => :'application_id',
|
63
|
+
:'created_at' => :'created_at',
|
64
|
+
:'created_by_handle' => :'created_by_handle',
|
65
|
+
:'hash' => :'hash',
|
66
|
+
:'is_active' => :'is_active',
|
67
|
+
:'name' => :'name',
|
68
|
+
:'org_id' => :'org_id',
|
69
|
+
:'type' => :'type',
|
70
|
+
:'updated_at' => :'updated_at',
|
71
|
+
:'updated_by_handle' => :'updated_by_handle'
|
72
|
+
}
|
73
|
+
end
|
74
|
+
|
75
|
+
# Attribute type mapping.
|
76
|
+
# @!visibility private
|
77
|
+
def self.openapi_types
|
78
|
+
{
|
79
|
+
:'application_id' => :'String',
|
80
|
+
:'created_at' => :'Integer',
|
81
|
+
:'created_by_handle' => :'String',
|
82
|
+
:'hash' => :'String',
|
83
|
+
:'is_active' => :'Boolean',
|
84
|
+
:'name' => :'String',
|
85
|
+
:'org_id' => :'Integer',
|
86
|
+
:'type' => :'String',
|
87
|
+
:'updated_at' => :'Integer',
|
88
|
+
:'updated_by_handle' => :'String'
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# List of attributes with nullable: true
|
93
|
+
# @!visibility private
|
94
|
+
def self.openapi_nullable
|
95
|
+
Set.new([
|
96
|
+
])
|
97
|
+
end
|
98
|
+
|
99
|
+
# Initializes the object
|
100
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
101
|
+
# @!visibility private
|
102
|
+
def initialize(attributes = {})
|
103
|
+
if (!attributes.is_a?(Hash))
|
104
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::RUMApplicationListAttributes` initialize method"
|
105
|
+
end
|
106
|
+
|
107
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
108
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
109
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
110
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::RUMApplicationListAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
111
|
+
end
|
112
|
+
h[k.to_sym] = v
|
113
|
+
}
|
114
|
+
|
115
|
+
if attributes.key?(:'application_id')
|
116
|
+
self.application_id = attributes[:'application_id']
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.key?(:'created_at')
|
120
|
+
self.created_at = attributes[:'created_at']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'created_by_handle')
|
124
|
+
self.created_by_handle = attributes[:'created_by_handle']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'hash')
|
128
|
+
self.hash = attributes[:'hash']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.key?(:'is_active')
|
132
|
+
self.is_active = attributes[:'is_active']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'name')
|
136
|
+
self.name = attributes[:'name']
|
137
|
+
end
|
138
|
+
|
139
|
+
if attributes.key?(:'org_id')
|
140
|
+
self.org_id = attributes[:'org_id']
|
141
|
+
end
|
142
|
+
|
143
|
+
if attributes.key?(:'type')
|
144
|
+
self.type = attributes[:'type']
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.key?(:'updated_at')
|
148
|
+
self.updated_at = attributes[:'updated_at']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'updated_by_handle')
|
152
|
+
self.updated_by_handle = attributes[:'updated_by_handle']
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# Check to see if the all the properties in the model are valid
|
157
|
+
# @return true if the model is valid
|
158
|
+
# @!visibility private
|
159
|
+
def valid?
|
160
|
+
return false if @application_id.nil?
|
161
|
+
return false if @created_at.nil?
|
162
|
+
return false if @created_by_handle.nil?
|
163
|
+
return false if @name.nil?
|
164
|
+
return false if @org_id.nil?
|
165
|
+
return false if @org_id > 2147483647
|
166
|
+
return false if @type.nil?
|
167
|
+
return false if @updated_at.nil?
|
168
|
+
return false if @updated_by_handle.nil?
|
169
|
+
true
|
170
|
+
end
|
171
|
+
|
172
|
+
# Custom attribute writer method with validation
|
173
|
+
# @param application_id [Object] Object to be assigned
|
174
|
+
# @!visibility private
|
175
|
+
def application_id=(application_id)
|
176
|
+
if application_id.nil?
|
177
|
+
fail ArgumentError, 'invalid value for "application_id", application_id cannot be nil.'
|
178
|
+
end
|
179
|
+
@application_id = application_id
|
180
|
+
end
|
181
|
+
|
182
|
+
# Custom attribute writer method with validation
|
183
|
+
# @param created_at [Object] Object to be assigned
|
184
|
+
# @!visibility private
|
185
|
+
def created_at=(created_at)
|
186
|
+
if created_at.nil?
|
187
|
+
fail ArgumentError, 'invalid value for "created_at", created_at cannot be nil.'
|
188
|
+
end
|
189
|
+
@created_at = created_at
|
190
|
+
end
|
191
|
+
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param created_by_handle [Object] Object to be assigned
|
194
|
+
# @!visibility private
|
195
|
+
def created_by_handle=(created_by_handle)
|
196
|
+
if created_by_handle.nil?
|
197
|
+
fail ArgumentError, 'invalid value for "created_by_handle", created_by_handle cannot be nil.'
|
198
|
+
end
|
199
|
+
@created_by_handle = created_by_handle
|
200
|
+
end
|
201
|
+
|
202
|
+
# Custom attribute writer method with validation
|
203
|
+
# @param name [Object] Object to be assigned
|
204
|
+
# @!visibility private
|
205
|
+
def name=(name)
|
206
|
+
if name.nil?
|
207
|
+
fail ArgumentError, 'invalid value for "name", name cannot be nil.'
|
208
|
+
end
|
209
|
+
@name = name
|
210
|
+
end
|
211
|
+
|
212
|
+
# Custom attribute writer method with validation
|
213
|
+
# @param org_id [Object] Object to be assigned
|
214
|
+
# @!visibility private
|
215
|
+
def org_id=(org_id)
|
216
|
+
if org_id.nil?
|
217
|
+
fail ArgumentError, 'invalid value for "org_id", org_id cannot be nil.'
|
218
|
+
end
|
219
|
+
if org_id > 2147483647
|
220
|
+
fail ArgumentError, 'invalid value for "org_id", must be smaller than or equal to 2147483647.'
|
221
|
+
end
|
222
|
+
@org_id = org_id
|
223
|
+
end
|
224
|
+
|
225
|
+
# Custom attribute writer method with validation
|
226
|
+
# @param type [Object] Object to be assigned
|
227
|
+
# @!visibility private
|
228
|
+
def type=(type)
|
229
|
+
if type.nil?
|
230
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
231
|
+
end
|
232
|
+
@type = type
|
233
|
+
end
|
234
|
+
|
235
|
+
# Custom attribute writer method with validation
|
236
|
+
# @param updated_at [Object] Object to be assigned
|
237
|
+
# @!visibility private
|
238
|
+
def updated_at=(updated_at)
|
239
|
+
if updated_at.nil?
|
240
|
+
fail ArgumentError, 'invalid value for "updated_at", updated_at cannot be nil.'
|
241
|
+
end
|
242
|
+
@updated_at = updated_at
|
243
|
+
end
|
244
|
+
|
245
|
+
# Custom attribute writer method with validation
|
246
|
+
# @param updated_by_handle [Object] Object to be assigned
|
247
|
+
# @!visibility private
|
248
|
+
def updated_by_handle=(updated_by_handle)
|
249
|
+
if updated_by_handle.nil?
|
250
|
+
fail ArgumentError, 'invalid value for "updated_by_handle", updated_by_handle cannot be nil.'
|
251
|
+
end
|
252
|
+
@updated_by_handle = updated_by_handle
|
253
|
+
end
|
254
|
+
|
255
|
+
# Checks equality by comparing each attribute.
|
256
|
+
# @param o [Object] Object to be compared
|
257
|
+
# @!visibility private
|
258
|
+
def ==(o)
|
259
|
+
return true if self.equal?(o)
|
260
|
+
self.class == o.class &&
|
261
|
+
application_id == o.application_id &&
|
262
|
+
created_at == o.created_at &&
|
263
|
+
created_by_handle == o.created_by_handle &&
|
264
|
+
hash == o.hash &&
|
265
|
+
is_active == o.is_active &&
|
266
|
+
name == o.name &&
|
267
|
+
org_id == o.org_id &&
|
268
|
+
type == o.type &&
|
269
|
+
updated_at == o.updated_at &&
|
270
|
+
updated_by_handle == o.updated_by_handle
|
271
|
+
end
|
272
|
+
|
273
|
+
# Calculates hash code according to all attributes.
|
274
|
+
# @return [Integer] Hash code
|
275
|
+
# @!visibility private
|
276
|
+
def hash
|
277
|
+
[application_id, created_at, created_by_handle, hash, is_active, name, org_id, type, updated_at, updated_by_handle].hash
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V2
|
20
|
+
# RUM application list type.
|
21
|
+
class RUMApplicationListType
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
RUM_APPLICATION = "rum_application".freeze
|
25
|
+
end
|
26
|
+
end
|
@@ -29,10 +29,10 @@ module DatadogAPIClient::V2
|
|
29
29
|
attr_accessor :attributes
|
30
30
|
|
31
31
|
# RUM application ID.
|
32
|
-
|
32
|
+
attr_reader :id
|
33
33
|
|
34
34
|
# RUM application update type.
|
35
|
-
|
35
|
+
attr_reader :type
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
# @!visibility private
|
@@ -26,7 +26,7 @@ module DatadogAPIClient::V2
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# The name of the facet to use (required).
|
29
|
-
|
29
|
+
attr_reader :facet
|
30
30
|
|
31
31
|
# Used to perform a histogram computation (only for measure facets).
|
32
32
|
# Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
|