datadog_api_client 2.55.0 → 2.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +186 -0
- data/.generator/schemas/v2/openapi.yaml +6914 -290
- data/CHANGELOG.md +35 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_104735144.rb +32 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_1185292896.rb +42 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_2402034476.rb +29 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_3996915493.rb +38 -0
- data/examples/v1/monitors/CreateMonitor_1539578087.rb +1 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +1 -1
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_4007074677.rb +23 -0
- data/examples/v2/cloud-cost-management/DeleteCustomForecast.rb +8 -0
- data/examples/v2/cloud-cost-management/UpsertBudget.rb +14 -0
- data/examples/v2/cloud-cost-management/UpsertCustomForecast.rb +30 -0
- data/examples/v2/code-coverage/GetCodeCoverageBranchSummary.rb +1 -0
- data/examples/v2/code-coverage/GetCodeCoverageCommitSummary.rb +1 -0
- data/examples/v2/feature-flags/CreateVariantForFeatureFlag.rb +11 -0
- data/examples/v2/feature-flags/DeleteVariantFromFeatureFlag.rb +5 -0
- data/examples/v2/feature-flags/UpdateVariantForFeatureFlag.rb +10 -0
- data/examples/v2/governance-controls/GetGovernanceControl.rb +8 -0
- data/examples/v2/governance-controls/ListGovernanceControls.rb +8 -0
- data/examples/v2/governance-controls/UpdateGovernanceControl.rb +22 -0
- data/examples/v2/governance-insights/ListGovernanceInsights.rb +8 -0
- data/examples/v2/metrics/CreateTagIndexingRule.rb +3 -0
- data/examples/v2/metrics/CreateTagIndexingRuleExemption.rb +3 -0
- data/examples/v2/metrics/DeleteTagIndexingRule.rb +3 -0
- data/examples/v2/metrics/DeleteTagIndexingRuleExemption.rb +3 -0
- data/examples/v2/metrics/GetTagIndexingRule.rb +3 -0
- data/examples/v2/metrics/GetTagIndexingRuleExemption.rb +3 -0
- data/examples/v2/metrics/ListTagIndexingRules.rb +3 -0
- data/examples/v2/metrics/ListTagIndexingRulesForMetric.rb +3 -0
- data/examples/v2/metrics/ReorderTagIndexingRules.rb +3 -0
- data/examples/v2/metrics/UpdateTagIndexingRule.rb +3 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_1238441879.rb +61 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_253109967.rb +83 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_337125830.rb +56 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_620504950.rb +66 -0
- data/examples/v2/report-schedules/CreateReportSchedule.rb +1 -1
- data/examples/v2/report-schedules/DeleteReportSchedule.rb +5 -0
- data/examples/v2/report-schedules/GetReportSchedule.rb +5 -0
- data/examples/v2/report-schedules/GetReportSchedulesForResource.rb +5 -0
- data/examples/v2/report-schedules/ListReportSchedules.rb +5 -0
- data/examples/v2/report-schedules/PatchReportSchedule.rb +1 -1
- data/examples/v2/report-schedules/ToggleReportSchedule.rb +14 -0
- data/examples/v2/rum-remote-config/GetRumSdkConfig.rb +8 -0
- data/examples/v2/rum-remote-config/UpdateRumSdkConfig.rb +94 -0
- data/examples/v2/security-monitoring/CreateSecurityFindingsAutomationDueDateRule.rb +33 -0
- data/examples/v2/security-monitoring/CreateSecurityFindingsAutomationMuteRule.rb +27 -0
- data/examples/v2/security-monitoring/CreateSecurityFindingsAutomationTicketCreationRule.rb +29 -0
- data/examples/v2/security-monitoring/DeleteSecurityFindingsAutomationDueDateRule.rb +11 -0
- data/examples/v2/security-monitoring/DeleteSecurityFindingsAutomationMuteRule.rb +11 -0
- data/examples/v2/security-monitoring/DeleteSecurityFindingsAutomationTicketCreationRule.rb +11 -0
- data/examples/v2/security-monitoring/GetSecurityFindingsAutomationDueDateRule.rb +11 -0
- data/examples/v2/security-monitoring/GetSecurityFindingsAutomationMuteRule.rb +11 -0
- data/examples/v2/security-monitoring/GetSecurityFindingsAutomationTicketCreationRule.rb +11 -0
- data/examples/v2/security-monitoring/ImportSecurityVulnerabilities.rb +77 -0
- data/examples/v2/security-monitoring/ListSecurityFindingsAutomationDueDateRules.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityFindingsAutomationMuteRules.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityFindingsAutomationTicketCreationRules.rb +8 -0
- data/examples/v2/security-monitoring/ReorderSecurityFindingsAutomationDueDateRules.rb +20 -0
- data/examples/v2/security-monitoring/ReorderSecurityFindingsAutomationMuteRules.rb +20 -0
- data/examples/v2/security-monitoring/ReorderSecurityFindingsAutomationTicketCreationRules.rb +20 -0
- data/examples/v2/security-monitoring/UpdateSecurityFindingsAutomationDueDateRule.rb +36 -0
- data/examples/v2/security-monitoring/UpdateSecurityFindingsAutomationMuteRule.rb +30 -0
- data/examples/v2/security-monitoring/UpdateSecurityFindingsAutomationTicketCreationRule.rb +32 -0
- data/examples/v2/status-pages/EditDegradationUpdate.rb +16 -0
- data/examples/v2/status-pages/SoftDeleteDegradationUpdate.rb +5 -0
- data/examples/v2/test-optimization/UpdateTestOptimizationServiceSettings.rb +7 -2
- data/examples/v2/workflow-automation/CreateWorkflow.rb +1 -1
- data/examples/v2/workflow-automation/UpdateWorkflow.rb +1 -1
- data/lib/datadog_api_client/configuration.rb +39 -1
- data/lib/datadog_api_client/inflector.rb +190 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_arithmetic_sub_processor.rb +186 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb +211 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_category_sub_processor.rb +178 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_processor.rb +228 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_processor_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_string_builder_sub_processor.rb +186 -0
- data/lib/datadog_api_client/v1/models/logs_array_map_sub_processor.rb +67 -0
- data/lib/datadog_api_client/v1/models/logs_processor.rb +2 -1
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +154 -1
- data/lib/datadog_api_client/v2/api/compliance_api.rb +5 -0
- data/lib/datadog_api_client/v2/api/feature_flags_api.rb +229 -0
- data/lib/datadog_api_client/v2/api/governance_controls_api.rb +246 -0
- data/lib/datadog_api_client/v2/api/governance_insights_api.rb +101 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +67 -1
- data/lib/datadog_api_client/v2/api/report_schedules_api.rb +362 -0
- data/lib/datadog_api_client/v2/api/rum_remote_config_api.rb +176 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1544 -119
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +159 -0
- data/lib/datadog_api_client/v2/api/test_optimization_api.rb +3 -1
- data/lib/datadog_api_client/v2/models/automation_rule_actor_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/automation_rule_created_by.rb +165 -0
- data/lib/datadog_api_client/v2/models/automation_rule_modified_by.rb +165 -0
- data/lib/datadog_api_client/v2/models/automation_rule_scope.rb +150 -0
- data/lib/datadog_api_client/v2/models/branch_coverage_summary_request_attributes.rb +27 -10
- data/lib/datadog_api_client/v2/models/budget_attributes.rb +41 -1
- data/lib/datadog_api_client/v2/models/budget_attributes_costs.rb +146 -0
- data/lib/datadog_api_client/v2/models/budget_attributes_costs_unit.rb +155 -0
- data/lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items.rb +11 -1
- data/lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb +157 -0
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_finished_job.rb +427 -0
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_job.rb +406 -0
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_job.rb +36 -399
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_job_in_progress_status.rb +26 -0
- data/lib/datadog_api_client/v2/models/commit_coverage_summary_request_attributes.rb +27 -10
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request_data_attributes_updates_items.rb +1 -12
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes.rb +1 -12
- data/lib/datadog_api_client/v2/models/create_status_page_request_data_attributes.rb +31 -1
- data/lib/datadog_api_client/v2/models/custom_forecast_entry.rb +167 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_entry_tag_filter.rb +144 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_response_data_attributes.rb +230 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_upsert_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_upsert_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/custom_forecast_upsert_request_data_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_bom.rb +221 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_component.rb +196 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_component_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_metadata.rb +144 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_metadata_component.rb +143 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_metadata_tools.rb +125 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_tool_component.rb +133 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb +237 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_advisory.rb +105 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_affects.rb +123 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_analysis.rb +107 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_rating.rb +125 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_reference.rb +115 -0
- data/lib/datadog_api_client/v2/models/cyclone_dx_vulnerability_reference_source.rb +105 -0
- data/lib/datadog_api_client/v2/models/degradation_data_attributes_updates_items.rb +21 -1
- data/lib/datadog_api_client/v2/models/degradation_update.rb +117 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_attributes_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships.rb +145 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_degradation.rb +123 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_degradation_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_status_page.rb +123 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_status_page_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_user.rb +123 -0
- data/lib/datadog_api_client/v2/models/degradation_update_data_relationships_user_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/degradation_update_included.rb +64 -0
- data/lib/datadog_api_client/v2/models/due_date_from.rb +27 -0
- data/lib/datadog_api_client/v2/models/due_date_per_severity_item.rb +152 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_action.rb +167 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_attributes_create.rb +183 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_attributes_response.rb +278 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_data_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_reorder_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_reorder_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/due_date_rule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/due_date_rules_response.rb +167 -0
- data/lib/datadog_api_client/v2/models/due_date_severity.rb +32 -0
- data/lib/datadog_api_client/v2/models/governance_best_practice_definition.rb +379 -0
- data/lib/datadog_api_client/v2/models/governance_control_attributes.rb +739 -0
- data/lib/datadog_api_client/v2/models/governance_control_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/governance_control_mitigation_definition.rb +309 -0
- data/lib/datadog_api_client/v2/models/governance_control_parameter_definition.rb +272 -0
- data/lib/datadog_api_client/v2/models/governance_control_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/governance_control_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/governance_control_supported_value.rb +144 -0
- data/lib/datadog_api_client/v2/models/governance_control_update_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/governance_control_update_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/governance_control_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/governance_controls_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/governance_insight_attributes.rb +448 -0
- data/lib/datadog_api_client/v2/models/governance_insight_audit_compute.rb +175 -0
- data/lib/datadog_api_client/v2/models/governance_insight_audit_query.rb +188 -0
- data/lib/datadog_api_client/v2/models/governance_insight_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/governance_insight_event_compute.rb +144 -0
- data/lib/datadog_api_client/v2/models/governance_insight_event_query.rb +156 -0
- data/lib/datadog_api_client/v2/models/governance_insight_metric_query.rb +165 -0
- data/lib/datadog_api_client/v2/models/governance_insight_percentage_query.rb +144 -0
- data/lib/datadog_api_client/v2/models/governance_insight_query_config.rb +175 -0
- data/lib/datadog_api_client/v2/models/governance_insight_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/governance_insight_usage_query.rb +144 -0
- data/lib/datadog_api_client/v2/models/governance_insights_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/metric.rb +12 -2
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +11 -1
- data/lib/datadog_api_client/v2/models/metric_volumes_relationship.rb +105 -0
- data/lib/datadog_api_client/v2/models/metric_volumes_relationship_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/mute_reason.rb +31 -0
- data/lib/datadog_api_client/v2/models/mute_rule_action.rb +154 -0
- data/lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb +183 -0
- data/lib/datadog_api_client/v2/models/mute_rule_attributes_response.rb +278 -0
- data/lib/datadog_api_client/v2/models/mute_rule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_rule_data_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/mute_rule_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/mute_rule_reorder_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/mute_rule_reorder_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/mute_rule_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/mute_rule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_rules_response.rb +167 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination.rb +318 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_auth.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_auth_strategy.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_batch.rb +148 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_batch_encoding.rb +135 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_batch_encoding_codec.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_compression.rb +65 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_compression_algorithm.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_compression_object.rb +149 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_format.rb +33 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_clickhouse_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_source_item.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source.rb +248 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_auth_strategy.rb +29 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_tls.rb +63 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_tls_enabled.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_tls_enabled_mode.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_tls_with_client_cert.rb +174 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_tls_with_client_cert_mode.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_websocket_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/patch_degradation_update_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_degradation_update_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/patch_degradation_update_request_data_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/patch_degradation_update_request_data_attributes_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/patch_degradation_update_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/patch_status_page_request_data_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/report_schedule_included_resource.rb +2 -1
- data/lib/datadog_api_client/v2/models/report_schedule_included_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/report_schedule_index_template_variable.rb +150 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_resource_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_resource_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response.rb +157 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_attributes.rb +335 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_data.rb +186 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_links.rb +157 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_pagination.rb +183 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_pagination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/report_schedule_list_response_relationships.rb +133 -0
- data/lib/datadog_api_client/v2/models/report_schedule_resource.rb +165 -0
- data/lib/datadog_api_client/v2/models/report_schedule_resource_attributes.rb +154 -0
- data/lib/datadog_api_client/v2/models/report_schedule_toggle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/report_schedule_toggle_request_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/report_schedule_toggle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/rum_sdk_config_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_dynamic_option.rb +204 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_dynamic_option_pair.rb +144 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_dynamic_option_serialized_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_dynamic_option_strategy.rb +29 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_match_option.rb +144 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_match_option_serialized_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_meta.rb +144 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_rum_attributes.rb +336 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_rum_update_attributes.rb +315 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_serialized_regex.rb +144 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_serialized_regex_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_tracing_url_config.rb +146 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_tracing_url_propagator_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_update_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rum_sdk_config_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_automation_rules_links.rb +164 -0
- data/lib/datadog_api_client/v2/models/security_automation_rules_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_automation_rules_page_info.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_finding_type.rb +36 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_resource_type.rb +2 -0
- data/lib/datadog_api_client/v2/models/status_page_as_included_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/status_page_data_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/test_optimization_service_settings_attributes.rb +54 -4
- data/lib/datadog_api_client/v2/models/test_optimization_update_service_settings_request_attributes.rb +60 -9
- data/lib/datadog_api_client/v2/models/test_optimization_update_service_settings_request_data.rb +1 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_action.rb +193 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_action_response.rb +203 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_attributes_create.rb +183 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_attributes_response.rb +278 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_data_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_reorder_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_reorder_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_rules_response.rb +167 -0
- data/lib/datadog_api_client/v2/models/ticket_creation_target.rb +27 -0
- data/lib/datadog_api_client/v2/models/update_variant_request.rb +115 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +237 -1
|
@@ -57,6 +57,12 @@ module DatadogAPIClient::V2
|
|
|
57
57
|
# The url that the status page is accessible at.
|
|
58
58
|
attr_accessor :page_url
|
|
59
59
|
|
|
60
|
+
# The Slack app icon URL for the status page.
|
|
61
|
+
attr_accessor :slack_app_icon
|
|
62
|
+
|
|
63
|
+
# Whether Slack subscriptions are enabled for the status page.
|
|
64
|
+
attr_accessor :slack_subscriptions_enabled
|
|
65
|
+
|
|
60
66
|
# Whether users can subscribe to the status page.
|
|
61
67
|
attr_accessor :subscriptions_enabled
|
|
62
68
|
|
|
@@ -84,6 +90,8 @@ module DatadogAPIClient::V2
|
|
|
84
90
|
:'modified_at' => :'modified_at',
|
|
85
91
|
:'name' => :'name',
|
|
86
92
|
:'page_url' => :'page_url',
|
|
93
|
+
:'slack_app_icon' => :'slack_app_icon',
|
|
94
|
+
:'slack_subscriptions_enabled' => :'slack_subscriptions_enabled',
|
|
87
95
|
:'subscriptions_enabled' => :'subscriptions_enabled',
|
|
88
96
|
:'type' => :'type',
|
|
89
97
|
:'visualization_type' => :'visualization_type'
|
|
@@ -106,6 +114,8 @@ module DatadogAPIClient::V2
|
|
|
106
114
|
:'modified_at' => :'Time',
|
|
107
115
|
:'name' => :'String',
|
|
108
116
|
:'page_url' => :'String',
|
|
117
|
+
:'slack_app_icon' => :'String',
|
|
118
|
+
:'slack_subscriptions_enabled' => :'Boolean',
|
|
109
119
|
:'subscriptions_enabled' => :'Boolean',
|
|
110
120
|
:'type' => :'CreateStatusPageRequestDataAttributesType',
|
|
111
121
|
:'visualization_type' => :'CreateStatusPageRequestDataAttributesVisualizationType'
|
|
@@ -191,6 +201,14 @@ module DatadogAPIClient::V2
|
|
|
191
201
|
self.page_url = attributes[:'page_url']
|
|
192
202
|
end
|
|
193
203
|
|
|
204
|
+
if attributes.key?(:'slack_app_icon')
|
|
205
|
+
self.slack_app_icon = attributes[:'slack_app_icon']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if attributes.key?(:'slack_subscriptions_enabled')
|
|
209
|
+
self.slack_subscriptions_enabled = attributes[:'slack_subscriptions_enabled']
|
|
210
|
+
end
|
|
211
|
+
|
|
194
212
|
if attributes.key?(:'subscriptions_enabled')
|
|
195
213
|
self.subscriptions_enabled = attributes[:'subscriptions_enabled']
|
|
196
214
|
end
|
|
@@ -242,6 +260,8 @@ module DatadogAPIClient::V2
|
|
|
242
260
|
modified_at == o.modified_at &&
|
|
243
261
|
name == o.name &&
|
|
244
262
|
page_url == o.page_url &&
|
|
263
|
+
slack_app_icon == o.slack_app_icon &&
|
|
264
|
+
slack_subscriptions_enabled == o.slack_subscriptions_enabled &&
|
|
245
265
|
subscriptions_enabled == o.subscriptions_enabled &&
|
|
246
266
|
type == o.type &&
|
|
247
267
|
visualization_type == o.visualization_type &&
|
|
@@ -252,7 +272,7 @@ module DatadogAPIClient::V2
|
|
|
252
272
|
# @return [Integer] Hash code
|
|
253
273
|
# @!visibility private
|
|
254
274
|
def hash
|
|
255
|
-
[company_logo, components, created_at, custom_domain, custom_domain_enabled, domain_prefix, email_header_image, enabled, favicon, modified_at, name, page_url, subscriptions_enabled, type, visualization_type, additional_properties].hash
|
|
275
|
+
[company_logo, components, created_at, custom_domain, custom_domain_enabled, domain_prefix, email_header_image, enabled, favicon, modified_at, name, page_url, slack_app_icon, slack_subscriptions_enabled, subscriptions_enabled, type, visualization_type, additional_properties].hash
|
|
256
276
|
end
|
|
257
277
|
end
|
|
258
278
|
end
|
|
@@ -24,19 +24,31 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# Whether Auto Test Retries are enabled for this service.
|
|
25
25
|
attr_accessor :auto_test_retries_enabled
|
|
26
26
|
|
|
27
|
+
# Whether the Auto Test Retries setting is overridden at the service level.
|
|
28
|
+
attr_accessor :auto_test_retries_enabled_is_overridden
|
|
29
|
+
|
|
27
30
|
# Whether Code Coverage is enabled for this service.
|
|
28
31
|
attr_accessor :code_coverage_enabled
|
|
29
32
|
|
|
33
|
+
# Whether the Code Coverage setting is overridden at the service level.
|
|
34
|
+
attr_accessor :code_coverage_enabled_is_overridden
|
|
35
|
+
|
|
30
36
|
# Whether Early Flake Detection is enabled for this service.
|
|
31
37
|
attr_accessor :early_flake_detection_enabled
|
|
32
38
|
|
|
39
|
+
# Whether the Early Flake Detection setting is overridden at the service level.
|
|
40
|
+
attr_accessor :early_flake_detection_enabled_is_overridden
|
|
41
|
+
|
|
33
42
|
# The environment name.
|
|
34
43
|
attr_accessor :env
|
|
35
44
|
|
|
36
45
|
# Whether Failed Test Replay is enabled for this service.
|
|
37
46
|
attr_accessor :failed_test_replay_enabled
|
|
38
47
|
|
|
39
|
-
# Whether
|
|
48
|
+
# Whether the Failed Test Replay setting is overridden at the service level.
|
|
49
|
+
attr_accessor :failed_test_replay_enabled_is_overridden
|
|
50
|
+
|
|
51
|
+
# Whether PR Comments are enabled. This value reflects the repository-level setting and cannot be overridden at the service level.
|
|
40
52
|
attr_accessor :pr_comments_enabled
|
|
41
53
|
|
|
42
54
|
# The repository identifier.
|
|
@@ -48,6 +60,9 @@ module DatadogAPIClient::V2
|
|
|
48
60
|
# Whether Test Impact Analysis is enabled for this service.
|
|
49
61
|
attr_accessor :test_impact_analysis_enabled
|
|
50
62
|
|
|
63
|
+
# Whether the Test Impact Analysis setting is overridden at the service level.
|
|
64
|
+
attr_accessor :test_impact_analysis_enabled_is_overridden
|
|
65
|
+
|
|
51
66
|
attr_accessor :additional_properties
|
|
52
67
|
|
|
53
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -55,14 +70,19 @@ module DatadogAPIClient::V2
|
|
|
55
70
|
def self.attribute_map
|
|
56
71
|
{
|
|
57
72
|
:'auto_test_retries_enabled' => :'auto_test_retries_enabled',
|
|
73
|
+
:'auto_test_retries_enabled_is_overridden' => :'auto_test_retries_enabled_is_overridden',
|
|
58
74
|
:'code_coverage_enabled' => :'code_coverage_enabled',
|
|
75
|
+
:'code_coverage_enabled_is_overridden' => :'code_coverage_enabled_is_overridden',
|
|
59
76
|
:'early_flake_detection_enabled' => :'early_flake_detection_enabled',
|
|
77
|
+
:'early_flake_detection_enabled_is_overridden' => :'early_flake_detection_enabled_is_overridden',
|
|
60
78
|
:'env' => :'env',
|
|
61
79
|
:'failed_test_replay_enabled' => :'failed_test_replay_enabled',
|
|
80
|
+
:'failed_test_replay_enabled_is_overridden' => :'failed_test_replay_enabled_is_overridden',
|
|
62
81
|
:'pr_comments_enabled' => :'pr_comments_enabled',
|
|
63
82
|
:'repository_id' => :'repository_id',
|
|
64
83
|
:'service_name' => :'service_name',
|
|
65
|
-
:'test_impact_analysis_enabled' => :'test_impact_analysis_enabled'
|
|
84
|
+
:'test_impact_analysis_enabled' => :'test_impact_analysis_enabled',
|
|
85
|
+
:'test_impact_analysis_enabled_is_overridden' => :'test_impact_analysis_enabled_is_overridden'
|
|
66
86
|
}
|
|
67
87
|
end
|
|
68
88
|
|
|
@@ -71,14 +91,19 @@ module DatadogAPIClient::V2
|
|
|
71
91
|
def self.openapi_types
|
|
72
92
|
{
|
|
73
93
|
:'auto_test_retries_enabled' => :'Boolean',
|
|
94
|
+
:'auto_test_retries_enabled_is_overridden' => :'Boolean',
|
|
74
95
|
:'code_coverage_enabled' => :'Boolean',
|
|
96
|
+
:'code_coverage_enabled_is_overridden' => :'Boolean',
|
|
75
97
|
:'early_flake_detection_enabled' => :'Boolean',
|
|
98
|
+
:'early_flake_detection_enabled_is_overridden' => :'Boolean',
|
|
76
99
|
:'env' => :'String',
|
|
77
100
|
:'failed_test_replay_enabled' => :'Boolean',
|
|
101
|
+
:'failed_test_replay_enabled_is_overridden' => :'Boolean',
|
|
78
102
|
:'pr_comments_enabled' => :'Boolean',
|
|
79
103
|
:'repository_id' => :'String',
|
|
80
104
|
:'service_name' => :'String',
|
|
81
|
-
:'test_impact_analysis_enabled' => :'Boolean'
|
|
105
|
+
:'test_impact_analysis_enabled' => :'Boolean',
|
|
106
|
+
:'test_impact_analysis_enabled_is_overridden' => :'Boolean'
|
|
82
107
|
}
|
|
83
108
|
end
|
|
84
109
|
|
|
@@ -104,14 +129,26 @@ module DatadogAPIClient::V2
|
|
|
104
129
|
self.auto_test_retries_enabled = attributes[:'auto_test_retries_enabled']
|
|
105
130
|
end
|
|
106
131
|
|
|
132
|
+
if attributes.key?(:'auto_test_retries_enabled_is_overridden')
|
|
133
|
+
self.auto_test_retries_enabled_is_overridden = attributes[:'auto_test_retries_enabled_is_overridden']
|
|
134
|
+
end
|
|
135
|
+
|
|
107
136
|
if attributes.key?(:'code_coverage_enabled')
|
|
108
137
|
self.code_coverage_enabled = attributes[:'code_coverage_enabled']
|
|
109
138
|
end
|
|
110
139
|
|
|
140
|
+
if attributes.key?(:'code_coverage_enabled_is_overridden')
|
|
141
|
+
self.code_coverage_enabled_is_overridden = attributes[:'code_coverage_enabled_is_overridden']
|
|
142
|
+
end
|
|
143
|
+
|
|
111
144
|
if attributes.key?(:'early_flake_detection_enabled')
|
|
112
145
|
self.early_flake_detection_enabled = attributes[:'early_flake_detection_enabled']
|
|
113
146
|
end
|
|
114
147
|
|
|
148
|
+
if attributes.key?(:'early_flake_detection_enabled_is_overridden')
|
|
149
|
+
self.early_flake_detection_enabled_is_overridden = attributes[:'early_flake_detection_enabled_is_overridden']
|
|
150
|
+
end
|
|
151
|
+
|
|
115
152
|
if attributes.key?(:'env')
|
|
116
153
|
self.env = attributes[:'env']
|
|
117
154
|
end
|
|
@@ -120,6 +157,10 @@ module DatadogAPIClient::V2
|
|
|
120
157
|
self.failed_test_replay_enabled = attributes[:'failed_test_replay_enabled']
|
|
121
158
|
end
|
|
122
159
|
|
|
160
|
+
if attributes.key?(:'failed_test_replay_enabled_is_overridden')
|
|
161
|
+
self.failed_test_replay_enabled_is_overridden = attributes[:'failed_test_replay_enabled_is_overridden']
|
|
162
|
+
end
|
|
163
|
+
|
|
123
164
|
if attributes.key?(:'pr_comments_enabled')
|
|
124
165
|
self.pr_comments_enabled = attributes[:'pr_comments_enabled']
|
|
125
166
|
end
|
|
@@ -135,6 +176,10 @@ module DatadogAPIClient::V2
|
|
|
135
176
|
if attributes.key?(:'test_impact_analysis_enabled')
|
|
136
177
|
self.test_impact_analysis_enabled = attributes[:'test_impact_analysis_enabled']
|
|
137
178
|
end
|
|
179
|
+
|
|
180
|
+
if attributes.key?(:'test_impact_analysis_enabled_is_overridden')
|
|
181
|
+
self.test_impact_analysis_enabled_is_overridden = attributes[:'test_impact_analysis_enabled_is_overridden']
|
|
182
|
+
end
|
|
138
183
|
end
|
|
139
184
|
|
|
140
185
|
# Returns the object in the form of hash, with additionalProperties support.
|
|
@@ -164,14 +209,19 @@ module DatadogAPIClient::V2
|
|
|
164
209
|
return true if self.equal?(o)
|
|
165
210
|
self.class == o.class &&
|
|
166
211
|
auto_test_retries_enabled == o.auto_test_retries_enabled &&
|
|
212
|
+
auto_test_retries_enabled_is_overridden == o.auto_test_retries_enabled_is_overridden &&
|
|
167
213
|
code_coverage_enabled == o.code_coverage_enabled &&
|
|
214
|
+
code_coverage_enabled_is_overridden == o.code_coverage_enabled_is_overridden &&
|
|
168
215
|
early_flake_detection_enabled == o.early_flake_detection_enabled &&
|
|
216
|
+
early_flake_detection_enabled_is_overridden == o.early_flake_detection_enabled_is_overridden &&
|
|
169
217
|
env == o.env &&
|
|
170
218
|
failed_test_replay_enabled == o.failed_test_replay_enabled &&
|
|
219
|
+
failed_test_replay_enabled_is_overridden == o.failed_test_replay_enabled_is_overridden &&
|
|
171
220
|
pr_comments_enabled == o.pr_comments_enabled &&
|
|
172
221
|
repository_id == o.repository_id &&
|
|
173
222
|
service_name == o.service_name &&
|
|
174
223
|
test_impact_analysis_enabled == o.test_impact_analysis_enabled &&
|
|
224
|
+
test_impact_analysis_enabled_is_overridden == o.test_impact_analysis_enabled_is_overridden &&
|
|
175
225
|
additional_properties == o.additional_properties
|
|
176
226
|
end
|
|
177
227
|
|
|
@@ -179,7 +229,7 @@ module DatadogAPIClient::V2
|
|
|
179
229
|
# @return [Integer] Hash code
|
|
180
230
|
# @!visibility private
|
|
181
231
|
def hash
|
|
182
|
-
[auto_test_retries_enabled, code_coverage_enabled, early_flake_detection_enabled, env, failed_test_replay_enabled, pr_comments_enabled, repository_id, service_name, test_impact_analysis_enabled, additional_properties].hash
|
|
232
|
+
[auto_test_retries_enabled, auto_test_retries_enabled_is_overridden, code_coverage_enabled, code_coverage_enabled_is_overridden, early_flake_detection_enabled, early_flake_detection_enabled_is_overridden, env, failed_test_replay_enabled, failed_test_replay_enabled_is_overridden, pr_comments_enabled, repository_id, service_name, test_impact_analysis_enabled, test_impact_analysis_enabled_is_overridden, additional_properties].hash
|
|
183
233
|
end
|
|
184
234
|
end
|
|
185
235
|
end
|
|
@@ -19,25 +19,38 @@ require 'time'
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# Attributes for updating Test Optimization service settings.
|
|
21
21
|
# All non-required fields are optional; only provided fields will be updated.
|
|
22
|
+
# Setting a field to `null` is a no-op. To reset a setting to inherit from the repository level, use the corresponding `<setting>_inherit` field.
|
|
22
23
|
class TestOptimizationUpdateServiceSettingsRequestAttributes
|
|
23
24
|
include BaseGenericModel
|
|
24
25
|
|
|
25
|
-
# Whether Auto Test Retries are enabled for this service.
|
|
26
|
+
# Whether Auto Test Retries are enabled for this service. Setting to `null` is a no-op; use `auto_test_retries_enabled_inherit` to reset to repository-level inheritance.
|
|
26
27
|
attr_accessor :auto_test_retries_enabled
|
|
27
28
|
|
|
28
|
-
#
|
|
29
|
+
# When `true`, resets the Auto Test Retries setting to inherit from the repository level.
|
|
30
|
+
attr_accessor :auto_test_retries_enabled_inherit
|
|
31
|
+
|
|
32
|
+
# Whether Code Coverage is enabled for this service. Setting to `null` is a no-op; use `code_coverage_enabled_inherit` to reset to repository-level inheritance.
|
|
29
33
|
attr_accessor :code_coverage_enabled
|
|
30
34
|
|
|
31
|
-
#
|
|
35
|
+
# When `true`, resets the Code Coverage setting to inherit from the repository level.
|
|
36
|
+
attr_accessor :code_coverage_enabled_inherit
|
|
37
|
+
|
|
38
|
+
# Whether Early Flake Detection is enabled for this service. Setting to `null` is a no-op; use `early_flake_detection_enabled_inherit` to reset to repository-level inheritance.
|
|
32
39
|
attr_accessor :early_flake_detection_enabled
|
|
33
40
|
|
|
41
|
+
# When `true`, resets the Early Flake Detection setting to inherit from the repository level.
|
|
42
|
+
attr_accessor :early_flake_detection_enabled_inherit
|
|
43
|
+
|
|
34
44
|
# The environment name. If omitted, defaults to `none`.
|
|
35
45
|
attr_accessor :env
|
|
36
46
|
|
|
37
|
-
# Whether Failed Test Replay is enabled for this service.
|
|
47
|
+
# Whether Failed Test Replay is enabled for this service. Setting to `null` is a no-op; use `failed_test_replay_enabled_inherit` to reset to repository-level inheritance.
|
|
38
48
|
attr_accessor :failed_test_replay_enabled
|
|
39
49
|
|
|
40
|
-
#
|
|
50
|
+
# When `true`, resets the Failed Test Replay setting to inherit from the repository level.
|
|
51
|
+
attr_accessor :failed_test_replay_enabled_inherit
|
|
52
|
+
|
|
53
|
+
# This field is ignored. PR Comments cannot be overridden at the service level.
|
|
41
54
|
attr_accessor :pr_comments_enabled
|
|
42
55
|
|
|
43
56
|
# The repository identifier.
|
|
@@ -46,9 +59,12 @@ module DatadogAPIClient::V2
|
|
|
46
59
|
# The service name.
|
|
47
60
|
attr_reader :service_name
|
|
48
61
|
|
|
49
|
-
# Whether Test Impact Analysis is enabled for this service.
|
|
62
|
+
# Whether Test Impact Analysis is enabled for this service. Setting to `null` is a no-op; use `test_impact_analysis_enabled_inherit` to reset to repository-level inheritance.
|
|
50
63
|
attr_accessor :test_impact_analysis_enabled
|
|
51
64
|
|
|
65
|
+
# When `true`, resets the Test Impact Analysis setting to inherit from the repository level.
|
|
66
|
+
attr_accessor :test_impact_analysis_enabled_inherit
|
|
67
|
+
|
|
52
68
|
attr_accessor :additional_properties
|
|
53
69
|
|
|
54
70
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -56,14 +72,19 @@ module DatadogAPIClient::V2
|
|
|
56
72
|
def self.attribute_map
|
|
57
73
|
{
|
|
58
74
|
:'auto_test_retries_enabled' => :'auto_test_retries_enabled',
|
|
75
|
+
:'auto_test_retries_enabled_inherit' => :'auto_test_retries_enabled_inherit',
|
|
59
76
|
:'code_coverage_enabled' => :'code_coverage_enabled',
|
|
77
|
+
:'code_coverage_enabled_inherit' => :'code_coverage_enabled_inherit',
|
|
60
78
|
:'early_flake_detection_enabled' => :'early_flake_detection_enabled',
|
|
79
|
+
:'early_flake_detection_enabled_inherit' => :'early_flake_detection_enabled_inherit',
|
|
61
80
|
:'env' => :'env',
|
|
62
81
|
:'failed_test_replay_enabled' => :'failed_test_replay_enabled',
|
|
82
|
+
:'failed_test_replay_enabled_inherit' => :'failed_test_replay_enabled_inherit',
|
|
63
83
|
:'pr_comments_enabled' => :'pr_comments_enabled',
|
|
64
84
|
:'repository_id' => :'repository_id',
|
|
65
85
|
:'service_name' => :'service_name',
|
|
66
|
-
:'test_impact_analysis_enabled' => :'test_impact_analysis_enabled'
|
|
86
|
+
:'test_impact_analysis_enabled' => :'test_impact_analysis_enabled',
|
|
87
|
+
:'test_impact_analysis_enabled_inherit' => :'test_impact_analysis_enabled_inherit'
|
|
67
88
|
}
|
|
68
89
|
end
|
|
69
90
|
|
|
@@ -72,14 +93,19 @@ module DatadogAPIClient::V2
|
|
|
72
93
|
def self.openapi_types
|
|
73
94
|
{
|
|
74
95
|
:'auto_test_retries_enabled' => :'Boolean',
|
|
96
|
+
:'auto_test_retries_enabled_inherit' => :'Boolean',
|
|
75
97
|
:'code_coverage_enabled' => :'Boolean',
|
|
98
|
+
:'code_coverage_enabled_inherit' => :'Boolean',
|
|
76
99
|
:'early_flake_detection_enabled' => :'Boolean',
|
|
100
|
+
:'early_flake_detection_enabled_inherit' => :'Boolean',
|
|
77
101
|
:'env' => :'String',
|
|
78
102
|
:'failed_test_replay_enabled' => :'Boolean',
|
|
103
|
+
:'failed_test_replay_enabled_inherit' => :'Boolean',
|
|
79
104
|
:'pr_comments_enabled' => :'Boolean',
|
|
80
105
|
:'repository_id' => :'String',
|
|
81
106
|
:'service_name' => :'String',
|
|
82
|
-
:'test_impact_analysis_enabled' => :'Boolean'
|
|
107
|
+
:'test_impact_analysis_enabled' => :'Boolean',
|
|
108
|
+
:'test_impact_analysis_enabled_inherit' => :'Boolean'
|
|
83
109
|
}
|
|
84
110
|
end
|
|
85
111
|
|
|
@@ -105,14 +131,26 @@ module DatadogAPIClient::V2
|
|
|
105
131
|
self.auto_test_retries_enabled = attributes[:'auto_test_retries_enabled']
|
|
106
132
|
end
|
|
107
133
|
|
|
134
|
+
if attributes.key?(:'auto_test_retries_enabled_inherit')
|
|
135
|
+
self.auto_test_retries_enabled_inherit = attributes[:'auto_test_retries_enabled_inherit']
|
|
136
|
+
end
|
|
137
|
+
|
|
108
138
|
if attributes.key?(:'code_coverage_enabled')
|
|
109
139
|
self.code_coverage_enabled = attributes[:'code_coverage_enabled']
|
|
110
140
|
end
|
|
111
141
|
|
|
142
|
+
if attributes.key?(:'code_coverage_enabled_inherit')
|
|
143
|
+
self.code_coverage_enabled_inherit = attributes[:'code_coverage_enabled_inherit']
|
|
144
|
+
end
|
|
145
|
+
|
|
112
146
|
if attributes.key?(:'early_flake_detection_enabled')
|
|
113
147
|
self.early_flake_detection_enabled = attributes[:'early_flake_detection_enabled']
|
|
114
148
|
end
|
|
115
149
|
|
|
150
|
+
if attributes.key?(:'early_flake_detection_enabled_inherit')
|
|
151
|
+
self.early_flake_detection_enabled_inherit = attributes[:'early_flake_detection_enabled_inherit']
|
|
152
|
+
end
|
|
153
|
+
|
|
116
154
|
if attributes.key?(:'env')
|
|
117
155
|
self.env = attributes[:'env']
|
|
118
156
|
end
|
|
@@ -121,6 +159,10 @@ module DatadogAPIClient::V2
|
|
|
121
159
|
self.failed_test_replay_enabled = attributes[:'failed_test_replay_enabled']
|
|
122
160
|
end
|
|
123
161
|
|
|
162
|
+
if attributes.key?(:'failed_test_replay_enabled_inherit')
|
|
163
|
+
self.failed_test_replay_enabled_inherit = attributes[:'failed_test_replay_enabled_inherit']
|
|
164
|
+
end
|
|
165
|
+
|
|
124
166
|
if attributes.key?(:'pr_comments_enabled')
|
|
125
167
|
self.pr_comments_enabled = attributes[:'pr_comments_enabled']
|
|
126
168
|
end
|
|
@@ -136,6 +178,10 @@ module DatadogAPIClient::V2
|
|
|
136
178
|
if attributes.key?(:'test_impact_analysis_enabled')
|
|
137
179
|
self.test_impact_analysis_enabled = attributes[:'test_impact_analysis_enabled']
|
|
138
180
|
end
|
|
181
|
+
|
|
182
|
+
if attributes.key?(:'test_impact_analysis_enabled_inherit')
|
|
183
|
+
self.test_impact_analysis_enabled_inherit = attributes[:'test_impact_analysis_enabled_inherit']
|
|
184
|
+
end
|
|
139
185
|
end
|
|
140
186
|
|
|
141
187
|
# Check to see if the all the properties in the model are valid
|
|
@@ -202,14 +248,19 @@ module DatadogAPIClient::V2
|
|
|
202
248
|
return true if self.equal?(o)
|
|
203
249
|
self.class == o.class &&
|
|
204
250
|
auto_test_retries_enabled == o.auto_test_retries_enabled &&
|
|
251
|
+
auto_test_retries_enabled_inherit == o.auto_test_retries_enabled_inherit &&
|
|
205
252
|
code_coverage_enabled == o.code_coverage_enabled &&
|
|
253
|
+
code_coverage_enabled_inherit == o.code_coverage_enabled_inherit &&
|
|
206
254
|
early_flake_detection_enabled == o.early_flake_detection_enabled &&
|
|
255
|
+
early_flake_detection_enabled_inherit == o.early_flake_detection_enabled_inherit &&
|
|
207
256
|
env == o.env &&
|
|
208
257
|
failed_test_replay_enabled == o.failed_test_replay_enabled &&
|
|
258
|
+
failed_test_replay_enabled_inherit == o.failed_test_replay_enabled_inherit &&
|
|
209
259
|
pr_comments_enabled == o.pr_comments_enabled &&
|
|
210
260
|
repository_id == o.repository_id &&
|
|
211
261
|
service_name == o.service_name &&
|
|
212
262
|
test_impact_analysis_enabled == o.test_impact_analysis_enabled &&
|
|
263
|
+
test_impact_analysis_enabled_inherit == o.test_impact_analysis_enabled_inherit &&
|
|
213
264
|
additional_properties == o.additional_properties
|
|
214
265
|
end
|
|
215
266
|
|
|
@@ -217,7 +268,7 @@ module DatadogAPIClient::V2
|
|
|
217
268
|
# @return [Integer] Hash code
|
|
218
269
|
# @!visibility private
|
|
219
270
|
def hash
|
|
220
|
-
[auto_test_retries_enabled, code_coverage_enabled, early_flake_detection_enabled, env, failed_test_replay_enabled, pr_comments_enabled, repository_id, service_name, test_impact_analysis_enabled, additional_properties].hash
|
|
271
|
+
[auto_test_retries_enabled, auto_test_retries_enabled_inherit, code_coverage_enabled, code_coverage_enabled_inherit, early_flake_detection_enabled, early_flake_detection_enabled_inherit, env, failed_test_replay_enabled, failed_test_replay_enabled_inherit, pr_comments_enabled, repository_id, service_name, test_impact_analysis_enabled, test_impact_analysis_enabled_inherit, additional_properties].hash
|
|
221
272
|
end
|
|
222
273
|
end
|
|
223
274
|
end
|
data/lib/datadog_api_client/v2/models/test_optimization_update_service_settings_request_data.rb
CHANGED
|
@@ -23,6 +23,7 @@ module DatadogAPIClient::V2
|
|
|
23
23
|
|
|
24
24
|
# Attributes for updating Test Optimization service settings.
|
|
25
25
|
# All non-required fields are optional; only provided fields will be updated.
|
|
26
|
+
# Setting a field to `null` is a no-op. To reset a setting to inherit from the repository level, use the corresponding `<setting>_inherit` field.
|
|
26
27
|
attr_reader :attributes
|
|
27
28
|
|
|
28
29
|
# JSON:API type for update service settings request.
|
|
@@ -0,0 +1,193 @@
|
|
|
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
|
+
# The action to take when the ticket creation rule matches a finding.
|
|
21
|
+
class TicketCreationRuleAction
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# The UUID of the default assignee for created tickets.
|
|
25
|
+
attr_accessor :assignee_id
|
|
26
|
+
|
|
27
|
+
# Custom fields of the Jira issue to create. For the list of available fields, see [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get).
|
|
28
|
+
attr_accessor :fields
|
|
29
|
+
|
|
30
|
+
# The maximum number of tickets the rule may create per day. If exceeded, one final ticket will be created, explaining the limit was hit and link back to the responsible rule.
|
|
31
|
+
attr_reader :max_tickets_per_day
|
|
32
|
+
|
|
33
|
+
# The UUID of the case management project.
|
|
34
|
+
attr_reader :project_id
|
|
35
|
+
|
|
36
|
+
# The ticketing system to create tickets in.
|
|
37
|
+
attr_reader :target
|
|
38
|
+
|
|
39
|
+
attr_accessor :additional_properties
|
|
40
|
+
|
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
|
+
# @!visibility private
|
|
43
|
+
def self.attribute_map
|
|
44
|
+
{
|
|
45
|
+
:'assignee_id' => :'assignee_id',
|
|
46
|
+
:'fields' => :'fields',
|
|
47
|
+
:'max_tickets_per_day' => :'max_tickets_per_day',
|
|
48
|
+
:'project_id' => :'project_id',
|
|
49
|
+
:'target' => :'target'
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Attribute type mapping.
|
|
54
|
+
# @!visibility private
|
|
55
|
+
def self.openapi_types
|
|
56
|
+
{
|
|
57
|
+
:'assignee_id' => :'UUID',
|
|
58
|
+
:'fields' => :'Object',
|
|
59
|
+
:'max_tickets_per_day' => :'Integer',
|
|
60
|
+
:'project_id' => :'UUID',
|
|
61
|
+
:'target' => :'TicketCreationTarget'
|
|
62
|
+
}
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Initializes the object
|
|
66
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
67
|
+
# @!visibility private
|
|
68
|
+
def initialize(attributes = {})
|
|
69
|
+
if (!attributes.is_a?(Hash))
|
|
70
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TicketCreationRuleAction` initialize method"
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
self.additional_properties = {}
|
|
74
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
76
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
77
|
+
self.additional_properties[k.to_sym] = v
|
|
78
|
+
else
|
|
79
|
+
h[k.to_sym] = v
|
|
80
|
+
end
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'assignee_id')
|
|
84
|
+
self.assignee_id = attributes[:'assignee_id']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'fields')
|
|
88
|
+
self.fields = attributes[:'fields']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.key?(:'max_tickets_per_day')
|
|
92
|
+
self.max_tickets_per_day = attributes[:'max_tickets_per_day']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.key?(:'project_id')
|
|
96
|
+
self.project_id = attributes[:'project_id']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'target')
|
|
100
|
+
self.target = attributes[:'target']
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Check to see if the all the properties in the model are valid
|
|
105
|
+
# @return true if the model is valid
|
|
106
|
+
# @!visibility private
|
|
107
|
+
def valid?
|
|
108
|
+
return false if @max_tickets_per_day.nil?
|
|
109
|
+
return false if @max_tickets_per_day > 500
|
|
110
|
+
return false if @max_tickets_per_day < 1
|
|
111
|
+
return false if @project_id.nil?
|
|
112
|
+
return false if @target.nil?
|
|
113
|
+
true
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Custom attribute writer method with validation
|
|
117
|
+
# @param max_tickets_per_day [Object] Object to be assigned
|
|
118
|
+
# @!visibility private
|
|
119
|
+
def max_tickets_per_day=(max_tickets_per_day)
|
|
120
|
+
if max_tickets_per_day.nil?
|
|
121
|
+
fail ArgumentError, 'invalid value for "max_tickets_per_day", max_tickets_per_day cannot be nil.'
|
|
122
|
+
end
|
|
123
|
+
if max_tickets_per_day > 500
|
|
124
|
+
fail ArgumentError, 'invalid value for "max_tickets_per_day", must be smaller than or equal to 500.'
|
|
125
|
+
end
|
|
126
|
+
if max_tickets_per_day < 1
|
|
127
|
+
fail ArgumentError, 'invalid value for "max_tickets_per_day", must be greater than or equal to 1.'
|
|
128
|
+
end
|
|
129
|
+
@max_tickets_per_day = max_tickets_per_day
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Custom attribute writer method with validation
|
|
133
|
+
# @param project_id [Object] Object to be assigned
|
|
134
|
+
# @!visibility private
|
|
135
|
+
def project_id=(project_id)
|
|
136
|
+
if project_id.nil?
|
|
137
|
+
fail ArgumentError, 'invalid value for "project_id", project_id cannot be nil.'
|
|
138
|
+
end
|
|
139
|
+
@project_id = project_id
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Custom attribute writer method with validation
|
|
143
|
+
# @param target [Object] Object to be assigned
|
|
144
|
+
# @!visibility private
|
|
145
|
+
def target=(target)
|
|
146
|
+
if target.nil?
|
|
147
|
+
fail ArgumentError, 'invalid value for "target", target cannot be nil.'
|
|
148
|
+
end
|
|
149
|
+
@target = target
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
153
|
+
# @return [Hash] Returns the object in the form of hash
|
|
154
|
+
# @!visibility private
|
|
155
|
+
def to_hash
|
|
156
|
+
hash = {}
|
|
157
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
158
|
+
value = self.send(attr)
|
|
159
|
+
if value.nil?
|
|
160
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
161
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
hash[param] = _to_hash(value)
|
|
165
|
+
end
|
|
166
|
+
self.additional_properties.each_pair do |attr, value|
|
|
167
|
+
hash[attr] = value
|
|
168
|
+
end
|
|
169
|
+
hash
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Checks equality by comparing each attribute.
|
|
173
|
+
# @param o [Object] Object to be compared
|
|
174
|
+
# @!visibility private
|
|
175
|
+
def ==(o)
|
|
176
|
+
return true if self.equal?(o)
|
|
177
|
+
self.class == o.class &&
|
|
178
|
+
assignee_id == o.assignee_id &&
|
|
179
|
+
fields == o.fields &&
|
|
180
|
+
max_tickets_per_day == o.max_tickets_per_day &&
|
|
181
|
+
project_id == o.project_id &&
|
|
182
|
+
target == o.target &&
|
|
183
|
+
additional_properties == o.additional_properties
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Calculates hash code according to all attributes.
|
|
187
|
+
# @return [Integer] Hash code
|
|
188
|
+
# @!visibility private
|
|
189
|
+
def hash
|
|
190
|
+
[assignee_id, fields, max_tickets_per_day, project_id, target, additional_properties].hash
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|