datadog_api_client 2.45.0 → 2.47.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 -7
- data/.generator/schemas/v2/openapi.yaml +5147 -312
- data/.pre-commit-config.yaml +4 -0
- data/CHANGELOG.md +46 -0
- data/examples/v1/dashboards/CreateDashboard_3685886950.rb +36 -0
- data/examples/v1/dashboards/CreateDashboard_865807520.rb +36 -0
- data/examples/v1/dashboards/CreateDashboard_9836563.rb +118 -0
- data/examples/v1/monitors/CreateMonitor_3541766733.rb +32 -0
- data/examples/v2/apm/GetServiceList.rb +5 -0
- data/examples/v2/aws-integration/CreateAWSAccount.rb +11 -0
- data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +11 -0
- data/examples/v2/aws-integration/UpdateAWSAccount.rb +11 -0
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1295653933.rb +3 -1
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1363354233.rb +1 -1
- data/examples/v2/deployment-gates/CreateDeploymentGate.rb +20 -0
- data/examples/v2/deployment-gates/CreateDeploymentRule.rb +25 -0
- data/examples/v2/deployment-gates/DeleteDeploymentGate.rb +11 -0
- data/examples/v2/deployment-gates/DeleteDeploymentRule.rb +14 -0
- data/examples/v2/deployment-gates/GetDeploymentGate.rb +11 -0
- data/examples/v2/deployment-gates/GetDeploymentGateRules.rb +11 -0
- data/examples/v2/deployment-gates/GetDeploymentRule.rb +14 -0
- data/examples/v2/deployment-gates/UpdateDeploymentGate.rb +21 -0
- data/examples/v2/deployment-gates/UpdateDeploymentRule.rb +27 -0
- data/examples/v2/events/CreateEvent.rb +1 -0
- data/examples/v2/fleet-automation/GetFleetAgentInfo.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetAgents.rb +8 -0
- data/examples/v2/logs-restriction-queries/AddRoleToRestrictionQuery.rb +21 -0
- data/examples/v2/logs-restriction-queries/CreateRestrictionQuery.rb +17 -0
- data/examples/v2/logs-restriction-queries/DeleteRestrictionQuery.rb +11 -0
- data/examples/v2/logs-restriction-queries/GetRestrictionQuery.rb +11 -0
- data/examples/v2/logs-restriction-queries/GetRoleRestrictionQuery.rb +11 -0
- data/examples/v2/logs-restriction-queries/ListRestrictionQueries.rb +8 -0
- data/examples/v2/logs-restriction-queries/ListRestrictionQueryRoles.rb +11 -0
- data/examples/v2/logs-restriction-queries/ListUserRestrictionQueries.rb +11 -0
- data/examples/v2/logs-restriction-queries/RemoveRoleFromRestrictionQuery.rb +21 -0
- data/examples/v2/logs-restriction-queries/ReplaceRestrictionQuery.rb +20 -0
- data/examples/v2/logs-restriction-queries/UpdateRestrictionQuery.rb +20 -0
- data/examples/v2/monitors/CreateMonitorNotificationRule_1379932371.rb +21 -0
- data/examples/v2/monitors/UpdateMonitorNotificationRule_1446058210.rb +24 -0
- data/examples/v2/observability-pipelines/CreatePipeline.rb +12 -4
- data/examples/v2/observability-pipelines/UpdatePipeline.rb +12 -4
- data/examples/v2/observability-pipelines/ValidatePipeline.rb +12 -4
- data/examples/v2/on-call/CreateOnCallEscalationPolicy.rb +9 -0
- data/examples/v2/on-call/CreateUserNotificationChannel.rb +23 -0
- data/examples/v2/on-call/DeleteUserNotificationChannel.rb +11 -0
- data/examples/v2/on-call/GetScheduleOnCallUser.rb +1 -1
- data/examples/v2/on-call/GetUserNotificationChannel.rb +11 -0
- data/examples/v2/on-call/ListUserNotificationChannels.rb +8 -0
- data/examples/v2/reference-tables/CreateReferenceTable.rb +23 -14
- data/examples/v2/reference-tables/DeleteRows.rb +14 -0
- data/examples/v2/reference-tables/UpsertRows.rb +19 -0
- data/examples/v2/security-monitoring/AttachCase.rb +26 -0
- data/examples/v2/security-monitoring/AttachCase_897782765.rb +22 -0
- data/examples/v2/security-monitoring/AttachJiraIssue.rb +34 -0
- data/examples/v2/security-monitoring/AttachJiraIssue_3042842144.rb +30 -0
- data/examples/v2/security-monitoring/CreateCases.rb +56 -0
- data/examples/v2/security-monitoring/CreateCases_2385516013.rb +33 -0
- data/examples/v2/security-monitoring/CreateCases_2798851680.rb +37 -0
- data/examples/v2/security-monitoring/CreateJiraIssues.rb +41 -0
- data/examples/v2/security-monitoring/DetachCase.rb +21 -0
- data/examples/v2/security-monitoring/GetSecretsRules.rb +1 -1
- data/examples/v2/security-monitoring/GetSuppressionVersionHistory.rb +8 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule_2609327779.rb +54 -0
- data/examples/v2/teams/AddTeamHierarchyLink.rb +31 -0
- data/examples/v2/{team-connections → teams}/CreateTeamConnections.rb +1 -1
- data/examples/v2/{team-connections → teams}/DeleteTeamConnections.rb +1 -1
- data/examples/v2/teams/GetTeamHierarchyLink.rb +8 -0
- data/examples/v2/teams/GetTeamSync.rb +8 -0
- data/examples/v2/{team-connections → teams}/ListTeamConnections.rb +1 -1
- data/examples/v2/{team-connections → teams}/ListTeamConnections_1473516764.rb +1 -1
- data/examples/v2/{team-connections → teams}/ListTeamConnections_2418873869.rb +1 -1
- data/examples/v2/teams/ListTeamHierarchyLinks.rb +15 -0
- data/examples/v2/teams/ListTeamHierarchyLinks_3360757486.rb +5 -0
- data/examples/v2/teams/RemoveTeamHierarchyLink.rb +8 -0
- data/lib/datadog_api_client/configuration.rb +29 -6
- data/lib/datadog_api_client/inflector.rb +180 -5
- data/lib/datadog_api_client/v1/api/monitors_api.rb +2 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +13 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_semantic_mode.rb +27 -0
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -5
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +37 -3
- data/lib/datadog_api_client/v1/models/geomap_widget_request_style.rb +105 -0
- data/lib/datadog_api_client/v1/models/monitor.rb +13 -1
- data/lib/datadog_api_client/v1/models/monitor_asset.rb +186 -0
- data/lib/datadog_api_client/v1/models/monitor_asset_category.rb +26 -0
- data/lib/datadog_api_client/v1/models/monitor_asset_resource_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +14 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +51 -1
- data/lib/datadog_api_client/v2/api/apm_api.rb +83 -0
- data/lib/datadog_api_client/v2/api/deployment_gates_api.rb +703 -0
- data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +166 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +0 -18
- data/lib/datadog_api_client/v2/api/logs_restriction_queries_api.rb +842 -0
- data/lib/datadog_api_client/v2/api/on_call_api.rb +279 -2
- data/lib/datadog_api_client/v2/api/reference_tables_api.rb +144 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +448 -10
- data/lib/datadog_api_client/v2/api/teams_api.rb +634 -1
- data/lib/datadog_api_client/v2/models/attach_case_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/attach_case_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/attach_case_request_data_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_account_update_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/awsccm_config.rb +107 -0
- data/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb +129 -0
- data/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb +129 -0
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/case_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/case_insights_items.rb +125 -0
- data/lib/datadog_api_client/v2/models/case_management_project.rb +123 -0
- data/lib/datadog_api_client/v2/models/case_management_project_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/case_management_project_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_policy_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_policy_version.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_hash.rb +105 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_set.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_set_value.rb +64 -0
- data/lib/datadog_api_client/v2/models/configured_schedule.rb +186 -0
- data/lib/datadog_api_client/v2/models/configured_schedule_target.rb +144 -0
- data/lib/datadog_api_client/v2/models/configured_schedule_target_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/configured_schedule_target_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/configured_schedule_target_relationships_schedule.rb +123 -0
- data/lib/datadog_api_client/v2/models/configured_schedule_target_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/create_case_request_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/create_case_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/create_case_request_data_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/create_case_request_data_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_deployment_gate_params.rb +123 -0
- data/lib/datadog_api_client/v2/models/create_deployment_gate_params_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_deployment_gate_params_data_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/create_deployment_rule_params.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_deployment_rule_params_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/create_email_notification_channel_config.rb +167 -0
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_notification_channel_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_notification_channel_config.rb +63 -0
- data/lib/datadog_api_client/v2/models/create_notification_channel_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/create_phone_notification_channel_config.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_user_notification_channel_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/data_export_config.rb +145 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes.rb +248 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes_created_by.rb +143 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes_updated_by.rb +143 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_rules_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{table_result_v2_data_attributes_file_metadata_local_file.rb → deployment_rule_options_faulty_deployment_detection.rb} +21 -19
- data/lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb +108 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes.rb +269 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_created_by.rb +143 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_updated_by.rb +143 -0
- data/lib/datadog_api_client/v2/models/deployment_rules_options.rb +63 -0
- data/lib/datadog_api_client/v2/models/detach_case_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/detach_case_request_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/detach_case_request_data_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/escalation_policy_create_request_data_attributes.rb +28 -1
- data/lib/datadog_api_client/v2/models/escalation_policy_create_request_data_attributes_steps_items.rb +16 -1
- data/lib/datadog_api_client/v2/models/escalation_policy_data_attributes.rb +20 -1
- data/lib/datadog_api_client/v2/models/escalation_policy_included.rb +3 -2
- data/lib/datadog_api_client/v2/models/escalation_policy_step_target.rb +12 -2
- data/lib/datadog_api_client/v2/models/escalation_policy_step_target_config.rb +105 -0
- data/lib/datadog_api_client/v2/models/escalation_policy_step_target_config_schedule.rb +105 -0
- data/lib/datadog_api_client/v2/models/escalation_policy_update_request_data_attributes.rb +28 -1
- data/lib/datadog_api_client/v2/models/escalation_policy_update_request_data_attributes_steps_items.rb +16 -1
- data/lib/datadog_api_client/v2/models/escalation_target.rb +3 -2
- data/lib/datadog_api_client/v2/models/event_payload.rb +26 -1
- data/lib/datadog_api_client/v2/models/finding_case_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/finding_case_response_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/finding_case_response_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/finding_case_response_data_attributes.rb +277 -0
- data/lib/datadog_api_client/v2/models/finding_case_response_data_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/finding_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/finding_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/finding_jira_issue.rb +125 -0
- data/lib/datadog_api_client/v2/models/finding_jira_issue_result.rb +135 -0
- data/lib/datadog_api_client/v2/models/findings.rb +107 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_attributes.rb +327 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_attributes_tags_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_info.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_info_attributes.rb +137 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_info_details.rb +403 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_info_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_info_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/fleet_agents_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/fleet_agents_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_agents_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/fleet_agents_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/fleet_configuration_file.rb +125 -0
- data/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb +155 -0
- data/lib/datadog_api_client/v2/models/fleet_detected_integration.rb +115 -0
- data/lib/datadog_api_client/v2/models/fleet_integration_details.rb +197 -0
- data/lib/datadog_api_client/v2/models/fleet_integrations_by_status.rb +165 -0
- data/lib/datadog_api_client/v2/models/get_suppression_version_history_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/get_suppression_version_history_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_suppression_version_history_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/httpcd_gates_bad_request_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/httpcd_gates_not_found_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/httpcd_rules_not_found_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/jira_issues_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/layer_attributes.rb +13 -3
- data/lib/datadog_api_client/v2/models/library.rb +13 -1
- data/lib/datadog_api_client/v2/models/list_deployment_rule_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/list_deployment_rules_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_deployment_rules_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/list_notification_channels_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/logs_restriction_queries_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_conditional_recipients.rb +2 -2
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter.rb +2 -1
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter_scope.rb +106 -0
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter_tags.rb +2 -2
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_response_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/notification_channel.rb +105 -0
- data/lib/datadog_api_client/v2/models/notification_channel_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/notification_channel_config.rb +64 -0
- data/lib/datadog_api_client/v2/models/notification_channel_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/notification_channel_email_config.rb +167 -0
- data/lib/datadog_api_client/v2/models/notification_channel_email_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_email_format_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/notification_channel_phone_config.rb +225 -0
- data/lib/datadog_api_client/v2/models/notification_channel_phone_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_push_config.rb +165 -0
- data/lib/datadog_api_client/v2/models/notification_channel_push_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_env_vars_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +2 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_group.rb +211 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor_remap.rb +1 -12
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_dedupe_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb +24 -48
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_chronicle_destination.rb +1 -12
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +2 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_source.rb +1 -12
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +18 -31
- data/lib/datadog_api_client/v2/models/observability_pipeline_reduce_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_throttle_processor.rb +22 -24
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +8 -0
- data/lib/datadog_api_client/v2/models/restriction_query_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/restriction_query_create_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/restriction_query_create_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/restriction_query_create_payload.rb +105 -0
- data/lib/datadog_api_client/v2/models/restriction_query_list_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/restriction_query_response_included_item.rb +62 -0
- data/lib/datadog_api_client/v2/models/restriction_query_role.rb +165 -0
- data/lib/datadog_api_client/v2/models/restriction_query_role_attribute.rb +105 -0
- data/lib/datadog_api_client/v2/models/restriction_query_roles_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/restriction_query_update_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/restriction_query_update_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/restriction_query_update_payload.rb +105 -0
- data/lib/datadog_api_client/v2/models/restriction_query_with_relationships.rb +135 -0
- data/lib/datadog_api_client/v2/models/restriction_query_with_relationships_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/restriction_query_without_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/restriction_query_without_relationships_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/rule_versions.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +13 -3
- data/lib/datadog_api_client/v2/models/schedule_target.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule_target_position.rb +28 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +13 -3
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_list.rb +105 -0
- data/lib/datadog_api_client/v2/models/service_list_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/service_list_data_attributes.rb +119 -0
- data/lib/datadog_api_client/v2/models/service_list_data_attributes_metadata_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/service_list_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/suppression_version_history.rb +133 -0
- data/lib/datadog_api_client/v2/models/suppression_versions.rb +117 -0
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes.rb +8 -0
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata.rb +101 -36
- data/lib/datadog_api_client/v2/models/team_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/team_hierarchy_link.rb +175 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_team.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_team_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_response.rb +127 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_team.rb +154 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_team_attributes.rb +223 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_team_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_link_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_hierarchy_links_response.rb +139 -0
- data/lib/datadog_api_client/v2/models/team_sync_attributes.rb +22 -2
- data/lib/datadog_api_client/v2/models/team_sync_attributes_frequency.rb +28 -0
- data/lib/datadog_api_client/v2/models/team_sync_attributes_type.rb +2 -1
- data/lib/datadog_api_client/v2/models/team_sync_data.rb +12 -2
- data/lib/datadog_api_client/v2/models/team_sync_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/team_sync_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_links.rb +156 -0
- data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_meta_page.rb +184 -0
- data/lib/datadog_api_client/v2/models/threat_hunting_job_response_attributes.rb +13 -3
- data/lib/datadog_api_client/v2/models/update_deployment_gate_params.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_deployment_gate_params_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/update_deployment_gate_params_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_deployment_rule_params.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_deployment_rule_params_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/update_deployment_rule_params_data_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/{rule_version_update.rb → version_history_update.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{rule_version_update_type.rb → version_history_update_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/vulnerability_ecosystem.rb +6 -1
- data/lib/datadog_api_client/v2/models/vulnerability_tool.rb +1 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +238 -11
- data/lib/datadog_api_client/v2/api/team_connections_api.rb +0 -272
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_cloud_storage.rb +0 -138
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineReduceProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Whether this processor is enabled.
|
|
25
|
+
attr_reader :enabled
|
|
26
|
+
|
|
24
27
|
# A list of fields used to group log events for merging.
|
|
25
28
|
attr_reader :group_by
|
|
26
29
|
|
|
@@ -30,9 +33,6 @@ module DatadogAPIClient::V2
|
|
|
30
33
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
34
|
attr_reader :include
|
|
32
35
|
|
|
33
|
-
# A list of component IDs whose output is used as the input for this processor.
|
|
34
|
-
attr_reader :inputs
|
|
35
|
-
|
|
36
36
|
# List of merge strategies defining how values from grouped events should be combined.
|
|
37
37
|
attr_reader :merge_strategies
|
|
38
38
|
|
|
@@ -45,10 +45,10 @@ module DatadogAPIClient::V2
|
|
|
45
45
|
# @!visibility private
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
+
:'enabled' => :'enabled',
|
|
48
49
|
:'group_by' => :'group_by',
|
|
49
50
|
:'id' => :'id',
|
|
50
51
|
:'include' => :'include',
|
|
51
|
-
:'inputs' => :'inputs',
|
|
52
52
|
:'merge_strategies' => :'merge_strategies',
|
|
53
53
|
:'type' => :'type'
|
|
54
54
|
}
|
|
@@ -58,10 +58,10 @@ module DatadogAPIClient::V2
|
|
|
58
58
|
# @!visibility private
|
|
59
59
|
def self.openapi_types
|
|
60
60
|
{
|
|
61
|
+
:'enabled' => :'Boolean',
|
|
61
62
|
:'group_by' => :'Array<String>',
|
|
62
63
|
:'id' => :'String',
|
|
63
64
|
:'include' => :'String',
|
|
64
|
-
:'inputs' => :'Array<String>',
|
|
65
65
|
:'merge_strategies' => :'Array<ObservabilityPipelineReduceProcessorMergeStrategy>',
|
|
66
66
|
:'type' => :'ObservabilityPipelineReduceProcessorType'
|
|
67
67
|
}
|
|
@@ -85,6 +85,10 @@ module DatadogAPIClient::V2
|
|
|
85
85
|
end
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
if attributes.key?(:'enabled')
|
|
89
|
+
self.enabled = attributes[:'enabled']
|
|
90
|
+
end
|
|
91
|
+
|
|
88
92
|
if attributes.key?(:'group_by')
|
|
89
93
|
if (value = attributes[:'group_by']).is_a?(Array)
|
|
90
94
|
self.group_by = value
|
|
@@ -99,12 +103,6 @@ module DatadogAPIClient::V2
|
|
|
99
103
|
self.include = attributes[:'include']
|
|
100
104
|
end
|
|
101
105
|
|
|
102
|
-
if attributes.key?(:'inputs')
|
|
103
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
104
|
-
self.inputs = value
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
106
|
if attributes.key?(:'merge_strategies')
|
|
109
107
|
if (value = attributes[:'merge_strategies']).is_a?(Array)
|
|
110
108
|
self.merge_strategies = value
|
|
@@ -120,15 +118,25 @@ module DatadogAPIClient::V2
|
|
|
120
118
|
# @return true if the model is valid
|
|
121
119
|
# @!visibility private
|
|
122
120
|
def valid?
|
|
121
|
+
return false if @enabled.nil?
|
|
123
122
|
return false if @group_by.nil?
|
|
124
123
|
return false if @id.nil?
|
|
125
124
|
return false if @include.nil?
|
|
126
|
-
return false if @inputs.nil?
|
|
127
125
|
return false if @merge_strategies.nil?
|
|
128
126
|
return false if @type.nil?
|
|
129
127
|
true
|
|
130
128
|
end
|
|
131
129
|
|
|
130
|
+
# Custom attribute writer method with validation
|
|
131
|
+
# @param enabled [Object] Object to be assigned
|
|
132
|
+
# @!visibility private
|
|
133
|
+
def enabled=(enabled)
|
|
134
|
+
if enabled.nil?
|
|
135
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
136
|
+
end
|
|
137
|
+
@enabled = enabled
|
|
138
|
+
end
|
|
139
|
+
|
|
132
140
|
# Custom attribute writer method with validation
|
|
133
141
|
# @param group_by [Object] Object to be assigned
|
|
134
142
|
# @!visibility private
|
|
@@ -159,16 +167,6 @@ module DatadogAPIClient::V2
|
|
|
159
167
|
@include = include
|
|
160
168
|
end
|
|
161
169
|
|
|
162
|
-
# Custom attribute writer method with validation
|
|
163
|
-
# @param inputs [Object] Object to be assigned
|
|
164
|
-
# @!visibility private
|
|
165
|
-
def inputs=(inputs)
|
|
166
|
-
if inputs.nil?
|
|
167
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
168
|
-
end
|
|
169
|
-
@inputs = inputs
|
|
170
|
-
end
|
|
171
|
-
|
|
172
170
|
# Custom attribute writer method with validation
|
|
173
171
|
# @param merge_strategies [Object] Object to be assigned
|
|
174
172
|
# @!visibility private
|
|
@@ -215,10 +213,10 @@ module DatadogAPIClient::V2
|
|
|
215
213
|
def ==(o)
|
|
216
214
|
return true if self.equal?(o)
|
|
217
215
|
self.class == o.class &&
|
|
216
|
+
enabled == o.enabled &&
|
|
218
217
|
group_by == o.group_by &&
|
|
219
218
|
id == o.id &&
|
|
220
219
|
include == o.include &&
|
|
221
|
-
inputs == o.inputs &&
|
|
222
220
|
merge_strategies == o.merge_strategies &&
|
|
223
221
|
type == o.type &&
|
|
224
222
|
additional_properties == o.additional_properties
|
|
@@ -228,7 +226,7 @@ module DatadogAPIClient::V2
|
|
|
228
226
|
# @return [Integer] Hash code
|
|
229
227
|
# @!visibility private
|
|
230
228
|
def hash
|
|
231
|
-
[group_by, id, include,
|
|
229
|
+
[enabled, group_by, id, include, merge_strategies, type, additional_properties].hash
|
|
232
230
|
end
|
|
233
231
|
end
|
|
234
232
|
end
|
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineRemoveFieldsProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Whether this processor is enabled.
|
|
25
|
+
attr_reader :enabled
|
|
26
|
+
|
|
24
27
|
# A list of field names to be removed from each log event.
|
|
25
28
|
attr_reader :fields
|
|
26
29
|
|
|
@@ -30,9 +33,6 @@ module DatadogAPIClient::V2
|
|
|
30
33
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
34
|
attr_reader :include
|
|
32
35
|
|
|
33
|
-
# The `PipelineRemoveFieldsProcessor` `inputs`.
|
|
34
|
-
attr_reader :inputs
|
|
35
|
-
|
|
36
36
|
# The processor type. The value should always be `remove_fields`.
|
|
37
37
|
attr_reader :type
|
|
38
38
|
|
|
@@ -42,10 +42,10 @@ module DatadogAPIClient::V2
|
|
|
42
42
|
# @!visibility private
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
+
:'enabled' => :'enabled',
|
|
45
46
|
:'fields' => :'fields',
|
|
46
47
|
:'id' => :'id',
|
|
47
48
|
:'include' => :'include',
|
|
48
|
-
:'inputs' => :'inputs',
|
|
49
49
|
:'type' => :'type'
|
|
50
50
|
}
|
|
51
51
|
end
|
|
@@ -54,10 +54,10 @@ module DatadogAPIClient::V2
|
|
|
54
54
|
# @!visibility private
|
|
55
55
|
def self.openapi_types
|
|
56
56
|
{
|
|
57
|
+
:'enabled' => :'Boolean',
|
|
57
58
|
:'fields' => :'Array<String>',
|
|
58
59
|
:'id' => :'String',
|
|
59
60
|
:'include' => :'String',
|
|
60
|
-
:'inputs' => :'Array<String>',
|
|
61
61
|
:'type' => :'ObservabilityPipelineRemoveFieldsProcessorType'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
@@ -80,6 +80,10 @@ module DatadogAPIClient::V2
|
|
|
80
80
|
end
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
if attributes.key?(:'enabled')
|
|
84
|
+
self.enabled = attributes[:'enabled']
|
|
85
|
+
end
|
|
86
|
+
|
|
83
87
|
if attributes.key?(:'fields')
|
|
84
88
|
if (value = attributes[:'fields']).is_a?(Array)
|
|
85
89
|
self.fields = value
|
|
@@ -94,12 +98,6 @@ module DatadogAPIClient::V2
|
|
|
94
98
|
self.include = attributes[:'include']
|
|
95
99
|
end
|
|
96
100
|
|
|
97
|
-
if attributes.key?(:'inputs')
|
|
98
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
99
|
-
self.inputs = value
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
|
|
103
101
|
if attributes.key?(:'type')
|
|
104
102
|
self.type = attributes[:'type']
|
|
105
103
|
end
|
|
@@ -109,14 +107,24 @@ module DatadogAPIClient::V2
|
|
|
109
107
|
# @return true if the model is valid
|
|
110
108
|
# @!visibility private
|
|
111
109
|
def valid?
|
|
110
|
+
return false if @enabled.nil?
|
|
112
111
|
return false if @fields.nil?
|
|
113
112
|
return false if @id.nil?
|
|
114
113
|
return false if @include.nil?
|
|
115
|
-
return false if @inputs.nil?
|
|
116
114
|
return false if @type.nil?
|
|
117
115
|
true
|
|
118
116
|
end
|
|
119
117
|
|
|
118
|
+
# Custom attribute writer method with validation
|
|
119
|
+
# @param enabled [Object] Object to be assigned
|
|
120
|
+
# @!visibility private
|
|
121
|
+
def enabled=(enabled)
|
|
122
|
+
if enabled.nil?
|
|
123
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
124
|
+
end
|
|
125
|
+
@enabled = enabled
|
|
126
|
+
end
|
|
127
|
+
|
|
120
128
|
# Custom attribute writer method with validation
|
|
121
129
|
# @param fields [Object] Object to be assigned
|
|
122
130
|
# @!visibility private
|
|
@@ -147,16 +155,6 @@ module DatadogAPIClient::V2
|
|
|
147
155
|
@include = include
|
|
148
156
|
end
|
|
149
157
|
|
|
150
|
-
# Custom attribute writer method with validation
|
|
151
|
-
# @param inputs [Object] Object to be assigned
|
|
152
|
-
# @!visibility private
|
|
153
|
-
def inputs=(inputs)
|
|
154
|
-
if inputs.nil?
|
|
155
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
156
|
-
end
|
|
157
|
-
@inputs = inputs
|
|
158
|
-
end
|
|
159
|
-
|
|
160
158
|
# Custom attribute writer method with validation
|
|
161
159
|
# @param type [Object] Object to be assigned
|
|
162
160
|
# @!visibility private
|
|
@@ -193,10 +191,10 @@ module DatadogAPIClient::V2
|
|
|
193
191
|
def ==(o)
|
|
194
192
|
return true if self.equal?(o)
|
|
195
193
|
self.class == o.class &&
|
|
194
|
+
enabled == o.enabled &&
|
|
196
195
|
fields == o.fields &&
|
|
197
196
|
id == o.id &&
|
|
198
197
|
include == o.include &&
|
|
199
|
-
inputs == o.inputs &&
|
|
200
198
|
type == o.type &&
|
|
201
199
|
additional_properties == o.additional_properties
|
|
202
200
|
end
|
|
@@ -205,7 +203,7 @@ module DatadogAPIClient::V2
|
|
|
205
203
|
# @return [Integer] Hash code
|
|
206
204
|
# @!visibility private
|
|
207
205
|
def hash
|
|
208
|
-
[fields, id, include,
|
|
206
|
+
[enabled, fields, id, include, type, additional_properties].hash
|
|
209
207
|
end
|
|
210
208
|
end
|
|
211
209
|
end
|
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineRenameFieldsProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Whether this processor is enabled.
|
|
25
|
+
attr_reader :enabled
|
|
26
|
+
|
|
24
27
|
# A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields.
|
|
25
28
|
attr_reader :fields
|
|
26
29
|
|
|
@@ -30,9 +33,6 @@ module DatadogAPIClient::V2
|
|
|
30
33
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
34
|
attr_reader :include
|
|
32
35
|
|
|
33
|
-
# A list of component IDs whose output is used as the `input` for this component.
|
|
34
|
-
attr_reader :inputs
|
|
35
|
-
|
|
36
36
|
# The processor type. The value should always be `rename_fields`.
|
|
37
37
|
attr_reader :type
|
|
38
38
|
|
|
@@ -42,10 +42,10 @@ module DatadogAPIClient::V2
|
|
|
42
42
|
# @!visibility private
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
+
:'enabled' => :'enabled',
|
|
45
46
|
:'fields' => :'fields',
|
|
46
47
|
:'id' => :'id',
|
|
47
48
|
:'include' => :'include',
|
|
48
|
-
:'inputs' => :'inputs',
|
|
49
49
|
:'type' => :'type'
|
|
50
50
|
}
|
|
51
51
|
end
|
|
@@ -54,10 +54,10 @@ module DatadogAPIClient::V2
|
|
|
54
54
|
# @!visibility private
|
|
55
55
|
def self.openapi_types
|
|
56
56
|
{
|
|
57
|
+
:'enabled' => :'Boolean',
|
|
57
58
|
:'fields' => :'Array<ObservabilityPipelineRenameFieldsProcessorField>',
|
|
58
59
|
:'id' => :'String',
|
|
59
60
|
:'include' => :'String',
|
|
60
|
-
:'inputs' => :'Array<String>',
|
|
61
61
|
:'type' => :'ObservabilityPipelineRenameFieldsProcessorType'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
@@ -80,6 +80,10 @@ module DatadogAPIClient::V2
|
|
|
80
80
|
end
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
if attributes.key?(:'enabled')
|
|
84
|
+
self.enabled = attributes[:'enabled']
|
|
85
|
+
end
|
|
86
|
+
|
|
83
87
|
if attributes.key?(:'fields')
|
|
84
88
|
if (value = attributes[:'fields']).is_a?(Array)
|
|
85
89
|
self.fields = value
|
|
@@ -94,12 +98,6 @@ module DatadogAPIClient::V2
|
|
|
94
98
|
self.include = attributes[:'include']
|
|
95
99
|
end
|
|
96
100
|
|
|
97
|
-
if attributes.key?(:'inputs')
|
|
98
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
99
|
-
self.inputs = value
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
|
|
103
101
|
if attributes.key?(:'type')
|
|
104
102
|
self.type = attributes[:'type']
|
|
105
103
|
end
|
|
@@ -109,14 +107,24 @@ module DatadogAPIClient::V2
|
|
|
109
107
|
# @return true if the model is valid
|
|
110
108
|
# @!visibility private
|
|
111
109
|
def valid?
|
|
110
|
+
return false if @enabled.nil?
|
|
112
111
|
return false if @fields.nil?
|
|
113
112
|
return false if @id.nil?
|
|
114
113
|
return false if @include.nil?
|
|
115
|
-
return false if @inputs.nil?
|
|
116
114
|
return false if @type.nil?
|
|
117
115
|
true
|
|
118
116
|
end
|
|
119
117
|
|
|
118
|
+
# Custom attribute writer method with validation
|
|
119
|
+
# @param enabled [Object] Object to be assigned
|
|
120
|
+
# @!visibility private
|
|
121
|
+
def enabled=(enabled)
|
|
122
|
+
if enabled.nil?
|
|
123
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
124
|
+
end
|
|
125
|
+
@enabled = enabled
|
|
126
|
+
end
|
|
127
|
+
|
|
120
128
|
# Custom attribute writer method with validation
|
|
121
129
|
# @param fields [Object] Object to be assigned
|
|
122
130
|
# @!visibility private
|
|
@@ -147,16 +155,6 @@ module DatadogAPIClient::V2
|
|
|
147
155
|
@include = include
|
|
148
156
|
end
|
|
149
157
|
|
|
150
|
-
# Custom attribute writer method with validation
|
|
151
|
-
# @param inputs [Object] Object to be assigned
|
|
152
|
-
# @!visibility private
|
|
153
|
-
def inputs=(inputs)
|
|
154
|
-
if inputs.nil?
|
|
155
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
156
|
-
end
|
|
157
|
-
@inputs = inputs
|
|
158
|
-
end
|
|
159
|
-
|
|
160
158
|
# Custom attribute writer method with validation
|
|
161
159
|
# @param type [Object] Object to be assigned
|
|
162
160
|
# @!visibility private
|
|
@@ -193,10 +191,10 @@ module DatadogAPIClient::V2
|
|
|
193
191
|
def ==(o)
|
|
194
192
|
return true if self.equal?(o)
|
|
195
193
|
self.class == o.class &&
|
|
194
|
+
enabled == o.enabled &&
|
|
196
195
|
fields == o.fields &&
|
|
197
196
|
id == o.id &&
|
|
198
197
|
include == o.include &&
|
|
199
|
-
inputs == o.inputs &&
|
|
200
198
|
type == o.type &&
|
|
201
199
|
additional_properties == o.additional_properties
|
|
202
200
|
end
|
|
@@ -205,7 +203,7 @@ module DatadogAPIClient::V2
|
|
|
205
203
|
# @return [Integer] Hash code
|
|
206
204
|
# @!visibility private
|
|
207
205
|
def hash
|
|
208
|
-
[fields, id, include,
|
|
206
|
+
[enabled, fields, id, include, type, additional_properties].hash
|
|
209
207
|
end
|
|
210
208
|
end
|
|
211
209
|
end
|
|
@@ -21,15 +21,15 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineSampleProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Whether this processor is enabled.
|
|
25
|
+
attr_reader :enabled
|
|
26
|
+
|
|
24
27
|
# The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components).
|
|
25
28
|
attr_reader :id
|
|
26
29
|
|
|
27
30
|
# A Datadog search query used to determine which logs this processor targets.
|
|
28
31
|
attr_reader :include
|
|
29
32
|
|
|
30
|
-
# A list of component IDs whose output is used as the `input` for this component.
|
|
31
|
-
attr_reader :inputs
|
|
32
|
-
|
|
33
33
|
# The percentage of logs to sample.
|
|
34
34
|
attr_accessor :percentage
|
|
35
35
|
|
|
@@ -45,9 +45,9 @@ module DatadogAPIClient::V2
|
|
|
45
45
|
# @!visibility private
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
+
:'enabled' => :'enabled',
|
|
48
49
|
:'id' => :'id',
|
|
49
50
|
:'include' => :'include',
|
|
50
|
-
:'inputs' => :'inputs',
|
|
51
51
|
:'percentage' => :'percentage',
|
|
52
52
|
:'rate' => :'rate',
|
|
53
53
|
:'type' => :'type'
|
|
@@ -58,9 +58,9 @@ module DatadogAPIClient::V2
|
|
|
58
58
|
# @!visibility private
|
|
59
59
|
def self.openapi_types
|
|
60
60
|
{
|
|
61
|
+
:'enabled' => :'Boolean',
|
|
61
62
|
:'id' => :'String',
|
|
62
63
|
:'include' => :'String',
|
|
63
|
-
:'inputs' => :'Array<String>',
|
|
64
64
|
:'percentage' => :'Float',
|
|
65
65
|
:'rate' => :'Integer',
|
|
66
66
|
:'type' => :'ObservabilityPipelineSampleProcessorType'
|
|
@@ -85,6 +85,10 @@ module DatadogAPIClient::V2
|
|
|
85
85
|
end
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
if attributes.key?(:'enabled')
|
|
89
|
+
self.enabled = attributes[:'enabled']
|
|
90
|
+
end
|
|
91
|
+
|
|
88
92
|
if attributes.key?(:'id')
|
|
89
93
|
self.id = attributes[:'id']
|
|
90
94
|
end
|
|
@@ -93,12 +97,6 @@ module DatadogAPIClient::V2
|
|
|
93
97
|
self.include = attributes[:'include']
|
|
94
98
|
end
|
|
95
99
|
|
|
96
|
-
if attributes.key?(:'inputs')
|
|
97
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
98
|
-
self.inputs = value
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
100
|
if attributes.key?(:'percentage')
|
|
103
101
|
self.percentage = attributes[:'percentage']
|
|
104
102
|
end
|
|
@@ -116,14 +114,24 @@ module DatadogAPIClient::V2
|
|
|
116
114
|
# @return true if the model is valid
|
|
117
115
|
# @!visibility private
|
|
118
116
|
def valid?
|
|
117
|
+
return false if @enabled.nil?
|
|
119
118
|
return false if @id.nil?
|
|
120
119
|
return false if @include.nil?
|
|
121
|
-
return false if @inputs.nil?
|
|
122
120
|
return false if !@rate.nil? && @rate < 1
|
|
123
121
|
return false if @type.nil?
|
|
124
122
|
true
|
|
125
123
|
end
|
|
126
124
|
|
|
125
|
+
# Custom attribute writer method with validation
|
|
126
|
+
# @param enabled [Object] Object to be assigned
|
|
127
|
+
# @!visibility private
|
|
128
|
+
def enabled=(enabled)
|
|
129
|
+
if enabled.nil?
|
|
130
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
131
|
+
end
|
|
132
|
+
@enabled = enabled
|
|
133
|
+
end
|
|
134
|
+
|
|
127
135
|
# Custom attribute writer method with validation
|
|
128
136
|
# @param id [Object] Object to be assigned
|
|
129
137
|
# @!visibility private
|
|
@@ -144,16 +152,6 @@ module DatadogAPIClient::V2
|
|
|
144
152
|
@include = include
|
|
145
153
|
end
|
|
146
154
|
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param inputs [Object] Object to be assigned
|
|
149
|
-
# @!visibility private
|
|
150
|
-
def inputs=(inputs)
|
|
151
|
-
if inputs.nil?
|
|
152
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
153
|
-
end
|
|
154
|
-
@inputs = inputs
|
|
155
|
-
end
|
|
156
|
-
|
|
157
155
|
# Custom attribute writer method with validation
|
|
158
156
|
# @param rate [Object] Object to be assigned
|
|
159
157
|
# @!visibility private
|
|
@@ -200,9 +198,9 @@ module DatadogAPIClient::V2
|
|
|
200
198
|
def ==(o)
|
|
201
199
|
return true if self.equal?(o)
|
|
202
200
|
self.class == o.class &&
|
|
201
|
+
enabled == o.enabled &&
|
|
203
202
|
id == o.id &&
|
|
204
203
|
include == o.include &&
|
|
205
|
-
inputs == o.inputs &&
|
|
206
204
|
percentage == o.percentage &&
|
|
207
205
|
rate == o.rate &&
|
|
208
206
|
type == o.type &&
|
|
@@ -213,7 +211,7 @@ module DatadogAPIClient::V2
|
|
|
213
211
|
# @return [Integer] Hash code
|
|
214
212
|
# @!visibility private
|
|
215
213
|
def hash
|
|
216
|
-
[id, include,
|
|
214
|
+
[enabled, id, include, percentage, rate, type, additional_properties].hash
|
|
217
215
|
end
|
|
218
216
|
end
|
|
219
217
|
end
|
data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb
CHANGED
|
@@ -21,15 +21,15 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineSensitiveDataScannerProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Whether this processor is enabled.
|
|
25
|
+
attr_reader :enabled
|
|
26
|
+
|
|
24
27
|
# The unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components).
|
|
25
28
|
attr_reader :id
|
|
26
29
|
|
|
27
30
|
# A Datadog search query used to determine which logs this processor targets.
|
|
28
31
|
attr_reader :include
|
|
29
32
|
|
|
30
|
-
# A list of component IDs whose output is used as the `input` for this component.
|
|
31
|
-
attr_reader :inputs
|
|
32
|
-
|
|
33
33
|
# A list of rules for identifying and acting on sensitive data patterns.
|
|
34
34
|
attr_reader :rules
|
|
35
35
|
|
|
@@ -42,9 +42,9 @@ module DatadogAPIClient::V2
|
|
|
42
42
|
# @!visibility private
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
+
:'enabled' => :'enabled',
|
|
45
46
|
:'id' => :'id',
|
|
46
47
|
:'include' => :'include',
|
|
47
|
-
:'inputs' => :'inputs',
|
|
48
48
|
:'rules' => :'rules',
|
|
49
49
|
:'type' => :'type'
|
|
50
50
|
}
|
|
@@ -54,9 +54,9 @@ module DatadogAPIClient::V2
|
|
|
54
54
|
# @!visibility private
|
|
55
55
|
def self.openapi_types
|
|
56
56
|
{
|
|
57
|
+
:'enabled' => :'Boolean',
|
|
57
58
|
:'id' => :'String',
|
|
58
59
|
:'include' => :'String',
|
|
59
|
-
:'inputs' => :'Array<String>',
|
|
60
60
|
:'rules' => :'Array<ObservabilityPipelineSensitiveDataScannerProcessorRule>',
|
|
61
61
|
:'type' => :'ObservabilityPipelineSensitiveDataScannerProcessorType'
|
|
62
62
|
}
|
|
@@ -80,6 +80,10 @@ module DatadogAPIClient::V2
|
|
|
80
80
|
end
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
if attributes.key?(:'enabled')
|
|
84
|
+
self.enabled = attributes[:'enabled']
|
|
85
|
+
end
|
|
86
|
+
|
|
83
87
|
if attributes.key?(:'id')
|
|
84
88
|
self.id = attributes[:'id']
|
|
85
89
|
end
|
|
@@ -88,12 +92,6 @@ module DatadogAPIClient::V2
|
|
|
88
92
|
self.include = attributes[:'include']
|
|
89
93
|
end
|
|
90
94
|
|
|
91
|
-
if attributes.key?(:'inputs')
|
|
92
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
93
|
-
self.inputs = value
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
|
|
97
95
|
if attributes.key?(:'rules')
|
|
98
96
|
if (value = attributes[:'rules']).is_a?(Array)
|
|
99
97
|
self.rules = value
|
|
@@ -109,14 +107,24 @@ module DatadogAPIClient::V2
|
|
|
109
107
|
# @return true if the model is valid
|
|
110
108
|
# @!visibility private
|
|
111
109
|
def valid?
|
|
110
|
+
return false if @enabled.nil?
|
|
112
111
|
return false if @id.nil?
|
|
113
112
|
return false if @include.nil?
|
|
114
|
-
return false if @inputs.nil?
|
|
115
113
|
return false if @rules.nil?
|
|
116
114
|
return false if @type.nil?
|
|
117
115
|
true
|
|
118
116
|
end
|
|
119
117
|
|
|
118
|
+
# Custom attribute writer method with validation
|
|
119
|
+
# @param enabled [Object] Object to be assigned
|
|
120
|
+
# @!visibility private
|
|
121
|
+
def enabled=(enabled)
|
|
122
|
+
if enabled.nil?
|
|
123
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
124
|
+
end
|
|
125
|
+
@enabled = enabled
|
|
126
|
+
end
|
|
127
|
+
|
|
120
128
|
# Custom attribute writer method with validation
|
|
121
129
|
# @param id [Object] Object to be assigned
|
|
122
130
|
# @!visibility private
|
|
@@ -137,16 +145,6 @@ module DatadogAPIClient::V2
|
|
|
137
145
|
@include = include
|
|
138
146
|
end
|
|
139
147
|
|
|
140
|
-
# Custom attribute writer method with validation
|
|
141
|
-
# @param inputs [Object] Object to be assigned
|
|
142
|
-
# @!visibility private
|
|
143
|
-
def inputs=(inputs)
|
|
144
|
-
if inputs.nil?
|
|
145
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
146
|
-
end
|
|
147
|
-
@inputs = inputs
|
|
148
|
-
end
|
|
149
|
-
|
|
150
148
|
# Custom attribute writer method with validation
|
|
151
149
|
# @param rules [Object] Object to be assigned
|
|
152
150
|
# @!visibility private
|
|
@@ -193,9 +191,9 @@ module DatadogAPIClient::V2
|
|
|
193
191
|
def ==(o)
|
|
194
192
|
return true if self.equal?(o)
|
|
195
193
|
self.class == o.class &&
|
|
194
|
+
enabled == o.enabled &&
|
|
196
195
|
id == o.id &&
|
|
197
196
|
include == o.include &&
|
|
198
|
-
inputs == o.inputs &&
|
|
199
197
|
rules == o.rules &&
|
|
200
198
|
type == o.type &&
|
|
201
199
|
additional_properties == o.additional_properties
|
|
@@ -205,7 +203,7 @@ module DatadogAPIClient::V2
|
|
|
205
203
|
# @return [Integer] Hash code
|
|
206
204
|
# @!visibility private
|
|
207
205
|
def hash
|
|
208
|
-
[id, include,
|
|
206
|
+
[enabled, id, include, rules, type, additional_properties].hash
|
|
209
207
|
end
|
|
210
208
|
end
|
|
211
209
|
end
|