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,7 +26,7 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Category the SLO correction belongs to.
|
29
|
-
|
29
|
+
attr_reader :category
|
30
30
|
|
31
31
|
# Description of the correction being made.
|
32
32
|
attr_accessor :description
|
@@ -42,10 +42,10 @@ module DatadogAPIClient::V1
|
|
42
42
|
attr_accessor :rrule
|
43
43
|
|
44
44
|
# ID of the SLO that this correction applies to.
|
45
|
-
|
45
|
+
attr_reader :slo_id
|
46
46
|
|
47
47
|
# Starting time of the correction in epoch seconds.
|
48
|
-
|
48
|
+
attr_reader :start
|
49
49
|
|
50
50
|
# The timezone to display in the UI for the correction times (defaults to "UTC").
|
51
51
|
attr_accessor :timezone
|
@@ -29,29 +29,29 @@ module DatadogAPIClient::V1
|
|
29
29
|
|
30
30
|
# A representation of `metric` based SLO time series for the provided queries.
|
31
31
|
# This is the same response type from `batch_query` endpoint.
|
32
|
-
|
32
|
+
attr_reader :denominator
|
33
33
|
|
34
34
|
# The aggregated query interval for the series data. It's implicit based on the query time window.
|
35
|
-
|
35
|
+
attr_reader :interval
|
36
36
|
|
37
37
|
# Optional message if there are specific query issues/warnings.
|
38
38
|
attr_accessor :message
|
39
39
|
|
40
40
|
# A representation of `metric` based SLO time series for the provided queries.
|
41
41
|
# This is the same response type from `batch_query` endpoint.
|
42
|
-
|
42
|
+
attr_reader :numerator
|
43
43
|
|
44
44
|
# The combined numerator and denominator query CSV.
|
45
|
-
|
45
|
+
attr_reader :query
|
46
46
|
|
47
47
|
# The series result type. This mimics `batch_query` response type.
|
48
|
-
|
48
|
+
attr_reader :res_type
|
49
49
|
|
50
50
|
# The series response version type. This mimics `batch_query` response type.
|
51
|
-
|
51
|
+
attr_reader :resp_version
|
52
52
|
|
53
53
|
# An array of query timestamps in EPOCH milliseconds.
|
54
|
-
|
54
|
+
attr_reader :times
|
55
55
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
57
|
# @!visibility private
|
@@ -27,16 +27,16 @@ module DatadogAPIClient::V1
|
|
27
27
|
attr_accessor :_unparsed
|
28
28
|
|
29
29
|
# Count of submitted metrics.
|
30
|
-
|
30
|
+
attr_reader :count
|
31
31
|
|
32
32
|
# Query metadata.
|
33
33
|
attr_accessor :metadata
|
34
34
|
|
35
35
|
# Total sum of the query.
|
36
|
-
|
36
|
+
attr_reader :sum
|
37
37
|
|
38
38
|
# The query values for each metric.
|
39
|
-
|
39
|
+
attr_reader :values
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
# @!visibility private
|
@@ -26,10 +26,10 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# A message with more details about the error.
|
29
|
-
|
29
|
+
attr_reader :error_message
|
30
30
|
|
31
31
|
# Type of the error.
|
32
|
-
|
32
|
+
attr_reader :error_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::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Array of one request object to display in the widget.
|
29
|
-
|
29
|
+
attr_reader :requests
|
30
30
|
|
31
31
|
# Title of the widget.
|
32
32
|
attr_accessor :title
|
@@ -38,7 +38,7 @@ module DatadogAPIClient::V1
|
|
38
38
|
attr_accessor :title_size
|
39
39
|
|
40
40
|
# Type of the SLO List widget.
|
41
|
-
|
41
|
+
attr_reader :type
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
# @!visibility private
|
@@ -26,10 +26,10 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Maximum number of results to display in the table.
|
29
|
-
|
29
|
+
attr_reader :limit
|
30
30
|
|
31
31
|
# Widget query.
|
32
|
-
|
32
|
+
attr_reader :query_string
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
# @!visibility private
|
@@ -26,10 +26,10 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Updated SLO List widget.
|
29
|
-
|
29
|
+
attr_reader :query
|
30
30
|
|
31
31
|
# Widget request type.
|
32
|
-
|
32
|
+
attr_reader :request_type
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
# @!visibility private
|
@@ -27,7 +27,7 @@ module DatadogAPIClient::V1
|
|
27
27
|
|
28
28
|
# The target value for the service level indicator within the corresponding
|
29
29
|
# timeframe.
|
30
|
-
|
30
|
+
attr_reader :target
|
31
31
|
|
32
32
|
# A string representation of the target that indicates its precision.
|
33
33
|
# It uses trailing zeros to show significant decimal places (for example `98.00`).
|
@@ -37,7 +37,7 @@ module DatadogAPIClient::V1
|
|
37
37
|
attr_accessor :target_display
|
38
38
|
|
39
39
|
# The SLO time window options.
|
40
|
-
|
40
|
+
attr_reader :timeframe
|
41
41
|
|
42
42
|
# The warning value for the service level objective.
|
43
43
|
attr_accessor :warning
|
@@ -47,13 +47,13 @@ module DatadogAPIClient::V1
|
|
47
47
|
attr_accessor :title_size
|
48
48
|
|
49
49
|
# Type of the SLO widget.
|
50
|
-
|
50
|
+
attr_reader :type
|
51
51
|
|
52
52
|
# Define how you want the SLO to be displayed.
|
53
53
|
attr_accessor :view_mode
|
54
54
|
|
55
55
|
# Type of view displayed by the widget.
|
56
|
-
|
56
|
+
attr_reader :view_type
|
57
57
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
59
|
# @!visibility private
|
@@ -35,7 +35,7 @@ module DatadogAPIClient::V1
|
|
35
35
|
attr_accessor :legend
|
36
36
|
|
37
37
|
# List of sunburst widget requests.
|
38
|
-
|
38
|
+
attr_reader :requests
|
39
39
|
|
40
40
|
# Time setting for the widget.
|
41
41
|
attr_accessor :time
|
@@ -50,7 +50,7 @@ module DatadogAPIClient::V1
|
|
50
50
|
attr_accessor :title_size
|
51
51
|
|
52
52
|
# Type of the Sunburst widget.
|
53
|
-
|
53
|
+
attr_reader :type
|
54
54
|
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
56
|
# @!visibility private
|
@@ -32,7 +32,7 @@ module DatadogAPIClient::V1
|
|
32
32
|
attr_accessor :hide_value
|
33
33
|
|
34
34
|
# Whether to show the legend inline or let it be automatically generated.
|
35
|
-
|
35
|
+
attr_reader :type
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
# @!visibility private
|
@@ -29,7 +29,7 @@ module DatadogAPIClient::V1
|
|
29
29
|
attr_accessor :allow_failure
|
30
30
|
|
31
31
|
# Array of assertions used for the test.
|
32
|
-
|
32
|
+
attr_reader :assertions
|
33
33
|
|
34
34
|
# Array of values to parse and save as variables from the response.
|
35
35
|
attr_accessor :extracted_values
|
@@ -39,16 +39,16 @@ module DatadogAPIClient::V1
|
|
39
39
|
attr_accessor :is_critical
|
40
40
|
|
41
41
|
# The name of the step.
|
42
|
-
|
42
|
+
attr_reader :name
|
43
43
|
|
44
44
|
# Object describing the Synthetic test request.
|
45
|
-
|
45
|
+
attr_reader :request
|
46
46
|
|
47
47
|
# Object describing the retry strategy to apply to a Synthetic test.
|
48
48
|
attr_accessor :_retry
|
49
49
|
|
50
50
|
# The subtype of the Synthetic multistep API test step, currently only supporting `http`.
|
51
|
-
|
51
|
+
attr_reader :subtype
|
52
52
|
|
53
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
54
|
# @!visibility private
|
@@ -26,22 +26,22 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Configuration object for a Synthetic API test.
|
29
|
-
|
29
|
+
attr_reader :config
|
30
30
|
|
31
31
|
# Array of locations used to run the test.
|
32
|
-
|
32
|
+
attr_reader :locations
|
33
33
|
|
34
34
|
# Notification message associated with the test.
|
35
|
-
|
35
|
+
attr_reader :message
|
36
36
|
|
37
37
|
# The associated monitor ID.
|
38
38
|
attr_accessor :monitor_id
|
39
39
|
|
40
40
|
# Name of the test.
|
41
|
-
|
41
|
+
attr_reader :name
|
42
42
|
|
43
43
|
# Object describing the extra options for a Synthetic test.
|
44
|
-
|
44
|
+
attr_reader :options
|
45
45
|
|
46
46
|
# The public ID for the test.
|
47
47
|
attr_accessor :public_id
|
@@ -58,7 +58,7 @@ module DatadogAPIClient::V1
|
|
58
58
|
attr_accessor :tags
|
59
59
|
|
60
60
|
# Type of the Synthetic test, `api`.
|
61
|
-
|
61
|
+
attr_reader :type
|
62
62
|
|
63
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
64
|
# @!visibility private
|
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Assertion operator to apply.
|
29
|
-
|
29
|
+
attr_reader :operator
|
30
30
|
|
31
31
|
# The associated assertion property.
|
32
32
|
attr_accessor :property
|
@@ -35,7 +35,7 @@ module DatadogAPIClient::V1
|
|
35
35
|
attr_accessor :target
|
36
36
|
|
37
37
|
# Type of the assertion.
|
38
|
-
|
38
|
+
attr_reader :type
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
# @!visibility private
|
@@ -26,16 +26,16 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Assertion operator to apply.
|
29
|
-
|
29
|
+
attr_reader :operator
|
30
30
|
|
31
31
|
# The associated assertion property.
|
32
32
|
attr_accessor :property
|
33
33
|
|
34
34
|
# Value used by the operator.
|
35
|
-
|
35
|
+
attr_reader :target
|
36
36
|
|
37
37
|
# Type of the assertion.
|
38
|
-
|
38
|
+
attr_reader :type
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
# @!visibility private
|
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Assertion operator to apply.
|
29
|
-
|
29
|
+
attr_reader :operator
|
30
30
|
|
31
31
|
# The associated assertion property.
|
32
32
|
attr_accessor :property
|
@@ -35,7 +35,7 @@ module DatadogAPIClient::V1
|
|
35
35
|
attr_accessor :target
|
36
36
|
|
37
37
|
# Type of the assertion.
|
38
|
-
|
38
|
+
attr_reader :type
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
# @!visibility private
|
@@ -29,7 +29,9 @@ module DatadogAPIClient::V1
|
|
29
29
|
:'SyntheticsBasicAuthWeb',
|
30
30
|
:'SyntheticsBasicAuthSigv4',
|
31
31
|
:'SyntheticsBasicAuthNTLM',
|
32
|
-
:'SyntheticsBasicAuthDigest'
|
32
|
+
:'SyntheticsBasicAuthDigest',
|
33
|
+
:'SyntheticsBasicAuthOauthClient',
|
34
|
+
:'SyntheticsBasicAuthOauthROP'
|
33
35
|
]
|
34
36
|
end
|
35
37
|
# Builds the object
|
@@ -26,13 +26,13 @@ module DatadogAPIClient::V1
|
|
26
26
|
attr_accessor :_unparsed
|
27
27
|
|
28
28
|
# Password to use for the digest authentication.
|
29
|
-
|
29
|
+
attr_reader :password
|
30
30
|
|
31
31
|
# The type of basic authentication to use when performing the test.
|
32
32
|
attr_accessor :type
|
33
33
|
|
34
34
|
# Username to use for the digest authentication.
|
35
|
-
|
35
|
+
attr_reader :username
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
# @!visibility private
|
@@ -32,7 +32,7 @@ module DatadogAPIClient::V1
|
|
32
32
|
attr_accessor :password
|
33
33
|
|
34
34
|
# The type of authentication to use when performing the test.
|
35
|
-
|
35
|
+
attr_reader :type
|
36
36
|
|
37
37
|
# Username for the authentication to use when performing the test.
|
38
38
|
attr_accessor :username
|
@@ -0,0 +1,212 @@
|
|
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
|
+
# Object to handle `oauth client` authentication when performing the test.
|
21
|
+
class SyntheticsBasicAuthOauthClient
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# Whether the object has unparsed attributes
|
25
|
+
# @!visibility private
|
26
|
+
attr_accessor :_unparsed
|
27
|
+
|
28
|
+
# Access token URL to use when performing the authentication.
|
29
|
+
attr_reader :access_token_url
|
30
|
+
|
31
|
+
# Audience to use when performing the authentication.
|
32
|
+
attr_accessor :audience
|
33
|
+
|
34
|
+
# Client ID to use when performing the authentication.
|
35
|
+
attr_reader :client_id
|
36
|
+
|
37
|
+
# Client secret to use when performing the authentication.
|
38
|
+
attr_reader :client_secret
|
39
|
+
|
40
|
+
# Resource to use when performing the authentication.
|
41
|
+
attr_accessor :resource
|
42
|
+
|
43
|
+
# Scope to use when performing the authentication.
|
44
|
+
attr_accessor :scope
|
45
|
+
|
46
|
+
# Type of token to use when performing the authentication.
|
47
|
+
attr_reader :token_api_authentication
|
48
|
+
|
49
|
+
# The type of basic authentication to use when performing the test.
|
50
|
+
attr_accessor :type
|
51
|
+
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
53
|
+
# @!visibility private
|
54
|
+
def self.attribute_map
|
55
|
+
{
|
56
|
+
:'access_token_url' => :'accessTokenUrl',
|
57
|
+
:'audience' => :'audience',
|
58
|
+
:'client_id' => :'clientId',
|
59
|
+
:'client_secret' => :'clientSecret',
|
60
|
+
:'resource' => :'resource',
|
61
|
+
:'scope' => :'scope',
|
62
|
+
:'token_api_authentication' => :'tokenApiAuthentication',
|
63
|
+
:'type' => :'type'
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
# Attribute type mapping.
|
68
|
+
# @!visibility private
|
69
|
+
def self.openapi_types
|
70
|
+
{
|
71
|
+
:'access_token_url' => :'String',
|
72
|
+
:'audience' => :'String',
|
73
|
+
:'client_id' => :'String',
|
74
|
+
:'client_secret' => :'String',
|
75
|
+
:'resource' => :'String',
|
76
|
+
:'scope' => :'String',
|
77
|
+
:'token_api_authentication' => :'SyntheticsBasicAuthOauthTokenApiAuthentication',
|
78
|
+
:'type' => :'SyntheticsBasicAuthOauthClientType'
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
# List of attributes with nullable: true
|
83
|
+
# @!visibility private
|
84
|
+
def self.openapi_nullable
|
85
|
+
Set.new([
|
86
|
+
])
|
87
|
+
end
|
88
|
+
|
89
|
+
# Initializes the object
|
90
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
91
|
+
# @!visibility private
|
92
|
+
def initialize(attributes = {})
|
93
|
+
if (!attributes.is_a?(Hash))
|
94
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsBasicAuthOauthClient` initialize method"
|
95
|
+
end
|
96
|
+
|
97
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
98
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
99
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
100
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsBasicAuthOauthClient`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
101
|
+
end
|
102
|
+
h[k.to_sym] = v
|
103
|
+
}
|
104
|
+
|
105
|
+
if attributes.key?(:'access_token_url')
|
106
|
+
self.access_token_url = attributes[:'access_token_url']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'audience')
|
110
|
+
self.audience = attributes[:'audience']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.key?(:'client_id')
|
114
|
+
self.client_id = attributes[:'client_id']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'client_secret')
|
118
|
+
self.client_secret = attributes[:'client_secret']
|
119
|
+
end
|
120
|
+
|
121
|
+
if attributes.key?(:'resource')
|
122
|
+
self.resource = attributes[:'resource']
|
123
|
+
end
|
124
|
+
|
125
|
+
if attributes.key?(:'scope')
|
126
|
+
self.scope = attributes[:'scope']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'token_api_authentication')
|
130
|
+
self.token_api_authentication = attributes[:'token_api_authentication']
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'type')
|
134
|
+
self.type = attributes[:'type']
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# Check to see if the all the properties in the model are valid
|
139
|
+
# @return true if the model is valid
|
140
|
+
# @!visibility private
|
141
|
+
def valid?
|
142
|
+
return false if @access_token_url.nil?
|
143
|
+
return false if @client_id.nil?
|
144
|
+
return false if @client_secret.nil?
|
145
|
+
return false if @token_api_authentication.nil?
|
146
|
+
true
|
147
|
+
end
|
148
|
+
|
149
|
+
# Custom attribute writer method with validation
|
150
|
+
# @param access_token_url [Object] Object to be assigned
|
151
|
+
# @!visibility private
|
152
|
+
def access_token_url=(access_token_url)
|
153
|
+
if access_token_url.nil?
|
154
|
+
fail ArgumentError, 'invalid value for "access_token_url", access_token_url cannot be nil.'
|
155
|
+
end
|
156
|
+
@access_token_url = access_token_url
|
157
|
+
end
|
158
|
+
|
159
|
+
# Custom attribute writer method with validation
|
160
|
+
# @param client_id [Object] Object to be assigned
|
161
|
+
# @!visibility private
|
162
|
+
def client_id=(client_id)
|
163
|
+
if client_id.nil?
|
164
|
+
fail ArgumentError, 'invalid value for "client_id", client_id cannot be nil.'
|
165
|
+
end
|
166
|
+
@client_id = client_id
|
167
|
+
end
|
168
|
+
|
169
|
+
# Custom attribute writer method with validation
|
170
|
+
# @param client_secret [Object] Object to be assigned
|
171
|
+
# @!visibility private
|
172
|
+
def client_secret=(client_secret)
|
173
|
+
if client_secret.nil?
|
174
|
+
fail ArgumentError, 'invalid value for "client_secret", client_secret cannot be nil.'
|
175
|
+
end
|
176
|
+
@client_secret = client_secret
|
177
|
+
end
|
178
|
+
|
179
|
+
# Custom attribute writer method with validation
|
180
|
+
# @param token_api_authentication [Object] Object to be assigned
|
181
|
+
# @!visibility private
|
182
|
+
def token_api_authentication=(token_api_authentication)
|
183
|
+
if token_api_authentication.nil?
|
184
|
+
fail ArgumentError, 'invalid value for "token_api_authentication", token_api_authentication cannot be nil.'
|
185
|
+
end
|
186
|
+
@token_api_authentication = token_api_authentication
|
187
|
+
end
|
188
|
+
|
189
|
+
# Checks equality by comparing each attribute.
|
190
|
+
# @param o [Object] Object to be compared
|
191
|
+
# @!visibility private
|
192
|
+
def ==(o)
|
193
|
+
return true if self.equal?(o)
|
194
|
+
self.class == o.class &&
|
195
|
+
access_token_url == o.access_token_url &&
|
196
|
+
audience == o.audience &&
|
197
|
+
client_id == o.client_id &&
|
198
|
+
client_secret == o.client_secret &&
|
199
|
+
resource == o.resource &&
|
200
|
+
scope == o.scope &&
|
201
|
+
token_api_authentication == o.token_api_authentication &&
|
202
|
+
type == o.type
|
203
|
+
end
|
204
|
+
|
205
|
+
# Calculates hash code according to all attributes.
|
206
|
+
# @return [Integer] Hash code
|
207
|
+
# @!visibility private
|
208
|
+
def hash
|
209
|
+
[access_token_url, audience, client_id, client_secret, resource, scope, token_api_authentication, type].hash
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
data/lib/datadog_api_client/v1/models/{http_method.rb → synthetics_basic_auth_oauth_client_type.rb}
RENAMED
@@ -17,16 +17,10 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V1
|
20
|
-
# The
|
21
|
-
class
|
20
|
+
# The type of basic authentication to use when performing the test.
|
21
|
+
class SyntheticsBasicAuthOauthClientType
|
22
22
|
include BaseEnumModel
|
23
23
|
|
24
|
-
|
25
|
-
POST = "POST".freeze
|
26
|
-
PATCH = "PATCH".freeze
|
27
|
-
PUT = "PUT".freeze
|
28
|
-
DELETE = "DELETE".freeze
|
29
|
-
HEAD = "HEAD".freeze
|
30
|
-
OPTIONS = "OPTIONS".freeze
|
24
|
+
OAUTH_CLIENT = "oauth-client".freeze
|
31
25
|
end
|
32
26
|
end
|