datadog_api_client 2.52.0 → 2.53.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 +2165 -4
- data/.generator/schemas/v2/openapi.yaml +27932 -7132
- data/.github/chainguard/self.github.pre-commit.pull-requests.sts.yaml +14 -0
- data/.github/chainguard/self.github.release.master.sts.yaml +14 -0
- data/.github/workflows/approved_status.yml +5 -4
- data/.github/workflows/release.yml +5 -3
- data/.github/workflows/reusable-ci.yml +0 -12
- data/.github/workflows/reusable-integration-test.yml +6 -8
- data/.github/workflows/reusable-pre-commit.yml +7 -9
- data/.github/workflows/reusable-ruby-test.yml +0 -4
- data/.github/workflows/test.yml +8 -9
- data/CHANGELOG.md +51 -0
- data/examples/v2/application-security/CreateApplicationSecurityWafCustomRule.rb +1 -0
- data/examples/v2/bits-ai/GetInvestigation.rb +8 -0
- data/examples/v2/bits-ai/ListInvestigations.rb +8 -0
- data/examples/v2/bits-ai/ListInvestigations_130750454.rb +8 -0
- data/examples/v2/bits-ai/TriggerInvestigation.rb +24 -0
- data/examples/v2/dashboard-secure-embed/CreateDashboardSecureEmbed.rb +38 -0
- data/examples/v2/dashboard-secure-embed/DeleteDashboardSecureEmbed.rb +8 -0
- data/examples/v2/dashboard-secure-embed/GetDashboardSecureEmbed.rb +8 -0
- data/examples/v2/dashboard-secure-embed/UpdateDashboardSecureEmbed.rb +38 -0
- data/examples/v2/feature-flags/CreateAllocationsForFeatureFlagInEnvironment.rb +65 -0
- data/examples/v2/feature-flags/CreateAllocationsForFeatureFlagInEnvironment_3662093014.rb +31 -0
- data/examples/v2/feature-flags/PauseExposureSchedule.rb +5 -0
- data/examples/v2/feature-flags/ResumeExposureSchedule.rb +5 -0
- data/examples/v2/feature-flags/StartExposureSchedule.rb +5 -0
- data/examples/v2/feature-flags/StopExposureSchedule.rb +5 -0
- data/examples/v2/feature-flags/UpdateAllocationsForFeatureFlagInEnvironment.rb +67 -0
- data/examples/v2/feature-flags/UpdateAllocationsForFeatureFlagInEnvironment_3789036209.rb +60 -0
- data/examples/v2/fleet-automation/ListFleetAgentTracers.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetClusters.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetInstrumentedPods.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetTracers.rb +8 -0
- data/examples/v2/incidents/CreateIncidentUserDefinedField.rb +41 -0
- data/examples/v2/incidents/DeleteIncidentUserDefinedField.rb +8 -0
- data/examples/v2/incidents/GetIncidentUserDefinedField.rb +8 -0
- data/examples/v2/incidents/ListIncidentUserDefinedFields.rb +8 -0
- data/examples/v2/incidents/UpdateIncidentUserDefinedField.rb +31 -0
- data/examples/v2/key-management/CreatePersonalAccessToken.rb +18 -0
- data/examples/v2/key-management/GetPersonalAccessToken.rb +8 -0
- data/examples/v2/key-management/ListPersonalAccessTokens.rb +5 -0
- data/examples/v2/key-management/RevokePersonalAccessToken.rb +8 -0
- data/examples/v2/key-management/UpdatePersonalAccessToken.rb +18 -0
- data/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.rb +19 -0
- data/examples/v2/llm-observability/CreateLLMObsAnnotationQueueInteractions.rb +22 -0
- data/examples/v2/llm-observability/DeleteLLMObsAnnotationQueue.rb +8 -0
- data/examples/v2/llm-observability/DeleteLLMObsAnnotationQueueInteractions.rb +20 -0
- data/examples/v2/llm-observability/DeleteLLMObsCustomEvalConfig.rb +8 -0
- data/examples/v2/llm-observability/GetLLMObsAnnotatedInteractions.rb +8 -0
- data/examples/v2/llm-observability/GetLLMObsCustomEvalConfig.rb +8 -0
- data/examples/v2/llm-observability/ListLLMObsAnnotationQueues.rb +8 -0
- data/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.rb +18 -0
- data/examples/v2/llm-observability/UpdateLLMObsCustomEvalConfig.rb +88 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_140188544.rb +23 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1718754520.rb +22 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2534546779.rb +23 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_3120242932.rb +23 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination_2034509257.rb +22 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination_213195663.rb +23 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination_2612469098.rb +23 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination_2701272624.rb +18 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination_3227001838.rb +22 -0
- data/examples/v2/metrics/QueryScalarData_1479548882.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_1904811219.rb +36 -0
- data/examples/v2/metrics/QueryScalarData_2298288525.rb +35 -0
- data/examples/v2/metrics/QueryScalarData_2312509843.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_2398494003.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_2533499017.rb +37 -0
- data/examples/v2/metrics/QueryScalarData_2757564916.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_3210877526.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_3246660196.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_3470073355.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_3740015316.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_394862343.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_397220765.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_420944803.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_4230617918.rb +37 -0
- data/examples/v2/metrics/QueryScalarData_4257291081.rb +39 -0
- data/examples/v2/metrics/QueryScalarData_779493885.rb +37 -0
- data/examples/v2/metrics/QueryScalarData_891952130.rb +35 -0
- data/examples/v2/metrics/QueryScalarData_922754919.rb +39 -0
- data/examples/v2/metrics/QueryTimeseriesData_1080761370.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_108927825.rb +36 -0
- data/examples/v2/metrics/QueryTimeseriesData_1116544040.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_123149143.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_1606557647.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_1639521432.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_2159746306.rb +37 -0
- data/examples/v2/metrics/QueryTimeseriesData_2186419469.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_2649955681.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_2673679719.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_2884575435.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_3174309318.rb +35 -0
- data/examples/v2/metrics/QueryTimeseriesData_3442090283.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_3535807425.rb +38 -0
- data/examples/v2/metrics/QueryTimeseriesData_4028506518.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_4246412951.rb +37 -0
- data/examples/v2/metrics/QueryTimeseriesData_475733751.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_597826488.rb +40 -0
- data/examples/v2/metrics/QueryTimeseriesData_847716941.rb +38 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_1267410221.rb +51 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_2960728933.rb +50 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_815080644.rb +73 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_99164570.rb +51 -0
- data/examples/v2/oci-integration/CreateTenancyConfig.rb +2 -2
- data/examples/v2/oci-integration/UpdateTenancyConfig.rb +2 -2
- data/examples/v2/org-groups/BulkUpdateOrgGroupMemberships.rb +36 -0
- data/examples/v2/org-groups/CreateOrgGroup.rb +17 -0
- data/examples/v2/org-groups/CreateOrgGroupPolicy.rb +30 -0
- data/examples/v2/org-groups/CreateOrgGroupPolicyOverride.rb +32 -0
- data/examples/v2/org-groups/DeleteOrgGroup.rb +8 -0
- data/examples/v2/org-groups/DeleteOrgGroupPolicy.rb +8 -0
- data/examples/v2/org-groups/DeleteOrgGroupPolicyOverride.rb +8 -0
- data/examples/v2/org-groups/GetOrgGroup.rb +8 -0
- data/examples/v2/org-groups/GetOrgGroupMembership.rb +8 -0
- data/examples/v2/org-groups/GetOrgGroupPolicy.rb +8 -0
- data/examples/v2/org-groups/GetOrgGroupPolicyOverride.rb +8 -0
- data/examples/v2/org-groups/ListOrgGroupMemberships.rb +8 -0
- data/examples/v2/org-groups/ListOrgGroupPolicies.rb +8 -0
- data/examples/v2/org-groups/ListOrgGroupPolicyConfigs.rb +8 -0
- data/examples/v2/org-groups/ListOrgGroupPolicyOverrides.rb +8 -0
- data/examples/v2/org-groups/ListOrgGroups.rb +8 -0
- data/examples/v2/org-groups/UpdateOrgGroup.rb +18 -0
- data/examples/v2/org-groups/UpdateOrgGroupMembership.rb +23 -0
- data/examples/v2/org-groups/UpdateOrgGroupPolicy.rb +21 -0
- data/examples/v2/org-groups/UpdateOrgGroupPolicyOverride.rb +19 -0
- data/examples/v2/scorecards/CreateScorecardCampaign.rb +26 -0
- data/examples/v2/{service-scorecards → scorecards}/CreateScorecardOutcomesBatch.rb +1 -1
- data/examples/v2/{service-scorecards → scorecards}/CreateScorecardRule.rb +3 -6
- data/examples/v2/scorecards/DeleteScorecardCampaign.rb +5 -0
- data/examples/v2/{service-scorecards → scorecards}/DeleteScorecardRule.rb +1 -4
- data/examples/v2/scorecards/GetScorecardCampaign.rb +5 -0
- data/examples/v2/scorecards/ListScorecardCampaigns.rb +5 -0
- data/examples/v2/scorecards/ListScorecardOutcomes.rb +5 -0
- data/examples/v2/{service-scorecards → scorecards}/ListScorecardOutcomes_2663454275.rb +1 -4
- data/examples/v2/scorecards/ListScorecardRules.rb +5 -0
- data/examples/v2/{service-scorecards → scorecards}/ListScorecardRules_4057666343.rb +1 -4
- data/examples/v2/scorecards/ListScorecards.rb +5 -0
- data/examples/v2/scorecards/UpdateScorecardCampaign.rb +26 -0
- data/examples/v2/scorecards/UpdateScorecardOutcomes.rb +21 -0
- data/examples/v2/{service-scorecards/UpdateScorecardOutcomesAsync.rb → scorecards/UpdateScorecardOutcomes_2262047257.rb} +2 -5
- data/examples/v2/scorecards/UpdateScorecardRule.rb +18 -0
- data/examples/v2/{service-scorecards/UpdateScorecardRule.rb → scorecards/UpdateScorecardRule_1831541184.rb} +3 -5
- data/examples/v2/security-monitoring/BulkEditSecurityMonitoringSignals.rb +21 -0
- data/examples/v2/security-monitoring/BulkExportSecurityMonitoringTerraformResources.rb +22 -0
- data/examples/v2/security-monitoring/CancelHistoricalJob.rb +12 -0
- data/examples/v2/security-monitoring/ConvertSecurityMonitoringTerraformResource.rb +20 -0
- data/examples/v2/security-monitoring/CreateVulnerabilityNotificationRule_2417112739.rb +31 -0
- data/examples/v2/security-monitoring/{DeleteThreatHuntingJob.rb → DeleteHistoricalJob.rb} +2 -2
- data/examples/v2/security-monitoring/EditSecurityMonitoringSignal.rb +18 -0
- data/examples/v2/security-monitoring/ExportSecurityMonitoringTerraformResource.rb +11 -0
- data/examples/v2/security-monitoring/GetHistoricalJob.rb +12 -0
- data/examples/v2/security-monitoring/GetIndicatorOfCompromise.rb +8 -0
- data/examples/v2/security-monitoring/GetInvestigationLogQueriesMatchingSignal.rb +5 -0
- data/examples/v2/security-monitoring/GetSuggestedActionsMatchingSignal.rb +5 -0
- data/examples/v2/security-monitoring/ListHistoricalJobs.rb +8 -0
- data/examples/v2/security-monitoring/ListIndicatorsOfCompromise.rb +11 -0
- data/examples/v2/security-monitoring/{RunThreatHuntingJob.rb → RunHistoricalJob.rb} +9 -9
- data/examples/v2/service-accounts/CreateServiceAccountAccessToken.rb +20 -0
- data/examples/v2/service-accounts/GetServiceAccountAccessToken.rb +11 -0
- data/examples/v2/service-accounts/ListServiceAccountAccessTokens.rb +8 -0
- data/examples/v2/service-accounts/RevokeServiceAccountAccessToken.rb +11 -0
- data/examples/v2/service-accounts/UpdateServiceAccountAccessToken.rb +22 -0
- data/examples/v2/status-pages/PublishStatusPage.rb +8 -0
- data/examples/v2/status-pages/UnpublishStatusPage.rb +8 -0
- data/examples/v2/synthetics/DeleteSyntheticsTests.rb +1 -1
- data/examples/v2/synthetics/GetSyntheticsBrowserTestResult.rb +5 -0
- data/examples/v2/synthetics/GetSyntheticsTestResult.rb +5 -0
- data/examples/v2/synthetics/ListSyntheticsBrowserTestLatestResults.rb +5 -0
- data/examples/v2/synthetics/ListSyntheticsTestLatestResults.rb +5 -0
- data/examples/v2/synthetics/PollSyntheticsTestResults.rb +5 -0
- data/examples/v2/test-optimization/GetFlakyTestsManagementPolicies.rb +17 -0
- data/examples/v2/test-optimization/SearchFlakyTests.rb +1 -1
- data/examples/v2/test-optimization/SearchFlakyTests_1224086727.rb +1 -1
- data/examples/v2/test-optimization/SearchFlakyTests_209064879.rb +1 -1
- data/examples/v2/test-optimization/UpdateFlakyTestsManagementPolicies.rb +66 -0
- data/examples/v2/users/AnonymizeUsers.rb +20 -0
- data/lib/datadog_api_client/configuration.rb +86 -33
- data/lib/datadog_api_client/inflector.rb +532 -16
- data/lib/datadog_api_client/v1/models/calendar_interval.rb +128 -0
- data/lib/datadog_api_client/v1/models/calendar_interval_type.rb +32 -0
- data/lib/datadog_api_client/v1/models/cohort_widget_definition.rb +175 -0
- data/lib/datadog_api_client/v1/models/cohort_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_product_analytics_extended_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_product_analytics_extended_query_definition.rb +220 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_product_analytics_extended_query_definition_indexes_items.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +4 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_retention_query_definition.rb +198 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_user_journey_query_definition.rb +198 -0
- data/lib/datadog_api_client/v1/models/funnel_comparison_custom_timeframe.rb +119 -0
- data/lib/datadog_api_client/v1/models/funnel_comparison_duration.rb +108 -0
- data/lib/datadog_api_client/v1/models/funnel_comparison_duration_type.rb +30 -0
- data/lib/datadog_api_client/v1/models/funnel_grouped_display.rb +27 -0
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +11 -5
- data/lib/datadog_api_client/v1/models/product_analytics_audience_account_subquery.rb +2 -2
- data/lib/datadog_api_client/v1/models/product_analytics_audience_filters.rb +1 -1
- data/lib/datadog_api_client/v1/models/product_analytics_audience_occurrence_filter.rb +3 -3
- data/lib/datadog_api_client/v1/models/product_analytics_audience_segment_subquery.rb +2 -2
- data/lib/datadog_api_client/v1/models/product_analytics_audience_user_subquery.rb +2 -2
- data/lib/datadog_api_client/v1/models/product_analytics_base_query.rb +119 -0
- data/lib/datadog_api_client/v1/models/product_analytics_event_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/product_analytics_event_query_search.rb +98 -0
- data/lib/datadog_api_client/v1/models/product_analytics_extended_compute.rb +138 -0
- data/lib/datadog_api_client/v1/models/product_analytics_extended_group_by.rb +164 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_compute.rb +119 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_compute_aggregation.rb +27 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_compute_metric.rb +27 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_group_by.rb +163 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_group_by_sort.rb +118 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_query.rb +151 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_request.rb +152 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/product_analytics_funnel_widget_definition.rb +185 -0
- data/lib/datadog_api_client/v1/models/retention_cohort_criteria.rb +119 -0
- data/lib/datadog_api_client/v1/models/retention_cohort_criteria_time_interval.rb +119 -0
- data/lib/datadog_api_client/v1/models/retention_cohort_criteria_time_interval_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_compute.rb +119 -0
- data/lib/datadog_api_client/v1/models/retention_compute_metric.rb +27 -0
- data/lib/datadog_api_client/v1/models/retention_curve_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_curve_style.rb +80 -0
- data/lib/datadog_api_client/v1/models/retention_curve_widget_definition.rb +175 -0
- data/lib/datadog_api_client/v1/models/retention_curve_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_curve_widget_request.rb +129 -0
- data/lib/datadog_api_client/v1/models/retention_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_entity.rb +27 -0
- data/lib/datadog_api_client/v1/models/retention_filters.rb +90 -0
- data/lib/datadog_api_client/v1/models/retention_grid_request.rb +119 -0
- data/lib/datadog_api_client/v1/models/retention_grid_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_group_by.rb +159 -0
- data/lib/datadog_api_client/v1/models/retention_group_by_sort.rb +80 -0
- data/lib/datadog_api_client/v1/models/retention_group_by_target.rb +27 -0
- data/lib/datadog_api_client/v1/models/retention_query.rb +172 -0
- data/lib/datadog_api_client/v1/models/retention_return_condition.rb +27 -0
- data/lib/datadog_api_client/v1/models/retention_return_criteria.rb +108 -0
- data/lib/datadog_api_client/v1/models/retention_return_criteria_time_interval.rb +140 -0
- data/lib/datadog_api_client/v1/models/retention_return_criteria_time_interval_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/retention_return_criteria_time_interval_unit.rb +28 -0
- data/lib/datadog_api_client/v1/models/retention_search.rb +160 -0
- data/lib/datadog_api_client/v1/models/sankey_rum_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_count_definition_with_bad_events_formula.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_count_definition_with_total_events_formula.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +141 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +141 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +141 -1
- data/lib/datadog_api_client/v1/models/user_journey_formula_compute.rb +128 -0
- data/lib/datadog_api_client/v1/models/user_journey_formula_compute_metric.rb +28 -0
- data/lib/datadog_api_client/v1/models/user_journey_formula_group_by.rb +174 -0
- data/lib/datadog_api_client/v1/models/user_journey_join_keys.rb +135 -0
- data/lib/datadog_api_client/v1/models/user_journey_search.rb +149 -0
- data/lib/datadog_api_client/v1/models/user_journey_search_filters.rb +127 -0
- data/lib/datadog_api_client/v1/models/user_journey_search_graph_filter.rb +135 -0
- data/lib/datadog_api_client/v1/models/user_journey_search_target.rb +153 -0
- data/lib/datadog_api_client/v1/models/widget_definition.rb +3 -0
- data/lib/datadog_api_client/v2/api/bits_ai_api.rb +266 -0
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +9 -4
- data/lib/datadog_api_client/v2/api/dashboard_secure_embed_api.rb +339 -0
- data/lib/datadog_api_client/v2/api/feature_flags_api.rb +415 -0
- data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +348 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +384 -0
- data/lib/datadog_api_client/v2/api/key_management_api.rb +344 -0
- data/lib/datadog_api_client/v2/api/llm_observability_api.rb +848 -105
- data/lib/datadog_api_client/v2/api/org_groups_api.rb +1555 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +5 -3
- data/lib/datadog_api_client/v2/api/{service_scorecards_api.rb → scorecards_api.rb} +449 -69
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +947 -270
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +366 -0
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +134 -2
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +387 -0
- data/lib/datadog_api_client/v2/api/test_optimization_api.rb +147 -0
- data/lib/datadog_api_client/v2/api/users_api.rb +74 -0
- data/lib/datadog_api_client/v2/models/allocation.rb +358 -0
- data/lib/datadog_api_client/v2/models/allocation_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/allocation_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/allocation_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_guardrail_trigger.rb +249 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_rollout_step.rb +300 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_schedule.rb +282 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_schedule_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_schedule_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/allocation_exposure_schedule_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/allocation_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/allocation_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/anonymize_user_error.rb +144 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_response_attributes.rb +148 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/anonymize_users_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/apm_dependency_stat_name.rb +32 -0
- data/lib/datadog_api_client/v2/models/apm_dependency_stats_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/apm_dependency_stats_query.rb +279 -0
- data/lib/datadog_api_client/v2/models/apm_metrics_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/apm_metrics_query.rb +259 -0
- data/lib/datadog_api_client/v2/models/apm_metrics_span_kind.rb +30 -0
- data/lib/datadog_api_client/v2/models/apm_metrics_stat.rb +41 -0
- data/lib/datadog_api_client/v2/models/apm_resource_stat_name.rb +37 -0
- data/lib/datadog_api_client/v2/models/apm_resource_stats_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/apm_resource_stats_query.rb +259 -0
- data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_operator.rb +4 -0
- data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_parameters.rb +11 -1
- data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_parameters_type.rb +30 -0
- data/lib/datadog_api_client/v2/models/campaign_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/campaign_response_attributes.rb +289 -0
- data/lib/datadog_api_client/v2/models/campaign_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/campaign_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/campaign_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/condition.rb +230 -0
- data/lib/datadog_api_client/v2/models/condition_operator.rb +35 -0
- data/lib/datadog_api_client/v2/models/condition_request.rb +167 -0
- data/lib/datadog_api_client/v2/models/container_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/container_scalar_query.rb +227 -0
- data/lib/datadog_api_client/v2/models/container_timeseries_query.rb +217 -0
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_allocations_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/create_campaign_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/create_campaign_request_attributes.rb +259 -0
- data/lib/datadog_api_client/v2/models/create_campaign_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes.rb +60 -5
- data/lib/datadog_api_client/v2/models/create_rule_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/custom_cost_list_response_meta.rb +23 -1
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb +24 -1
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb +24 -1
- data/lib/datadog_api_client/v2/models/events_data_source.rb +11 -0
- data/lib/datadog_api_client/v2/models/events_scalar_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_timeseries_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/exposure_rollout_step_request.rb +205 -0
- data/lib/datadog_api_client/v2/models/exposure_schedule_request.rb +200 -0
- data/lib/datadog_api_client/v2/models/feature_flag_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/feature_flag_environment.rb +13 -1
- data/lib/datadog_api_client/v2/models/flaky_test_history.rb +21 -1
- data/lib/datadog_api_client/v2/models/flaky_test_history_policy_id.rb +34 -0
- data/lib/datadog_api_client/v2/models/flaky_test_history_policy_meta.rb +235 -0
- data/lib/datadog_api_client/v2/models/flaky_test_history_policy_meta_config.rb +229 -0
- data/lib/datadog_api_client/v2/models/flaky_tests_search_filter.rb +13 -1
- data/lib/datadog_api_client/v2/models/flaky_tests_search_request_attributes.rb +1 -13
- data/lib/datadog_api_client/v2/models/fleet_cluster_attributes.rb +287 -0
- data/lib/datadog_api_client/v2/models/fleet_clusters_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/fleet_clusters_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_clusters_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/fleet_clusters_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/fleet_instrumented_pod_group_attributes.rb +201 -0
- data/lib/datadog_api_client/v2/models/fleet_instrumented_pods_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/fleet_instrumented_pods_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_instrumented_pods_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/fleet_tracer_attributes.rb +197 -0
- data/lib/datadog_api_client/v2/models/fleet_tracers_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/fleet_tracers_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_tracers_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/fleet_tracers_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/full_personal_access_token.rb +135 -0
- data/lib/datadog_api_client/v2/models/full_personal_access_token_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/get_investigation_response.rb +144 -0
- data/lib/datadog_api_client/v2/models/get_investigation_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/get_investigation_response_data_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/get_investigation_response_links.rb +123 -0
- data/lib/datadog_api_client/v2/models/get_io_c_indicator_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/get_io_c_indicator_response_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/get_io_c_indicator_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/global_org_identifier.rb +144 -0
- data/lib/datadog_api_client/v2/models/guardrail_metric.rb +162 -0
- data/lib/datadog_api_client/v2/models/guardrail_metric_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/guardrail_trigger_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_data_type.rb → historical_job_data_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_list_meta.rb → historical_job_list_meta.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_options.rb → historical_job_options.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_query.rb → historical_job_query.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_response.rb → historical_job_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_response_attributes.rb → historical_job_response_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{threat_hunting_job_response_data.rb → historical_job_response_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_create_request.rb +238 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb +394 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb +180 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_category.rb +27 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_collected.rb +29 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_create_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_create_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_field_type.rb +33 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_list_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_list_response.rb +146 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_metadata.rb +228 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_relationships.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_response_data.rb +186 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_valid_value.rb +164 -0
- data/lib/datadog_api_client/v2/models/investigation_conclusion.rb +165 -0
- data/lib/datadog_api_client/v2/models/investigation_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/io_c_explorer_list_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/io_c_explorer_list_response_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/io_c_explorer_list_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/io_c_explorer_list_response_metadata.rb +105 -0
- data/lib/datadog_api_client/v2/models/io_c_explorer_list_response_paging.rb +105 -0
- data/lib/datadog_api_client/v2/models/io_c_geo_location.rb +125 -0
- data/lib/datadog_api_client/v2/models/io_c_indicator.rb +325 -0
- data/lib/datadog_api_client/v2/models/io_c_indicator_detailed.rb +435 -0
- data/lib/datadog_api_client/v2/models/io_c_score_effect.rb +28 -0
- data/lib/datadog_api_client/v2/models/io_c_signal_severity_count.rb +115 -0
- data/lib/datadog_api_client/v2/models/{synthetics_fast_test_result_device.rb → io_c_source.rb} +5 -15
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes.rb +47 -1
- data/lib/datadog_api_client/v2/models/job_create_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/job_create_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/job_definition.rb +3 -3
- data/lib/datadog_api_client/v2/models/job_definition_from_rule.rb +1 -1
- data/lib/datadog_api_client/v2/models/list_allocations_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/list_campaigns_response.rb +146 -0
- data/lib/datadog_api_client/v2/models/{list_threat_hunting_jobs_response.rb → list_historical_jobs_response.rb} +6 -6
- data/lib/datadog_api_client/v2/models/list_investigations_response.rb +167 -0
- data/lib/datadog_api_client/v2/models/list_investigations_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/list_investigations_response_data_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/list_investigations_response_links.rb +194 -0
- data/lib/datadog_api_client/v2/models/list_investigations_response_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/list_investigations_response_meta_page.rb +165 -0
- data/lib/datadog_api_client/v2/models/list_personal_access_tokens_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/list_scorecards_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb +188 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interactions_data_attributes_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interactions_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interactions_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interactions_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_item.rb +249 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_request.rb +154 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_response.rb +270 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb +186 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_data_attributes_request.rb +129 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_data_attributes_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_attributes_request.rb +115 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queues_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_assessment_criteria.rb +148 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_bedrock_options.rb +105 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_eval_scope.rb +28 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_inference_params.rb +155 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_integration_provider.rb +31 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_llm_judge_config.rb +195 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_llm_provider.rb +145 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_parsing_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_content.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_content_value.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_message.rb +145 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_tool_call.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_prompt_tool_result.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_target.rb +194 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_attributes.rb +163 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_user.rb +105 -0
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_vertex_ai_options.rb +115 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotation_queue_interactions_data_attributes_request.rb +129 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotation_queue_interactions_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotation_queue_interactions_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_interaction_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_alert_trigger_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_source.rb +12 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_source_compression.rb +29 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb +54 -4
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_compression.rb +133 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_compression_algorithm.rb +30 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_data_stream.rb +26 -6
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_field_event_lookup.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_field_secret_lookup.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_field_vrl_lookup.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_file_key_item_field.rb +66 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_file_key_items.rb +3 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination_token_strategy.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source.rb +12 -1
- data/lib/datadog_api_client/v2/models/org_group_attributes.rb +207 -0
- data/lib/datadog_api_client/v2/models/org_group_create_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/org_group_include_option.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_list_response.rb +147 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_attributes.rb +207 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_bulk_update_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_bulk_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_bulk_update_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_bulk_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_bulk_update_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_sort_option.rb +29 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_update_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_membership_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_memberships_relationship.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta_page.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_attributes.rb +196 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_config_attributes.rb +209 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_config_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_config_list_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_create_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_create_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_create_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_enforcement_tier.rb +28 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_attributes.rb +196 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_create_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_create_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_create_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_relationships.rb +115 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_sort_option.rb +29 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_update_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_override_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_policy_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_relationship_to_one.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_relationship_to_one_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_sort_option.rb +29 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_update_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_relationship_to_one.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_relationship_to_one_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_group_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/org_group_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_sort_option.rb +29 -0
- data/lib/datadog_api_client/v2/models/org_group_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/org_group_update_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/org_group_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/overwrite_allocations_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/paginated_response_meta.rb +186 -0
- data/lib/datadog_api_client/v2/models/personal_access_token.rb +135 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_attributes.rb +177 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_create_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/{run_threat_hunting_job_request.rb → personal_access_token_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/personal_access_token_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_response_meta_page.rb +105 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_update_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/personal_access_token_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/personal_access_tokens_sort.rb +31 -0
- data/lib/datadog_api_client/v2/models/personal_access_tokens_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/process_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/process_scalar_query.rb +227 -0
- data/lib/datadog_api_client/v2/models/process_timeseries_query.rb +217 -0
- data/lib/datadog_api_client/v2/models/rollout_options.rb +165 -0
- data/lib/datadog_api_client/v2/models/rollout_options_request.rb +151 -0
- data/lib/datadog_api_client/v2/models/rollout_strategy.rb +27 -0
- data/lib/datadog_api_client/v2/models/rule_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/rule_attributes_request.rb +187 -0
- data/lib/datadog_api_client/v2/models/rule_types_items.rb +4 -1
- data/lib/datadog_api_client/v2/models/run_historical_job_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{run_threat_hunting_job_request_attributes.rb → run_historical_job_request_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{run_threat_hunting_job_request_data.rb → run_historical_job_request_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/{run_threat_hunting_job_request_data_type.rb → run_historical_job_request_data_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/scalar_query.rb +7 -1
- data/lib/datadog_api_client/v2/models/scorecard_list_response_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/scorecard_list_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/scorecard_list_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_request_attributes.rb +230 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_response_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/secure_embed_create_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_get_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/secure_embed_get_response_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/secure_embed_get_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/secure_embed_get_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_global_time.rb +105 -0
- data/lib/datadog_api_client/v2/models/secure_embed_global_time_live_span.rb +33 -0
- data/lib/datadog_api_client/v2/models/secure_embed_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_selectable_template_variable.rb +139 -0
- data/lib/datadog_api_client/v2/models/secure_embed_share_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_request_attributes.rb +157 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_response_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/secure_embed_update_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/secure_embed_viewing_preferences.rb +115 -0
- data/lib/datadog_api_client/v2/models/secure_embed_viewing_preferences_theme.rb +28 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_activation.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_integration_status.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_state_attributes.rb +7 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_state_meta.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_status.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_content_pack_timestamp_bucket.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_suggested_action.rb +165 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_suggested_action_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_suggested_action_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_suggested_actions_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_update_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_update_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_bulk_update_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_bulk_update_request.rb +129 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_sku.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_data_source.rb +2 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_bulk_export_attributes.rb +129 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_bulk_export_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_bulk_export_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_convert_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_convert_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_convert_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_export_attributes.rb +154 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_export_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_export_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_terraform_resource_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb +156 -0
- data/lib/datadog_api_client/v2/models/service_account_access_token_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/service_account_access_token_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/slo_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/slo_query.rb +205 -0
- data/lib/datadog_api_client/v2/models/slos_group_mode.rb +27 -0
- data/lib/datadog_api_client/v2/models/slos_measure.rb +35 -0
- data/lib/datadog_api_client/v2/models/slos_query_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/synthetics_fast_test_result_attributes.rb +6 -6
- data/lib/datadog_api_client/v2/models/synthetics_fast_test_result_detail.rb +13 -13
- data/lib/datadog_api_client/v2/models/synthetics_fast_test_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/synthetics_poll_test_results_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_latest_results_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb +195 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_batch.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_bounds.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_browser_error.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_bucket_keys.rb +207 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_cdn_cache_status.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_cdn_provider_info.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_cdn_resource.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_certificate.rb +217 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_certificate_validity.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ci.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ci_pipeline.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ci_provider.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ci_stage.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_data.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_detail.rb +513 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_device.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_device_browser.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_device_platform.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_device_resolution.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_dns_record.rb +117 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_dns_resolution.rb +137 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_duration.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_execution_info.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_failure.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_file_ref.rb +145 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_git.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_git_commit.rb +145 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_git_user.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_handshake.rb +115 -0
- data/lib/datadog_api_client/v2/models/{synthetics_fast_test_result_failure.rb → synthetics_test_result_health_check.rb} +17 -17
- data/lib/datadog_api_client/v2/models/synthetics_test_result_included_item.rb +125 -0
- data/lib/datadog_api_client/v2/models/{synthetics_fast_test_result_location.rb → synthetics_test_result_location.rb} +6 -6
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netpath.rb +179 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netpath_destination.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netpath_endpoint.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netpath_hop.rb +145 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netstats.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_netstats_hops.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_network_latency.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ocsp_certificate.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ocsp_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_ocsp_updates.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_parent_step.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_parent_test.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_redirect.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_relationship_test.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_relationship_test_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_request_info.rb +307 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_response_info.rb +279 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_router.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_rum_context.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_run_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_step.rb +543 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_step_assertion_result.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_step_element_updates.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_steps_info.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_sub_step.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_sub_test.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_summary_attributes.rb +195 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_summary_data.rb +135 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_summary_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_tab.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_trace.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_traceroute_hop.rb +177 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_turn.rb +167 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_turn_step.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_variable.rb +195 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_variables.rb +119 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_vitals_metrics.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_warning.rb +127 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_result_web_socket_close.rb +115 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_sub_type.rb +35 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/targeting_rule.rb +188 -0
- data/lib/datadog_api_client/v2/models/targeting_rule_request.rb +129 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_attempt_to_fix.rb +105 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_auto_disable_rule.rb +126 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_auto_quarantine_rule.rb +115 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_branch_rule.rb +141 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_data.rb +126 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_disabled.rb +135 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_disabled_failure_rate_rule.rb +148 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_disabled_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_get_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_get_request_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_get_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_quarantined.rb +135 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_quarantined_failure_rate_rule.rb +137 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_update_request_attributes.rb +158 -0
- data/lib/datadog_api_client/v2/models/test_optimization_flaky_tests_management_policies_update_request_data.rb +146 -0
- data/lib/datadog_api_client/v2/models/test_optimization_get_flaky_tests_management_policies_request_data_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/test_optimization_update_flaky_tests_management_policies_request_data_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/timeseries_query.rb +7 -1
- data/lib/datadog_api_client/v2/models/trigger_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_response_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/trigger_investigation_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/trigger_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/update_campaign_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_campaign_request_attributes.rb +259 -0
- data/lib/datadog_api_client/v2/models/update_campaign_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/update_rule_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/upsert_allocation_request.rb +239 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/variant_weight.rb +184 -0
- data/lib/datadog_api_client/v2/models/variant_weight_request.rb +143 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +693 -33
- data/examples/v2/security-monitoring/CancelThreatHuntingJob.rb +0 -8
- data/examples/v2/security-monitoring/CancelThreatHuntingJob_1945505845.rb +0 -12
- data/examples/v2/security-monitoring/GetThreatHuntingJob.rb +0 -12
- data/examples/v2/security-monitoring/ListThreatHuntingJobs.rb +0 -8
- data/examples/v2/security-monitoring/ListThreatHuntingJobs_1365512061.rb +0 -15
- data/examples/v2/service-scorecards/ListScorecardOutcomes.rb +0 -8
- data/examples/v2/service-scorecards/ListScorecardRules.rb +0 -8
|
@@ -23,6 +23,159 @@ module DatadogAPIClient::V2
|
|
|
23
23
|
@api_client = api_client
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Create an LLM Observability annotation queue.
|
|
27
|
+
#
|
|
28
|
+
# @see #create_llm_obs_annotation_queue_with_http_info
|
|
29
|
+
def create_llm_obs_annotation_queue(body, opts = {})
|
|
30
|
+
data, _status_code, _headers = create_llm_obs_annotation_queue_with_http_info(body, opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Create an LLM Observability annotation queue.
|
|
35
|
+
#
|
|
36
|
+
# Create a new annotation queue. Only `name`, `project_id`, and `description` are accepted.
|
|
37
|
+
# Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, and `modified_at` are inferred by the backend.
|
|
38
|
+
#
|
|
39
|
+
# @param body [LLMObsAnnotationQueueRequest] Create annotation queue payload.
|
|
40
|
+
# @param opts [Hash] the optional parameters
|
|
41
|
+
# @return [Array<(LLMObsAnnotationQueueResponse, Integer, Hash)>] LLMObsAnnotationQueueResponse data, response status code and response headers
|
|
42
|
+
def create_llm_obs_annotation_queue_with_http_info(body, opts = {})
|
|
43
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.create_llm_obs_annotation_queue".to_sym]
|
|
44
|
+
if unstable_enabled
|
|
45
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_llm_obs_annotation_queue")
|
|
46
|
+
else
|
|
47
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_llm_obs_annotation_queue"))
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
if @api_client.config.debugging
|
|
51
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.create_llm_obs_annotation_queue ...'
|
|
52
|
+
end
|
|
53
|
+
# verify the required parameter 'body' is set
|
|
54
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
55
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.create_llm_obs_annotation_queue"
|
|
56
|
+
end
|
|
57
|
+
# resource path
|
|
58
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues'
|
|
59
|
+
|
|
60
|
+
# query parameters
|
|
61
|
+
query_params = opts[:query_params] || {}
|
|
62
|
+
|
|
63
|
+
# header parameters
|
|
64
|
+
header_params = opts[:header_params] || {}
|
|
65
|
+
# HTTP header 'Accept' (if needed)
|
|
66
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
67
|
+
# HTTP header 'Content-Type'
|
|
68
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
69
|
+
|
|
70
|
+
# form parameters
|
|
71
|
+
form_params = opts[:form_params] || {}
|
|
72
|
+
|
|
73
|
+
# http body (model)
|
|
74
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
75
|
+
|
|
76
|
+
# return_type
|
|
77
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueueResponse'
|
|
78
|
+
|
|
79
|
+
# auth_names
|
|
80
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
81
|
+
|
|
82
|
+
new_options = opts.merge(
|
|
83
|
+
:operation => :create_llm_obs_annotation_queue,
|
|
84
|
+
:header_params => header_params,
|
|
85
|
+
:query_params => query_params,
|
|
86
|
+
:form_params => form_params,
|
|
87
|
+
:body => post_body,
|
|
88
|
+
:auth_names => auth_names,
|
|
89
|
+
:return_type => return_type,
|
|
90
|
+
:api_version => "V2"
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
94
|
+
if @api_client.config.debugging
|
|
95
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#create_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
96
|
+
end
|
|
97
|
+
return data, status_code, headers
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Add annotation queue interactions.
|
|
101
|
+
#
|
|
102
|
+
# @see #create_llm_obs_annotation_queue_interactions_with_http_info
|
|
103
|
+
def create_llm_obs_annotation_queue_interactions(queue_id, body, opts = {})
|
|
104
|
+
data, _status_code, _headers = create_llm_obs_annotation_queue_interactions_with_http_info(queue_id, body, opts)
|
|
105
|
+
data
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Add annotation queue interactions.
|
|
109
|
+
#
|
|
110
|
+
# Add one or more interactions (traces) to an annotation queue.
|
|
111
|
+
# At least one interaction must be provided.
|
|
112
|
+
#
|
|
113
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
114
|
+
# @param body [LLMObsAnnotationQueueInteractionsRequest] Add interactions payload.
|
|
115
|
+
# @param opts [Hash] the optional parameters
|
|
116
|
+
# @return [Array<(LLMObsAnnotationQueueInteractionsResponse, Integer, Hash)>] LLMObsAnnotationQueueInteractionsResponse data, response status code and response headers
|
|
117
|
+
def create_llm_obs_annotation_queue_interactions_with_http_info(queue_id, body, opts = {})
|
|
118
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.create_llm_obs_annotation_queue_interactions".to_sym]
|
|
119
|
+
if unstable_enabled
|
|
120
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_llm_obs_annotation_queue_interactions")
|
|
121
|
+
else
|
|
122
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_llm_obs_annotation_queue_interactions"))
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if @api_client.config.debugging
|
|
126
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.create_llm_obs_annotation_queue_interactions ...'
|
|
127
|
+
end
|
|
128
|
+
# verify the required parameter 'queue_id' is set
|
|
129
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
130
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.create_llm_obs_annotation_queue_interactions"
|
|
131
|
+
end
|
|
132
|
+
# verify the required parameter 'body' is set
|
|
133
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
134
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.create_llm_obs_annotation_queue_interactions"
|
|
135
|
+
end
|
|
136
|
+
# resource path
|
|
137
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
138
|
+
|
|
139
|
+
# query parameters
|
|
140
|
+
query_params = opts[:query_params] || {}
|
|
141
|
+
|
|
142
|
+
# header parameters
|
|
143
|
+
header_params = opts[:header_params] || {}
|
|
144
|
+
# HTTP header 'Accept' (if needed)
|
|
145
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
146
|
+
# HTTP header 'Content-Type'
|
|
147
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
148
|
+
|
|
149
|
+
# form parameters
|
|
150
|
+
form_params = opts[:form_params] || {}
|
|
151
|
+
|
|
152
|
+
# http body (model)
|
|
153
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
154
|
+
|
|
155
|
+
# return_type
|
|
156
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueueInteractionsResponse'
|
|
157
|
+
|
|
158
|
+
# auth_names
|
|
159
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
160
|
+
|
|
161
|
+
new_options = opts.merge(
|
|
162
|
+
:operation => :create_llm_obs_annotation_queue_interactions,
|
|
163
|
+
:header_params => header_params,
|
|
164
|
+
:query_params => query_params,
|
|
165
|
+
:form_params => form_params,
|
|
166
|
+
:body => post_body,
|
|
167
|
+
:auth_names => auth_names,
|
|
168
|
+
:return_type => return_type,
|
|
169
|
+
:api_version => "V2"
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
173
|
+
if @api_client.config.debugging
|
|
174
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#create_llm_obs_annotation_queue_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
175
|
+
end
|
|
176
|
+
return data, status_code, headers
|
|
177
|
+
end
|
|
178
|
+
|
|
26
179
|
# Create an LLM Observability dataset.
|
|
27
180
|
#
|
|
28
181
|
# @see #create_llm_obs_dataset_with_http_info
|
|
@@ -408,48 +561,38 @@ module DatadogAPIClient::V2
|
|
|
408
561
|
return data, status_code, headers
|
|
409
562
|
end
|
|
410
563
|
|
|
411
|
-
# Delete LLM Observability
|
|
564
|
+
# Delete an LLM Observability annotation queue.
|
|
412
565
|
#
|
|
413
|
-
# @see #
|
|
414
|
-
def
|
|
415
|
-
|
|
566
|
+
# @see #delete_llm_obs_annotation_queue_with_http_info
|
|
567
|
+
def delete_llm_obs_annotation_queue(queue_id, opts = {})
|
|
568
|
+
delete_llm_obs_annotation_queue_with_http_info(queue_id, opts)
|
|
416
569
|
nil
|
|
417
570
|
end
|
|
418
571
|
|
|
419
|
-
# Delete LLM Observability
|
|
572
|
+
# Delete an LLM Observability annotation queue.
|
|
420
573
|
#
|
|
421
|
-
# Delete
|
|
574
|
+
# Delete an annotation queue by its ID.
|
|
422
575
|
#
|
|
423
|
-
# @param
|
|
424
|
-
# @param dataset_id [String] The ID of the LLM Observability dataset.
|
|
425
|
-
# @param body [LLMObsDeleteDatasetRecordsRequest] Delete records payload.
|
|
576
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
426
577
|
# @param opts [Hash] the optional parameters
|
|
427
578
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
428
|
-
def
|
|
429
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.
|
|
579
|
+
def delete_llm_obs_annotation_queue_with_http_info(queue_id, opts = {})
|
|
580
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_annotation_queue".to_sym]
|
|
430
581
|
if unstable_enabled
|
|
431
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.
|
|
582
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_annotation_queue")
|
|
432
583
|
else
|
|
433
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.
|
|
584
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_annotation_queue"))
|
|
434
585
|
end
|
|
435
586
|
|
|
436
587
|
if @api_client.config.debugging
|
|
437
|
-
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.
|
|
438
|
-
end
|
|
439
|
-
# verify the required parameter 'project_id' is set
|
|
440
|
-
if @api_client.config.client_side_validation && project_id.nil?
|
|
441
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling LLMObservabilityAPI.delete_llm_obs_dataset_records"
|
|
442
|
-
end
|
|
443
|
-
# verify the required parameter 'dataset_id' is set
|
|
444
|
-
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
445
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling LLMObservabilityAPI.delete_llm_obs_dataset_records"
|
|
588
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_annotation_queue ...'
|
|
446
589
|
end
|
|
447
|
-
# verify the required parameter '
|
|
448
|
-
if @api_client.config.client_side_validation &&
|
|
449
|
-
fail ArgumentError, "Missing the required parameter '
|
|
590
|
+
# verify the required parameter 'queue_id' is set
|
|
591
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
592
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.delete_llm_obs_annotation_queue"
|
|
450
593
|
end
|
|
451
594
|
# resource path
|
|
452
|
-
local_var_path = '/api/v2/llm-obs/v1/
|
|
595
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
453
596
|
|
|
454
597
|
# query parameters
|
|
455
598
|
query_params = opts[:query_params] || {}
|
|
@@ -458,14 +601,12 @@ module DatadogAPIClient::V2
|
|
|
458
601
|
header_params = opts[:header_params] || {}
|
|
459
602
|
# HTTP header 'Accept' (if needed)
|
|
460
603
|
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
461
|
-
# HTTP header 'Content-Type'
|
|
462
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
463
604
|
|
|
464
605
|
# form parameters
|
|
465
606
|
form_params = opts[:form_params] || {}
|
|
466
607
|
|
|
467
608
|
# http body (model)
|
|
468
|
-
post_body = opts[:debug_body]
|
|
609
|
+
post_body = opts[:debug_body]
|
|
469
610
|
|
|
470
611
|
# return_type
|
|
471
612
|
return_type = opts[:debug_return_type]
|
|
@@ -474,7 +615,7 @@ module DatadogAPIClient::V2
|
|
|
474
615
|
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
475
616
|
|
|
476
617
|
new_options = opts.merge(
|
|
477
|
-
:operation => :
|
|
618
|
+
:operation => :delete_llm_obs_annotation_queue,
|
|
478
619
|
:header_params => header_params,
|
|
479
620
|
:query_params => query_params,
|
|
480
621
|
:form_params => form_params,
|
|
@@ -484,50 +625,50 @@ module DatadogAPIClient::V2
|
|
|
484
625
|
:api_version => "V2"
|
|
485
626
|
)
|
|
486
627
|
|
|
487
|
-
data, status_code, headers = @api_client.call_api(Net::HTTP::
|
|
628
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
488
629
|
if @api_client.config.debugging
|
|
489
|
-
@api_client.config.logger.debug "API called: LLMObservabilityAPI#
|
|
630
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
490
631
|
end
|
|
491
632
|
return data, status_code, headers
|
|
492
633
|
end
|
|
493
634
|
|
|
494
|
-
# Delete
|
|
635
|
+
# Delete annotation queue interactions.
|
|
495
636
|
#
|
|
496
|
-
# @see #
|
|
497
|
-
def
|
|
498
|
-
|
|
637
|
+
# @see #delete_llm_obs_annotation_queue_interactions_with_http_info
|
|
638
|
+
def delete_llm_obs_annotation_queue_interactions(queue_id, body, opts = {})
|
|
639
|
+
delete_llm_obs_annotation_queue_interactions_with_http_info(queue_id, body, opts)
|
|
499
640
|
nil
|
|
500
641
|
end
|
|
501
642
|
|
|
502
|
-
# Delete
|
|
643
|
+
# Delete annotation queue interactions.
|
|
503
644
|
#
|
|
504
|
-
# Delete one or more
|
|
645
|
+
# Delete one or more interactions from an annotation queue.
|
|
505
646
|
#
|
|
506
|
-
# @param
|
|
507
|
-
# @param body [
|
|
647
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
648
|
+
# @param body [LLMObsDeleteAnnotationQueueInteractionsRequest] Delete interactions payload.
|
|
508
649
|
# @param opts [Hash] the optional parameters
|
|
509
650
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
510
|
-
def
|
|
511
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.
|
|
651
|
+
def delete_llm_obs_annotation_queue_interactions_with_http_info(queue_id, body, opts = {})
|
|
652
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_annotation_queue_interactions".to_sym]
|
|
512
653
|
if unstable_enabled
|
|
513
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.
|
|
654
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_annotation_queue_interactions")
|
|
514
655
|
else
|
|
515
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.
|
|
656
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_annotation_queue_interactions"))
|
|
516
657
|
end
|
|
517
658
|
|
|
518
659
|
if @api_client.config.debugging
|
|
519
|
-
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.
|
|
660
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_annotation_queue_interactions ...'
|
|
520
661
|
end
|
|
521
|
-
# verify the required parameter '
|
|
522
|
-
if @api_client.config.client_side_validation &&
|
|
523
|
-
fail ArgumentError, "Missing the required parameter '
|
|
662
|
+
# verify the required parameter 'queue_id' is set
|
|
663
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
664
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.delete_llm_obs_annotation_queue_interactions"
|
|
524
665
|
end
|
|
525
666
|
# verify the required parameter 'body' is set
|
|
526
667
|
if @api_client.config.client_side_validation && body.nil?
|
|
527
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.
|
|
668
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_annotation_queue_interactions"
|
|
528
669
|
end
|
|
529
670
|
# resource path
|
|
530
|
-
local_var_path = '/api/v2/llm-obs/v1/{
|
|
671
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions/delete'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
531
672
|
|
|
532
673
|
# query parameters
|
|
533
674
|
query_params = opts[:query_params] || {}
|
|
@@ -552,7 +693,7 @@ module DatadogAPIClient::V2
|
|
|
552
693
|
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
553
694
|
|
|
554
695
|
new_options = opts.merge(
|
|
555
|
-
:operation => :
|
|
696
|
+
:operation => :delete_llm_obs_annotation_queue_interactions,
|
|
556
697
|
:header_params => header_params,
|
|
557
698
|
:query_params => query_params,
|
|
558
699
|
:form_params => form_params,
|
|
@@ -564,43 +705,43 @@ module DatadogAPIClient::V2
|
|
|
564
705
|
|
|
565
706
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
566
707
|
if @api_client.config.debugging
|
|
567
|
-
@api_client.config.logger.debug "API called: LLMObservabilityAPI#
|
|
708
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_annotation_queue_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
568
709
|
end
|
|
569
710
|
return data, status_code, headers
|
|
570
711
|
end
|
|
571
712
|
|
|
572
|
-
# Delete
|
|
713
|
+
# Delete a custom evaluator configuration.
|
|
573
714
|
#
|
|
574
|
-
# @see #
|
|
575
|
-
def
|
|
576
|
-
|
|
715
|
+
# @see #delete_llm_obs_custom_eval_config_with_http_info
|
|
716
|
+
def delete_llm_obs_custom_eval_config(eval_name, opts = {})
|
|
717
|
+
delete_llm_obs_custom_eval_config_with_http_info(eval_name, opts)
|
|
577
718
|
nil
|
|
578
719
|
end
|
|
579
720
|
|
|
580
|
-
# Delete
|
|
721
|
+
# Delete a custom evaluator configuration.
|
|
581
722
|
#
|
|
582
|
-
# Delete
|
|
723
|
+
# Delete a custom LLM Observability evaluator configuration by its name.
|
|
583
724
|
#
|
|
584
|
-
# @param
|
|
725
|
+
# @param eval_name [String] The name of the custom LLM Observability evaluator configuration.
|
|
585
726
|
# @param opts [Hash] the optional parameters
|
|
586
727
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
587
|
-
def
|
|
588
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.
|
|
728
|
+
def delete_llm_obs_custom_eval_config_with_http_info(eval_name, opts = {})
|
|
729
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_custom_eval_config".to_sym]
|
|
589
730
|
if unstable_enabled
|
|
590
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.
|
|
731
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_custom_eval_config")
|
|
591
732
|
else
|
|
592
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.
|
|
733
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_custom_eval_config"))
|
|
593
734
|
end
|
|
594
735
|
|
|
595
736
|
if @api_client.config.debugging
|
|
596
|
-
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.
|
|
737
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_custom_eval_config ...'
|
|
597
738
|
end
|
|
598
|
-
# verify the required parameter '
|
|
599
|
-
if @api_client.config.client_side_validation &&
|
|
600
|
-
fail ArgumentError, "Missing the required parameter '
|
|
739
|
+
# verify the required parameter 'eval_name' is set
|
|
740
|
+
if @api_client.config.client_side_validation && eval_name.nil?
|
|
741
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling LLMObservabilityAPI.delete_llm_obs_custom_eval_config"
|
|
601
742
|
end
|
|
602
743
|
# resource path
|
|
603
|
-
local_var_path = '/api/
|
|
744
|
+
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
604
745
|
|
|
605
746
|
# query parameters
|
|
606
747
|
query_params = opts[:query_params] || {}
|
|
@@ -609,14 +750,12 @@ module DatadogAPIClient::V2
|
|
|
609
750
|
header_params = opts[:header_params] || {}
|
|
610
751
|
# HTTP header 'Accept' (if needed)
|
|
611
752
|
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
612
|
-
# HTTP header 'Content-Type'
|
|
613
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
614
753
|
|
|
615
754
|
# form parameters
|
|
616
755
|
form_params = opts[:form_params] || {}
|
|
617
756
|
|
|
618
757
|
# http body (model)
|
|
619
|
-
post_body = opts[:debug_body]
|
|
758
|
+
post_body = opts[:debug_body]
|
|
620
759
|
|
|
621
760
|
# return_type
|
|
622
761
|
return_type = opts[:debug_return_type]
|
|
@@ -625,7 +764,7 @@ module DatadogAPIClient::V2
|
|
|
625
764
|
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
626
765
|
|
|
627
766
|
new_options = opts.merge(
|
|
628
|
-
:operation => :
|
|
767
|
+
:operation => :delete_llm_obs_custom_eval_config,
|
|
629
768
|
:header_params => header_params,
|
|
630
769
|
:query_params => query_params,
|
|
631
770
|
:form_params => form_params,
|
|
@@ -635,45 +774,55 @@ module DatadogAPIClient::V2
|
|
|
635
774
|
:api_version => "V2"
|
|
636
775
|
)
|
|
637
776
|
|
|
638
|
-
data, status_code, headers = @api_client.call_api(Net::HTTP::
|
|
777
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
639
778
|
if @api_client.config.debugging
|
|
640
|
-
@api_client.config.logger.debug "API called: LLMObservabilityAPI#
|
|
779
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
641
780
|
end
|
|
642
781
|
return data, status_code, headers
|
|
643
782
|
end
|
|
644
783
|
|
|
645
|
-
# Delete LLM Observability
|
|
784
|
+
# Delete LLM Observability dataset records.
|
|
646
785
|
#
|
|
647
|
-
# @see #
|
|
648
|
-
def
|
|
649
|
-
|
|
786
|
+
# @see #delete_llm_obs_dataset_records_with_http_info
|
|
787
|
+
def delete_llm_obs_dataset_records(project_id, dataset_id, body, opts = {})
|
|
788
|
+
delete_llm_obs_dataset_records_with_http_info(project_id, dataset_id, body, opts)
|
|
650
789
|
nil
|
|
651
790
|
end
|
|
652
791
|
|
|
653
|
-
# Delete LLM Observability
|
|
792
|
+
# Delete LLM Observability dataset records.
|
|
654
793
|
#
|
|
655
|
-
# Delete one or more LLM Observability
|
|
794
|
+
# Delete one or more records from an LLM Observability dataset.
|
|
656
795
|
#
|
|
657
|
-
# @param
|
|
796
|
+
# @param project_id [String] The ID of the LLM Observability project.
|
|
797
|
+
# @param dataset_id [String] The ID of the LLM Observability dataset.
|
|
798
|
+
# @param body [LLMObsDeleteDatasetRecordsRequest] Delete records payload.
|
|
658
799
|
# @param opts [Hash] the optional parameters
|
|
659
800
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
660
|
-
def
|
|
661
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.
|
|
801
|
+
def delete_llm_obs_dataset_records_with_http_info(project_id, dataset_id, body, opts = {})
|
|
802
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_dataset_records".to_sym]
|
|
662
803
|
if unstable_enabled
|
|
663
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.
|
|
804
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_dataset_records")
|
|
664
805
|
else
|
|
665
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.
|
|
806
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_dataset_records"))
|
|
666
807
|
end
|
|
667
808
|
|
|
668
809
|
if @api_client.config.debugging
|
|
669
|
-
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.
|
|
810
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_dataset_records ...'
|
|
811
|
+
end
|
|
812
|
+
# verify the required parameter 'project_id' is set
|
|
813
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
814
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling LLMObservabilityAPI.delete_llm_obs_dataset_records"
|
|
815
|
+
end
|
|
816
|
+
# verify the required parameter 'dataset_id' is set
|
|
817
|
+
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
818
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling LLMObservabilityAPI.delete_llm_obs_dataset_records"
|
|
670
819
|
end
|
|
671
820
|
# verify the required parameter 'body' is set
|
|
672
821
|
if @api_client.config.client_side_validation && body.nil?
|
|
673
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.
|
|
822
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_dataset_records"
|
|
674
823
|
end
|
|
675
824
|
# resource path
|
|
676
|
-
local_var_path = '/api/v2/llm-obs/v1/
|
|
825
|
+
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
677
826
|
|
|
678
827
|
# query parameters
|
|
679
828
|
query_params = opts[:query_params] || {}
|
|
@@ -698,7 +847,7 @@ module DatadogAPIClient::V2
|
|
|
698
847
|
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
699
848
|
|
|
700
849
|
new_options = opts.merge(
|
|
701
|
-
:operation => :
|
|
850
|
+
:operation => :delete_llm_obs_dataset_records,
|
|
702
851
|
:header_params => header_params,
|
|
703
852
|
:query_params => query_params,
|
|
704
853
|
:form_params => form_params,
|
|
@@ -710,34 +859,472 @@ module DatadogAPIClient::V2
|
|
|
710
859
|
|
|
711
860
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
712
861
|
if @api_client.config.debugging
|
|
713
|
-
@api_client.config.logger.debug "API called: LLMObservabilityAPI#
|
|
862
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_dataset_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
714
863
|
end
|
|
715
864
|
return data, status_code, headers
|
|
716
865
|
end
|
|
717
866
|
|
|
718
|
-
#
|
|
867
|
+
# Delete LLM Observability datasets.
|
|
719
868
|
#
|
|
720
|
-
# @see #
|
|
721
|
-
def
|
|
722
|
-
|
|
723
|
-
|
|
869
|
+
# @see #delete_llm_obs_datasets_with_http_info
|
|
870
|
+
def delete_llm_obs_datasets(project_id, body, opts = {})
|
|
871
|
+
delete_llm_obs_datasets_with_http_info(project_id, body, opts)
|
|
872
|
+
nil
|
|
724
873
|
end
|
|
725
874
|
|
|
726
|
-
#
|
|
875
|
+
# Delete LLM Observability datasets.
|
|
727
876
|
#
|
|
728
|
-
#
|
|
877
|
+
# Delete one or more LLM Observability datasets within the specified project.
|
|
729
878
|
#
|
|
730
879
|
# @param project_id [String] The ID of the LLM Observability project.
|
|
731
|
-
# @param
|
|
880
|
+
# @param body [LLMObsDeleteDatasetsRequest] Delete datasets payload.
|
|
732
881
|
# @param opts [Hash] the optional parameters
|
|
733
|
-
# @
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
# @return [Array<(LLMObsDatasetRecordsListResponse, Integer, Hash)>] LLMObsDatasetRecordsListResponse data, response status code and response headers
|
|
737
|
-
def list_llm_obs_dataset_records_with_http_info(project_id, dataset_id, opts = {})
|
|
738
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.list_llm_obs_dataset_records".to_sym]
|
|
882
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
883
|
+
def delete_llm_obs_datasets_with_http_info(project_id, body, opts = {})
|
|
884
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_datasets".to_sym]
|
|
739
885
|
if unstable_enabled
|
|
740
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.
|
|
886
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_datasets")
|
|
887
|
+
else
|
|
888
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_datasets"))
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
if @api_client.config.debugging
|
|
892
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_datasets ...'
|
|
893
|
+
end
|
|
894
|
+
# verify the required parameter 'project_id' is set
|
|
895
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
896
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling LLMObservabilityAPI.delete_llm_obs_datasets"
|
|
897
|
+
end
|
|
898
|
+
# verify the required parameter 'body' is set
|
|
899
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
900
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_datasets"
|
|
901
|
+
end
|
|
902
|
+
# resource path
|
|
903
|
+
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/delete'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/'))
|
|
904
|
+
|
|
905
|
+
# query parameters
|
|
906
|
+
query_params = opts[:query_params] || {}
|
|
907
|
+
|
|
908
|
+
# header parameters
|
|
909
|
+
header_params = opts[:header_params] || {}
|
|
910
|
+
# HTTP header 'Accept' (if needed)
|
|
911
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
912
|
+
# HTTP header 'Content-Type'
|
|
913
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
914
|
+
|
|
915
|
+
# form parameters
|
|
916
|
+
form_params = opts[:form_params] || {}
|
|
917
|
+
|
|
918
|
+
# http body (model)
|
|
919
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
920
|
+
|
|
921
|
+
# return_type
|
|
922
|
+
return_type = opts[:debug_return_type]
|
|
923
|
+
|
|
924
|
+
# auth_names
|
|
925
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
926
|
+
|
|
927
|
+
new_options = opts.merge(
|
|
928
|
+
:operation => :delete_llm_obs_datasets,
|
|
929
|
+
:header_params => header_params,
|
|
930
|
+
:query_params => query_params,
|
|
931
|
+
:form_params => form_params,
|
|
932
|
+
:body => post_body,
|
|
933
|
+
:auth_names => auth_names,
|
|
934
|
+
:return_type => return_type,
|
|
935
|
+
:api_version => "V2"
|
|
936
|
+
)
|
|
937
|
+
|
|
938
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
939
|
+
if @api_client.config.debugging
|
|
940
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_datasets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
941
|
+
end
|
|
942
|
+
return data, status_code, headers
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
# Delete LLM Observability experiments.
|
|
946
|
+
#
|
|
947
|
+
# @see #delete_llm_obs_experiments_with_http_info
|
|
948
|
+
def delete_llm_obs_experiments(body, opts = {})
|
|
949
|
+
delete_llm_obs_experiments_with_http_info(body, opts)
|
|
950
|
+
nil
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
# Delete LLM Observability experiments.
|
|
954
|
+
#
|
|
955
|
+
# Delete one or more LLM Observability experiments.
|
|
956
|
+
#
|
|
957
|
+
# @param body [LLMObsDeleteExperimentsRequest] Delete experiments payload.
|
|
958
|
+
# @param opts [Hash] the optional parameters
|
|
959
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
960
|
+
def delete_llm_obs_experiments_with_http_info(body, opts = {})
|
|
961
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_experiments".to_sym]
|
|
962
|
+
if unstable_enabled
|
|
963
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_experiments")
|
|
964
|
+
else
|
|
965
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_experiments"))
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
if @api_client.config.debugging
|
|
969
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_experiments ...'
|
|
970
|
+
end
|
|
971
|
+
# verify the required parameter 'body' is set
|
|
972
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
973
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_experiments"
|
|
974
|
+
end
|
|
975
|
+
# resource path
|
|
976
|
+
local_var_path = '/api/v2/llm-obs/v1/experiments/delete'
|
|
977
|
+
|
|
978
|
+
# query parameters
|
|
979
|
+
query_params = opts[:query_params] || {}
|
|
980
|
+
|
|
981
|
+
# header parameters
|
|
982
|
+
header_params = opts[:header_params] || {}
|
|
983
|
+
# HTTP header 'Accept' (if needed)
|
|
984
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
985
|
+
# HTTP header 'Content-Type'
|
|
986
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
987
|
+
|
|
988
|
+
# form parameters
|
|
989
|
+
form_params = opts[:form_params] || {}
|
|
990
|
+
|
|
991
|
+
# http body (model)
|
|
992
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
993
|
+
|
|
994
|
+
# return_type
|
|
995
|
+
return_type = opts[:debug_return_type]
|
|
996
|
+
|
|
997
|
+
# auth_names
|
|
998
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
999
|
+
|
|
1000
|
+
new_options = opts.merge(
|
|
1001
|
+
:operation => :delete_llm_obs_experiments,
|
|
1002
|
+
:header_params => header_params,
|
|
1003
|
+
:query_params => query_params,
|
|
1004
|
+
:form_params => form_params,
|
|
1005
|
+
:body => post_body,
|
|
1006
|
+
:auth_names => auth_names,
|
|
1007
|
+
:return_type => return_type,
|
|
1008
|
+
:api_version => "V2"
|
|
1009
|
+
)
|
|
1010
|
+
|
|
1011
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1012
|
+
if @api_client.config.debugging
|
|
1013
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_experiments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1014
|
+
end
|
|
1015
|
+
return data, status_code, headers
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1018
|
+
# Delete LLM Observability projects.
|
|
1019
|
+
#
|
|
1020
|
+
# @see #delete_llm_obs_projects_with_http_info
|
|
1021
|
+
def delete_llm_obs_projects(body, opts = {})
|
|
1022
|
+
delete_llm_obs_projects_with_http_info(body, opts)
|
|
1023
|
+
nil
|
|
1024
|
+
end
|
|
1025
|
+
|
|
1026
|
+
# Delete LLM Observability projects.
|
|
1027
|
+
#
|
|
1028
|
+
# Delete one or more LLM Observability projects.
|
|
1029
|
+
#
|
|
1030
|
+
# @param body [LLMObsDeleteProjectsRequest] Delete projects payload.
|
|
1031
|
+
# @param opts [Hash] the optional parameters
|
|
1032
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1033
|
+
def delete_llm_obs_projects_with_http_info(body, opts = {})
|
|
1034
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_projects".to_sym]
|
|
1035
|
+
if unstable_enabled
|
|
1036
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_projects")
|
|
1037
|
+
else
|
|
1038
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_projects"))
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
if @api_client.config.debugging
|
|
1042
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_projects ...'
|
|
1043
|
+
end
|
|
1044
|
+
# verify the required parameter 'body' is set
|
|
1045
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1046
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_projects"
|
|
1047
|
+
end
|
|
1048
|
+
# resource path
|
|
1049
|
+
local_var_path = '/api/v2/llm-obs/v1/projects/delete'
|
|
1050
|
+
|
|
1051
|
+
# query parameters
|
|
1052
|
+
query_params = opts[:query_params] || {}
|
|
1053
|
+
|
|
1054
|
+
# header parameters
|
|
1055
|
+
header_params = opts[:header_params] || {}
|
|
1056
|
+
# HTTP header 'Accept' (if needed)
|
|
1057
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1058
|
+
# HTTP header 'Content-Type'
|
|
1059
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1060
|
+
|
|
1061
|
+
# form parameters
|
|
1062
|
+
form_params = opts[:form_params] || {}
|
|
1063
|
+
|
|
1064
|
+
# http body (model)
|
|
1065
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1066
|
+
|
|
1067
|
+
# return_type
|
|
1068
|
+
return_type = opts[:debug_return_type]
|
|
1069
|
+
|
|
1070
|
+
# auth_names
|
|
1071
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1072
|
+
|
|
1073
|
+
new_options = opts.merge(
|
|
1074
|
+
:operation => :delete_llm_obs_projects,
|
|
1075
|
+
:header_params => header_params,
|
|
1076
|
+
:query_params => query_params,
|
|
1077
|
+
:form_params => form_params,
|
|
1078
|
+
:body => post_body,
|
|
1079
|
+
:auth_names => auth_names,
|
|
1080
|
+
:return_type => return_type,
|
|
1081
|
+
:api_version => "V2"
|
|
1082
|
+
)
|
|
1083
|
+
|
|
1084
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1085
|
+
if @api_client.config.debugging
|
|
1086
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1087
|
+
end
|
|
1088
|
+
return data, status_code, headers
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
# Get annotated queue interactions.
|
|
1092
|
+
#
|
|
1093
|
+
# @see #get_llm_obs_annotated_interactions_with_http_info
|
|
1094
|
+
def get_llm_obs_annotated_interactions(queue_id, opts = {})
|
|
1095
|
+
data, _status_code, _headers = get_llm_obs_annotated_interactions_with_http_info(queue_id, opts)
|
|
1096
|
+
data
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
# Get annotated queue interactions.
|
|
1100
|
+
#
|
|
1101
|
+
# Retrieve all interactions and their annotations for a given annotation queue.
|
|
1102
|
+
#
|
|
1103
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1104
|
+
# @param opts [Hash] the optional parameters
|
|
1105
|
+
# @return [Array<(LLMObsAnnotatedInteractionsResponse, Integer, Hash)>] LLMObsAnnotatedInteractionsResponse data, response status code and response headers
|
|
1106
|
+
def get_llm_obs_annotated_interactions_with_http_info(queue_id, opts = {})
|
|
1107
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.get_llm_obs_annotated_interactions".to_sym]
|
|
1108
|
+
if unstable_enabled
|
|
1109
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_llm_obs_annotated_interactions")
|
|
1110
|
+
else
|
|
1111
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_llm_obs_annotated_interactions"))
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
if @api_client.config.debugging
|
|
1115
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.get_llm_obs_annotated_interactions ...'
|
|
1116
|
+
end
|
|
1117
|
+
# verify the required parameter 'queue_id' is set
|
|
1118
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1119
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.get_llm_obs_annotated_interactions"
|
|
1120
|
+
end
|
|
1121
|
+
# resource path
|
|
1122
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
1123
|
+
|
|
1124
|
+
# query parameters
|
|
1125
|
+
query_params = opts[:query_params] || {}
|
|
1126
|
+
|
|
1127
|
+
# header parameters
|
|
1128
|
+
header_params = opts[:header_params] || {}
|
|
1129
|
+
# HTTP header 'Accept' (if needed)
|
|
1130
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1131
|
+
|
|
1132
|
+
# form parameters
|
|
1133
|
+
form_params = opts[:form_params] || {}
|
|
1134
|
+
|
|
1135
|
+
# http body (model)
|
|
1136
|
+
post_body = opts[:debug_body]
|
|
1137
|
+
|
|
1138
|
+
# return_type
|
|
1139
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotatedInteractionsResponse'
|
|
1140
|
+
|
|
1141
|
+
# auth_names
|
|
1142
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1143
|
+
|
|
1144
|
+
new_options = opts.merge(
|
|
1145
|
+
:operation => :get_llm_obs_annotated_interactions,
|
|
1146
|
+
:header_params => header_params,
|
|
1147
|
+
:query_params => query_params,
|
|
1148
|
+
:form_params => form_params,
|
|
1149
|
+
:body => post_body,
|
|
1150
|
+
:auth_names => auth_names,
|
|
1151
|
+
:return_type => return_type,
|
|
1152
|
+
:api_version => "V2"
|
|
1153
|
+
)
|
|
1154
|
+
|
|
1155
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1156
|
+
if @api_client.config.debugging
|
|
1157
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#get_llm_obs_annotated_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1158
|
+
end
|
|
1159
|
+
return data, status_code, headers
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
# Get a custom evaluator configuration.
|
|
1163
|
+
#
|
|
1164
|
+
# @see #get_llm_obs_custom_eval_config_with_http_info
|
|
1165
|
+
def get_llm_obs_custom_eval_config(eval_name, opts = {})
|
|
1166
|
+
data, _status_code, _headers = get_llm_obs_custom_eval_config_with_http_info(eval_name, opts)
|
|
1167
|
+
data
|
|
1168
|
+
end
|
|
1169
|
+
|
|
1170
|
+
# Get a custom evaluator configuration.
|
|
1171
|
+
#
|
|
1172
|
+
# Retrieve a custom LLM Observability evaluator configuration by its name.
|
|
1173
|
+
#
|
|
1174
|
+
# @param eval_name [String] The name of the custom LLM Observability evaluator configuration.
|
|
1175
|
+
# @param opts [Hash] the optional parameters
|
|
1176
|
+
# @return [Array<(LLMObsCustomEvalConfigResponse, Integer, Hash)>] LLMObsCustomEvalConfigResponse data, response status code and response headers
|
|
1177
|
+
def get_llm_obs_custom_eval_config_with_http_info(eval_name, opts = {})
|
|
1178
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.get_llm_obs_custom_eval_config".to_sym]
|
|
1179
|
+
if unstable_enabled
|
|
1180
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_llm_obs_custom_eval_config")
|
|
1181
|
+
else
|
|
1182
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_llm_obs_custom_eval_config"))
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
if @api_client.config.debugging
|
|
1186
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.get_llm_obs_custom_eval_config ...'
|
|
1187
|
+
end
|
|
1188
|
+
# verify the required parameter 'eval_name' is set
|
|
1189
|
+
if @api_client.config.client_side_validation && eval_name.nil?
|
|
1190
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling LLMObservabilityAPI.get_llm_obs_custom_eval_config"
|
|
1191
|
+
end
|
|
1192
|
+
# resource path
|
|
1193
|
+
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
1194
|
+
|
|
1195
|
+
# query parameters
|
|
1196
|
+
query_params = opts[:query_params] || {}
|
|
1197
|
+
|
|
1198
|
+
# header parameters
|
|
1199
|
+
header_params = opts[:header_params] || {}
|
|
1200
|
+
# HTTP header 'Accept' (if needed)
|
|
1201
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1202
|
+
|
|
1203
|
+
# form parameters
|
|
1204
|
+
form_params = opts[:form_params] || {}
|
|
1205
|
+
|
|
1206
|
+
# http body (model)
|
|
1207
|
+
post_body = opts[:debug_body]
|
|
1208
|
+
|
|
1209
|
+
# return_type
|
|
1210
|
+
return_type = opts[:debug_return_type] || 'LLMObsCustomEvalConfigResponse'
|
|
1211
|
+
|
|
1212
|
+
# auth_names
|
|
1213
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1214
|
+
|
|
1215
|
+
new_options = opts.merge(
|
|
1216
|
+
:operation => :get_llm_obs_custom_eval_config,
|
|
1217
|
+
:header_params => header_params,
|
|
1218
|
+
:query_params => query_params,
|
|
1219
|
+
:form_params => form_params,
|
|
1220
|
+
:body => post_body,
|
|
1221
|
+
:auth_names => auth_names,
|
|
1222
|
+
:return_type => return_type,
|
|
1223
|
+
:api_version => "V2"
|
|
1224
|
+
)
|
|
1225
|
+
|
|
1226
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1227
|
+
if @api_client.config.debugging
|
|
1228
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#get_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1229
|
+
end
|
|
1230
|
+
return data, status_code, headers
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# List LLM Observability annotation queues.
|
|
1234
|
+
#
|
|
1235
|
+
# @see #list_llm_obs_annotation_queues_with_http_info
|
|
1236
|
+
def list_llm_obs_annotation_queues(opts = {})
|
|
1237
|
+
data, _status_code, _headers = list_llm_obs_annotation_queues_with_http_info(opts)
|
|
1238
|
+
data
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
# List LLM Observability annotation queues.
|
|
1242
|
+
#
|
|
1243
|
+
# List annotation queues. Optionally filter by project ID or queue IDs. These parameters are mutually exclusive.
|
|
1244
|
+
# If neither is provided, all queues in the organization are returned.
|
|
1245
|
+
#
|
|
1246
|
+
# @param opts [Hash] the optional parameters
|
|
1247
|
+
# @option opts [String] :project_id Filter annotation queues by project ID. Cannot be used together with `queueIds`.
|
|
1248
|
+
# @option opts [Array<String>] :queue_ids Filter annotation queues by queue IDs (comma-separated). Cannot be used together with `projectId`.
|
|
1249
|
+
# @return [Array<(LLMObsAnnotationQueuesResponse, Integer, Hash)>] LLMObsAnnotationQueuesResponse data, response status code and response headers
|
|
1250
|
+
def list_llm_obs_annotation_queues_with_http_info(opts = {})
|
|
1251
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.list_llm_obs_annotation_queues".to_sym]
|
|
1252
|
+
if unstable_enabled
|
|
1253
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_llm_obs_annotation_queues")
|
|
1254
|
+
else
|
|
1255
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_llm_obs_annotation_queues"))
|
|
1256
|
+
end
|
|
1257
|
+
|
|
1258
|
+
if @api_client.config.debugging
|
|
1259
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.list_llm_obs_annotation_queues ...'
|
|
1260
|
+
end
|
|
1261
|
+
# resource path
|
|
1262
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues'
|
|
1263
|
+
|
|
1264
|
+
# query parameters
|
|
1265
|
+
query_params = opts[:query_params] || {}
|
|
1266
|
+
query_params[:'projectId'] = opts[:'project_id'] if !opts[:'project_id'].nil?
|
|
1267
|
+
query_params[:'queueIds'] = @api_client.build_collection_param(opts[:'queue_ids'], :multi) if !opts[:'queue_ids'].nil?
|
|
1268
|
+
|
|
1269
|
+
# header parameters
|
|
1270
|
+
header_params = opts[:header_params] || {}
|
|
1271
|
+
# HTTP header 'Accept' (if needed)
|
|
1272
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1273
|
+
|
|
1274
|
+
# form parameters
|
|
1275
|
+
form_params = opts[:form_params] || {}
|
|
1276
|
+
|
|
1277
|
+
# http body (model)
|
|
1278
|
+
post_body = opts[:debug_body]
|
|
1279
|
+
|
|
1280
|
+
# return_type
|
|
1281
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueuesResponse'
|
|
1282
|
+
|
|
1283
|
+
# auth_names
|
|
1284
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1285
|
+
|
|
1286
|
+
new_options = opts.merge(
|
|
1287
|
+
:operation => :list_llm_obs_annotation_queues,
|
|
1288
|
+
:header_params => header_params,
|
|
1289
|
+
:query_params => query_params,
|
|
1290
|
+
:form_params => form_params,
|
|
1291
|
+
:body => post_body,
|
|
1292
|
+
:auth_names => auth_names,
|
|
1293
|
+
:return_type => return_type,
|
|
1294
|
+
:api_version => "V2"
|
|
1295
|
+
)
|
|
1296
|
+
new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
|
|
1297
|
+
|
|
1298
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1299
|
+
if @api_client.config.debugging
|
|
1300
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#list_llm_obs_annotation_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1301
|
+
end
|
|
1302
|
+
return data, status_code, headers
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
# List LLM Observability dataset records.
|
|
1306
|
+
#
|
|
1307
|
+
# @see #list_llm_obs_dataset_records_with_http_info
|
|
1308
|
+
def list_llm_obs_dataset_records(project_id, dataset_id, opts = {})
|
|
1309
|
+
data, _status_code, _headers = list_llm_obs_dataset_records_with_http_info(project_id, dataset_id, opts)
|
|
1310
|
+
data
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1313
|
+
# List LLM Observability dataset records.
|
|
1314
|
+
#
|
|
1315
|
+
# List all records in an LLM Observability dataset, sorted by creation date, newest first.
|
|
1316
|
+
#
|
|
1317
|
+
# @param project_id [String] The ID of the LLM Observability project.
|
|
1318
|
+
# @param dataset_id [String] The ID of the LLM Observability dataset.
|
|
1319
|
+
# @param opts [Hash] the optional parameters
|
|
1320
|
+
# @option opts [Integer] :filter_version Retrieve records from a specific dataset version. Defaults to the current version.
|
|
1321
|
+
# @option opts [String] :page_cursor Use the Pagination cursor to retrieve the next page of results.
|
|
1322
|
+
# @option opts [Integer] :page_limit Maximum number of results to return per page.
|
|
1323
|
+
# @return [Array<(LLMObsDatasetRecordsListResponse, Integer, Hash)>] LLMObsDatasetRecordsListResponse data, response status code and response headers
|
|
1324
|
+
def list_llm_obs_dataset_records_with_http_info(project_id, dataset_id, opts = {})
|
|
1325
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.list_llm_obs_dataset_records".to_sym]
|
|
1326
|
+
if unstable_enabled
|
|
1327
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_llm_obs_dataset_records")
|
|
741
1328
|
else
|
|
742
1329
|
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_llm_obs_dataset_records"))
|
|
743
1330
|
end
|
|
@@ -1026,6 +1613,162 @@ module DatadogAPIClient::V2
|
|
|
1026
1613
|
return data, status_code, headers
|
|
1027
1614
|
end
|
|
1028
1615
|
|
|
1616
|
+
# Update an LLM Observability annotation queue.
|
|
1617
|
+
#
|
|
1618
|
+
# @see #update_llm_obs_annotation_queue_with_http_info
|
|
1619
|
+
def update_llm_obs_annotation_queue(queue_id, body, opts = {})
|
|
1620
|
+
data, _status_code, _headers = update_llm_obs_annotation_queue_with_http_info(queue_id, body, opts)
|
|
1621
|
+
data
|
|
1622
|
+
end
|
|
1623
|
+
|
|
1624
|
+
# Update an LLM Observability annotation queue.
|
|
1625
|
+
#
|
|
1626
|
+
# Partially update an annotation queue. Only `name` and `description` can be updated.
|
|
1627
|
+
#
|
|
1628
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1629
|
+
# @param body [LLMObsAnnotationQueueUpdateRequest] Update annotation queue payload.
|
|
1630
|
+
# @param opts [Hash] the optional parameters
|
|
1631
|
+
# @return [Array<(LLMObsAnnotationQueueResponse, Integer, Hash)>] LLMObsAnnotationQueueResponse data, response status code and response headers
|
|
1632
|
+
def update_llm_obs_annotation_queue_with_http_info(queue_id, body, opts = {})
|
|
1633
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.update_llm_obs_annotation_queue".to_sym]
|
|
1634
|
+
if unstable_enabled
|
|
1635
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_llm_obs_annotation_queue")
|
|
1636
|
+
else
|
|
1637
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_llm_obs_annotation_queue"))
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1640
|
+
if @api_client.config.debugging
|
|
1641
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.update_llm_obs_annotation_queue ...'
|
|
1642
|
+
end
|
|
1643
|
+
# verify the required parameter 'queue_id' is set
|
|
1644
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1645
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.update_llm_obs_annotation_queue"
|
|
1646
|
+
end
|
|
1647
|
+
# verify the required parameter 'body' is set
|
|
1648
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1649
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.update_llm_obs_annotation_queue"
|
|
1650
|
+
end
|
|
1651
|
+
# resource path
|
|
1652
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
1653
|
+
|
|
1654
|
+
# query parameters
|
|
1655
|
+
query_params = opts[:query_params] || {}
|
|
1656
|
+
|
|
1657
|
+
# header parameters
|
|
1658
|
+
header_params = opts[:header_params] || {}
|
|
1659
|
+
# HTTP header 'Accept' (if needed)
|
|
1660
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1661
|
+
# HTTP header 'Content-Type'
|
|
1662
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1663
|
+
|
|
1664
|
+
# form parameters
|
|
1665
|
+
form_params = opts[:form_params] || {}
|
|
1666
|
+
|
|
1667
|
+
# http body (model)
|
|
1668
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1669
|
+
|
|
1670
|
+
# return_type
|
|
1671
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueueResponse'
|
|
1672
|
+
|
|
1673
|
+
# auth_names
|
|
1674
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1675
|
+
|
|
1676
|
+
new_options = opts.merge(
|
|
1677
|
+
:operation => :update_llm_obs_annotation_queue,
|
|
1678
|
+
:header_params => header_params,
|
|
1679
|
+
:query_params => query_params,
|
|
1680
|
+
:form_params => form_params,
|
|
1681
|
+
:body => post_body,
|
|
1682
|
+
:auth_names => auth_names,
|
|
1683
|
+
:return_type => return_type,
|
|
1684
|
+
:api_version => "V2"
|
|
1685
|
+
)
|
|
1686
|
+
|
|
1687
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
1688
|
+
if @api_client.config.debugging
|
|
1689
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#update_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1690
|
+
end
|
|
1691
|
+
return data, status_code, headers
|
|
1692
|
+
end
|
|
1693
|
+
|
|
1694
|
+
# Create or update a custom evaluator configuration.
|
|
1695
|
+
#
|
|
1696
|
+
# @see #update_llm_obs_custom_eval_config_with_http_info
|
|
1697
|
+
def update_llm_obs_custom_eval_config(eval_name, body, opts = {})
|
|
1698
|
+
update_llm_obs_custom_eval_config_with_http_info(eval_name, body, opts)
|
|
1699
|
+
nil
|
|
1700
|
+
end
|
|
1701
|
+
|
|
1702
|
+
# Create or update a custom evaluator configuration.
|
|
1703
|
+
#
|
|
1704
|
+
# Create or update a custom LLM Observability evaluator configuration by its name.
|
|
1705
|
+
#
|
|
1706
|
+
# @param eval_name [String] The name of the custom LLM Observability evaluator configuration.
|
|
1707
|
+
# @param body [LLMObsCustomEvalConfigUpdateRequest] Custom evaluator configuration payload.
|
|
1708
|
+
# @param opts [Hash] the optional parameters
|
|
1709
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1710
|
+
def update_llm_obs_custom_eval_config_with_http_info(eval_name, body, opts = {})
|
|
1711
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.update_llm_obs_custom_eval_config".to_sym]
|
|
1712
|
+
if unstable_enabled
|
|
1713
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_llm_obs_custom_eval_config")
|
|
1714
|
+
else
|
|
1715
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_llm_obs_custom_eval_config"))
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
if @api_client.config.debugging
|
|
1719
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.update_llm_obs_custom_eval_config ...'
|
|
1720
|
+
end
|
|
1721
|
+
# verify the required parameter 'eval_name' is set
|
|
1722
|
+
if @api_client.config.client_side_validation && eval_name.nil?
|
|
1723
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling LLMObservabilityAPI.update_llm_obs_custom_eval_config"
|
|
1724
|
+
end
|
|
1725
|
+
# verify the required parameter 'body' is set
|
|
1726
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1727
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.update_llm_obs_custom_eval_config"
|
|
1728
|
+
end
|
|
1729
|
+
# resource path
|
|
1730
|
+
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
1731
|
+
|
|
1732
|
+
# query parameters
|
|
1733
|
+
query_params = opts[:query_params] || {}
|
|
1734
|
+
|
|
1735
|
+
# header parameters
|
|
1736
|
+
header_params = opts[:header_params] || {}
|
|
1737
|
+
# HTTP header 'Accept' (if needed)
|
|
1738
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
1739
|
+
# HTTP header 'Content-Type'
|
|
1740
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1741
|
+
|
|
1742
|
+
# form parameters
|
|
1743
|
+
form_params = opts[:form_params] || {}
|
|
1744
|
+
|
|
1745
|
+
# http body (model)
|
|
1746
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1747
|
+
|
|
1748
|
+
# return_type
|
|
1749
|
+
return_type = opts[:debug_return_type]
|
|
1750
|
+
|
|
1751
|
+
# auth_names
|
|
1752
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1753
|
+
|
|
1754
|
+
new_options = opts.merge(
|
|
1755
|
+
:operation => :update_llm_obs_custom_eval_config,
|
|
1756
|
+
:header_params => header_params,
|
|
1757
|
+
:query_params => query_params,
|
|
1758
|
+
:form_params => form_params,
|
|
1759
|
+
:body => post_body,
|
|
1760
|
+
:auth_names => auth_names,
|
|
1761
|
+
:return_type => return_type,
|
|
1762
|
+
:api_version => "V2"
|
|
1763
|
+
)
|
|
1764
|
+
|
|
1765
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
1766
|
+
if @api_client.config.debugging
|
|
1767
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#update_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1768
|
+
end
|
|
1769
|
+
return data, status_code, headers
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1029
1772
|
# Update an LLM Observability dataset.
|
|
1030
1773
|
#
|
|
1031
1774
|
# @see #update_llm_obs_dataset_with_http_info
|