datadog_api_client 2.53.0 → 2.54.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 +2514 -18
- data/.generator/schemas/v2/openapi.yaml +17639 -617
- data/CHANGELOG.md +55 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +1 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +1 -0
- data/examples/v1/dashboards/CreateDashboard_2049446128.rb +42 -0
- data/examples/v2/agentless-scanning/CreateAwsScanOptions.rb +1 -0
- data/examples/v2/app-builder/CreatePublishRequest.rb +15 -0
- data/examples/v2/app-builder/ListAppVersions.rb +5 -0
- data/examples/v2/app-builder/RevertApp.rb +5 -0
- data/examples/v2/app-builder/UpdateAppFavorite.rb +14 -0
- data/examples/v2/app-builder/UpdateAppSelfService.rb +14 -0
- data/examples/v2/app-builder/UpdateAppTags.rb +17 -0
- data/examples/v2/app-builder/UpdateAppVersionName.rb +14 -0
- data/examples/v2/app-builder/UpdateProtectionLevel.rb +14 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCommitmentList.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCoverageScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCoverageTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsOnDemandHotspotsScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsSavingsScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsSavingsTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsUtilizationScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsUtilizationTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCostAnomaly.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCostTagKey.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAnomalies.rb +8 -0
- data/examples/v2/cloud-cost-management/ListCostOCIConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTagDescriptions.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTagKeys.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTags.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCustomAllocationRulesStatus.rb +5 -0
- data/examples/v2/cloud-cost-management/ListTagPipelinesRulesetsStatus.rb +5 -0
- data/examples/v2/compliance/GetRuleBasedView.rb +8 -0
- data/examples/v2/feature-flags/ListFeatureFlags.rb +4 -1
- data/examples/v2/key-management/Validate.rb +8 -0
- data/examples/v2/key-management/ValidateAPIKey.rb +5 -0
- data/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.rb +23 -1
- data/examples/v2/llm-observability/GetLLMObsAnnotationQueueLabelSchema.rb +8 -0
- data/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.rb +22 -0
- data/examples/v2/llm-observability/UpdateLLMObsAnnotationQueueLabelSchema.rb +38 -0
- data/examples/v2/logs-archives/CreateLogsArchive.rb +1 -0
- data/examples/v2/logs-archives/UpdateLogsArchive.rb +1 -0
- data/examples/v2/organizations/ListOrgs.rb +5 -0
- data/examples/v2/security-monitoring/BulkDeleteSecurityMonitoringRules.rb +17 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings.rb +33 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings_298521544.rb +31 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings_3830190821.rb +32 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule_2609327779.rb +2 -2
- data/examples/v2/status-pages/CreateBackfilledDegradation.rb +53 -0
- data/examples/v2/status-pages/CreateBackfilledMaintenance.rb +42 -0
- data/examples/v2/status-pages/CreateStatusPage.rb +0 -1
- data/examples/v2/status-pages/PublishStatusPage.rb +3 -3
- data/examples/v2/status-pages/UnpublishStatusPage.rb +1 -4
- data/examples/v2/storage-management/UpsertSyncConfig.rb +34 -0
- data/examples/v2/synthetics/AddTestToSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/CreateSyntheticsDowntime.rb +31 -0
- data/examples/v2/synthetics/DeleteSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/GetSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/ListSyntheticsDowntimes.rb +5 -0
- data/examples/v2/synthetics/RemoveTestFromSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/UpdateSyntheticsDowntime.rb +31 -0
- data/examples/v2/test-optimization/DeleteTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/test-optimization/GetFlakyTestsManagementPolicies.rb +0 -3
- data/examples/v2/test-optimization/GetTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/test-optimization/SearchFlakyTests.rb +0 -3
- data/examples/v2/test-optimization/SearchFlakyTests_1224086727.rb +0 -3
- data/examples/v2/test-optimization/UpdateFlakyTests.rb +0 -3
- data/examples/v2/test-optimization/UpdateFlakyTestsManagementPolicies.rb +0 -3
- data/examples/v2/test-optimization/UpdateTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/users/DeleteUserInvitations.rb +5 -0
- data/examples/v2/users/GetCurrentUser.rb +5 -0
- data/examples/v2/users/UpdateCurrentUser.rb +15 -0
- data/examples/v2/web-integrations/CreateWebIntegrationAccount.rb +19 -0
- data/examples/v2/web-integrations/DeleteWebIntegrationAccount.rb +8 -0
- data/examples/v2/web-integrations/GetWebIntegrationAccount.rb +8 -0
- data/examples/v2/web-integrations/ListWebIntegrationAccounts.rb +8 -0
- data/examples/v2/web-integrations/UpdateWebIntegrationAccount.rb +19 -0
- data/lib/datadog_api_client/configuration.rb +20 -12
- data/lib/datadog_api_client/inflector.rb +213 -16
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/models/azure_account.rb +11 -1
- data/lib/datadog_api_client/v1/models/data_projection_query.rb +166 -0
- data/lib/datadog_api_client/v1/models/data_projection_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +4 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/point_plot_dimension.rb +29 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection.rb +158 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection_dimension.rb +154 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_definition.rb +240 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_legend.rb +123 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_legend_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_request.rb +175 -0
- data/lib/datadog_api_client/v1/models/sankey_rum_data_source.rb +1 -1
- data/lib/datadog_api_client/v1/models/sankey_rum_query.rb +3 -3
- data/lib/datadog_api_client/v1/models/sankey_rum_query_mode.rb +1 -1
- data/lib/datadog_api_client/v1/models/sankey_rum_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +23 -3
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +121 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +121 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +121 -1
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
- data/lib/datadog_api_client/v2/api/app_builder_api.rb +578 -0
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +1580 -173
- data/lib/datadog_api_client/v2/api/compliance_api.rb +111 -0
- data/lib/datadog_api_client/v2/api/key_management_api.rb +129 -0
- data/lib/datadog_api_client/v2/api/llm_observability_api.rb +159 -5
- data/lib/datadog_api_client/v2/api/metrics_api.rb +9 -5
- data/lib/datadog_api_client/v2/api/organizations_api.rb +62 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +143 -0
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +149 -1
- data/lib/datadog_api_client/v2/api/storage_management_api.rb +93 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +473 -0
- data/lib/datadog_api_client/v2/api/test_optimization_api.rb +0 -42
- data/lib/datadog_api_client/v2/api/users_api.rb +201 -0
- data/lib/datadog_api_client/v2/api/web_integrations_api.rb +410 -0
- data/lib/datadog_api_client/v2/api/widgets_api.rb +13 -4
- data/lib/datadog_api_client/v2/models/apm_dependency_stats_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/apm_metrics_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/apm_resource_stats_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/{security_monitoring_rule_new_value_options_forget_after.rb → app_favorite_type.rb} +3 -8
- data/lib/datadog_api_client/v2/models/{security_monitoring_rule_new_value_options_learning_duration.rb → app_protection_level.rb} +4 -6
- data/lib/datadog_api_client/v2/models/app_protection_level_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/app_self_service_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{incident_team_type.rb → app_tags_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{incident_team_response_data.rb → app_version.rb} +10 -20
- data/lib/datadog_api_client/v2/models/app_version_attributes.rb +185 -0
- data/lib/datadog_api_client/v2/models/app_version_name_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/app_version_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb +22 -1
- data/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/cloud_inventory_cloud_provider_id.rb +28 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_cloud_provider_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_attributes.rb +396 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_aws_request_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_azure_request_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_gcp_request_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_ec2_ri_commitment.rb +298 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_elasticache_ri_commitment.rb +267 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_rdsri_commitment.rb +277 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb +215 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb +194 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_vmri_commitment.rb +268 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_vmri_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/commitments_commitment_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_coverage_scalar_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/commitments_coverage_timeseries_response.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_team_included_items.rb → commitments_list_item.rb} +8 -3
- data/lib/datadog_api_client/v2/models/commitments_list_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/commitments_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/commitments_on_demand_hotspots_scalar_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/commitments_on_demand_hotspots_scalar_response.rb +158 -0
- data/lib/datadog_api_client/v2/models/commitments_provider.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_savings_scalar_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/commitments_savings_timeseries_response.rb +186 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column.rb +177 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_timeseries_metric.rb +156 -0
- data/lib/datadog_api_client/v2/models/commitments_unit.rb +228 -0
- data/lib/datadog_api_client/v2/models/commitments_utilization_scalar_product_breakdown_entry.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_teams_response.rb → commitments_utilization_scalar_response.rb} +26 -36
- data/lib/datadog_api_client/v2/models/commitments_utilization_timeseries_response.rb +156 -0
- data/lib/datadog_api_client/v2/models/container_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/container_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/cost_anomalies_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data_attributes.rb +209 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly.rb +319 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_dismissal.rb +207 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_source.rb +28 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tag_descriptions_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key_attributes.rb +156 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key_details.rb +146 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_request.rb → cost_tag_key_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/cost_tag_key_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tag_keys_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/cost_tag_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tags_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_data.rb → create_backfilled_degradation_request_data.rb} +8 -18
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request_data_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request_data_attributes_updates_items.rb +166 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_data.rb → create_backfilled_maintenance_request_data.rb} +8 -28
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request_data_attributes.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes_updates_items_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/create_publish_request_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_relationships.rb → create_publish_request_request_data.rb} +18 -18
- data/lib/datadog_api_client/v2/models/create_publish_request_request_data_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/create_status_page_request_data_attributes.rb +1 -22
- data/lib/datadog_api_client/v2/models/events_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/events_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/feature_flag_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/feature_flag_environment.rb +1 -38
- data/lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb +246 -0
- data/lib/datadog_api_client/v2/models/feature_flag_list_item.rb +165 -0
- data/lib/datadog_api_client/v2/models/feature_flag_list_item_attributes.rb +332 -0
- data/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +1 -0
- data/lib/datadog_api_client/v2/models/issue_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/issue_regression.rb +154 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes.rb +24 -1
- data/lib/datadog_api_client/v2/models/list_app_versions_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/list_feature_flags_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_request.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_response.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_attributes_request.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_schema.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_interaction_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/llm_obs_label_schema.rb +246 -0
- data/lib/datadog_api_client/v2/models/llm_obs_label_schema_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/logs_archive_attributes_compression_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/managed_orgs_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_request.rb → managed_orgs_relationship_to_org.rb} +5 -5
- data/lib/datadog_api_client/v2/models/managed_orgs_relationship_to_orgs.rb +125 -0
- data/lib/datadog_api_client/v2/models/managed_orgs_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_team_response.rb → managed_orgs_response.rb} +19 -8
- data/lib/datadog_api_client/v2/models/managed_orgs_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/mute_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/mute_findings_mute_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/mute_findings_reason.rb +34 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/mute_findings_response_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination.rb +263 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_auth.rb +133 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/oci_config.rb +165 -0
- data/lib/datadog_api_client/v2/models/oci_config_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/oci_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/oci_configs_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_attributes.rb +270 -0
- data/lib/datadog_api_client/v2/models/org_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_membership_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_pagination_links.rb +154 -0
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta.rb +3 -21
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta_page.rb +86 -24
- data/lib/datadog_api_client/v2/models/org_group_policy_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_policy_override_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/process_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/process_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/publish_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/routing_rule_action.rb +2 -1
- data/lib/datadog_api_client/v2/models/rule_based_view_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_compliance_framework.rb +155 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule.rb +339 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule_category.rb +28 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule_stats.rb +165 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_entity_risk_score_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_attributes.rb +129 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_payload.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +41 -4
- data/lib/datadog_api_client/v2/models/slo_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_attributes_request.rb +212 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_attributes_response.rb +360 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_frequency.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_date.rb +207 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_recurrence_request.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_recurrence_response.rb +177 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_request.rb +185 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_response.rb +206 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_weekday.rb +32 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtimes_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/trigger_workflow_automation_action.rb +144 -0
- data/lib/datadog_api_client/v2/models/trigger_workflow_automation_action_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/update_app_version_name_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_version_name_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_attributes.rb → update_app_version_name_request_data_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +15 -14
- data/lib/datadog_api_client/v2/models/user_update_attributes.rb +27 -6
- data/lib/datadog_api_client/v2/models/validate_api_key_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/validate_api_key_status.rb +26 -0
- data/lib/datadog_api_client/v2/models/validate_v2_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/validate_v2_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/validate_v2_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/validate_v2_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request_attributes.rb +166 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_attributes.rb → web_integration_account_response_attributes.rb} +17 -7
- data/lib/datadog_api_client/v2/models/web_integration_account_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{incident_team_response_attributes.rb → web_integration_account_update_request_attributes.rb} +25 -24
- data/lib/datadog_api_client/v2/models/web_integration_account_update_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/web_integration_accounts_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/widget_attributes.rb +5 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +268 -22
- data/examples/v2/incident-teams/CreateIncidentTeam.rb +0 -17
- data/examples/v2/incident-teams/DeleteIncidentTeam.rb +0 -11
- data/examples/v2/incident-teams/GetIncidentTeam.rb +0 -11
- data/examples/v2/incident-teams/ListIncidentTeams.rb +0 -14
- data/examples/v2/incident-teams/UpdateIncidentTeam.rb +0 -21
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +0 -419
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'cgi'
|
|
17
|
+
|
|
18
|
+
module DatadogAPIClient::V2
|
|
19
|
+
class ComplianceAPI
|
|
20
|
+
attr_accessor :api_client
|
|
21
|
+
|
|
22
|
+
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
|
23
|
+
@api_client = api_client
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Get the rule-based view of compliance findings.
|
|
27
|
+
#
|
|
28
|
+
# @see #get_rule_based_view_with_http_info
|
|
29
|
+
def get_rule_based_view(to, opts = {})
|
|
30
|
+
data, _status_code, _headers = get_rule_based_view_with_http_info(to, opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Get the rule-based view of compliance findings.
|
|
35
|
+
#
|
|
36
|
+
# Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
|
|
37
|
+
# Supports filtering by compliance framework, framework version, and additional query filters.
|
|
38
|
+
#
|
|
39
|
+
# @param to [Integer] Timestamp of the query end, in milliseconds since the Unix epoch.
|
|
40
|
+
# @param opts [Hash] the optional parameters
|
|
41
|
+
# @option opts [String] :framework Compliance framework handle to filter rules and findings by.
|
|
42
|
+
# @option opts [String] :version Version of the compliance framework to filter rules and findings by.
|
|
43
|
+
# @option opts [Boolean] :query_findings_without_framework_version When `true`, returns findings without a `framework_version` tag. Used for findings from custom frameworks or those created before framework versioning was introduced.
|
|
44
|
+
# @option opts [Boolean] :include_rules_without_findings When `true`, includes rules in the response that have no associated findings.
|
|
45
|
+
# @option opts [Boolean] :is_custom Set to `true` when the requested `framework` is a custom framework.
|
|
46
|
+
# @option opts [String] :query Additional event-platform filters applied to the underlying findings query. For example, `scored:true project_id:datadog-prod-us5`.
|
|
47
|
+
# @return [Array<(RuleBasedViewResponse, Integer, Hash)>] RuleBasedViewResponse data, response status code and response headers
|
|
48
|
+
def get_rule_based_view_with_http_info(to, opts = {})
|
|
49
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.get_rule_based_view".to_sym]
|
|
50
|
+
if unstable_enabled
|
|
51
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_rule_based_view")
|
|
52
|
+
else
|
|
53
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_rule_based_view"))
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
if @api_client.config.debugging
|
|
57
|
+
@api_client.config.logger.debug 'Calling API: ComplianceAPI.get_rule_based_view ...'
|
|
58
|
+
end
|
|
59
|
+
# verify the required parameter 'to' is set
|
|
60
|
+
if @api_client.config.client_side_validation && to.nil?
|
|
61
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling ComplianceAPI.get_rule_based_view"
|
|
62
|
+
end
|
|
63
|
+
# resource path
|
|
64
|
+
local_var_path = '/api/v2/compliance_findings/rule_based_view'
|
|
65
|
+
|
|
66
|
+
# query parameters
|
|
67
|
+
query_params = opts[:query_params] || {}
|
|
68
|
+
query_params[:'to'] = to
|
|
69
|
+
query_params[:'framework'] = opts[:'framework'] if !opts[:'framework'].nil?
|
|
70
|
+
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
|
71
|
+
query_params[:'query_findings_without_framework_version'] = opts[:'query_findings_without_framework_version'] if !opts[:'query_findings_without_framework_version'].nil?
|
|
72
|
+
query_params[:'include_rules_without_findings'] = opts[:'include_rules_without_findings'] if !opts[:'include_rules_without_findings'].nil?
|
|
73
|
+
query_params[:'is_custom'] = opts[:'is_custom'] if !opts[:'is_custom'].nil?
|
|
74
|
+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
75
|
+
|
|
76
|
+
# header parameters
|
|
77
|
+
header_params = opts[:header_params] || {}
|
|
78
|
+
# HTTP header 'Accept' (if needed)
|
|
79
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
80
|
+
|
|
81
|
+
# form parameters
|
|
82
|
+
form_params = opts[:form_params] || {}
|
|
83
|
+
|
|
84
|
+
# http body (model)
|
|
85
|
+
post_body = opts[:debug_body]
|
|
86
|
+
|
|
87
|
+
# return_type
|
|
88
|
+
return_type = opts[:debug_return_type] || 'RuleBasedViewResponse'
|
|
89
|
+
|
|
90
|
+
# auth_names
|
|
91
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
92
|
+
|
|
93
|
+
new_options = opts.merge(
|
|
94
|
+
:operation => :get_rule_based_view,
|
|
95
|
+
:header_params => header_params,
|
|
96
|
+
:query_params => query_params,
|
|
97
|
+
:form_params => form_params,
|
|
98
|
+
:body => post_body,
|
|
99
|
+
:auth_names => auth_names,
|
|
100
|
+
:return_type => return_type,
|
|
101
|
+
:api_version => "V2"
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
105
|
+
if @api_client.config.debugging
|
|
106
|
+
@api_client.config.logger.debug "API called: ComplianceAPI#get_rule_based_view\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
107
|
+
end
|
|
108
|
+
return data, status_code, headers
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
@@ -1354,5 +1354,134 @@ module DatadogAPIClient::V2
|
|
|
1354
1354
|
end
|
|
1355
1355
|
return data, status_code, headers
|
|
1356
1356
|
end
|
|
1357
|
+
|
|
1358
|
+
# Validate API key.
|
|
1359
|
+
#
|
|
1360
|
+
# @see #validate_with_http_info
|
|
1361
|
+
def validate(opts = {})
|
|
1362
|
+
data, _status_code, _headers = validate_with_http_info(opts)
|
|
1363
|
+
data
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
# Validate API key.
|
|
1367
|
+
#
|
|
1368
|
+
# Check if the API key is valid. Returns the organization UUID, API key ID, and associated scopes.
|
|
1369
|
+
#
|
|
1370
|
+
# @param opts [Hash] the optional parameters
|
|
1371
|
+
# @return [Array<(ValidateV2Response, Integer, Hash)>] ValidateV2Response data, response status code and response headers
|
|
1372
|
+
def validate_with_http_info(opts = {})
|
|
1373
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.validate".to_sym]
|
|
1374
|
+
if unstable_enabled
|
|
1375
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.validate")
|
|
1376
|
+
else
|
|
1377
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.validate"))
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
if @api_client.config.debugging
|
|
1381
|
+
@api_client.config.logger.debug 'Calling API: KeyManagementAPI.validate ...'
|
|
1382
|
+
end
|
|
1383
|
+
# resource path
|
|
1384
|
+
local_var_path = '/api/v2/validate'
|
|
1385
|
+
|
|
1386
|
+
# query parameters
|
|
1387
|
+
query_params = opts[:query_params] || {}
|
|
1388
|
+
|
|
1389
|
+
# header parameters
|
|
1390
|
+
header_params = opts[:header_params] || {}
|
|
1391
|
+
# HTTP header 'Accept' (if needed)
|
|
1392
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1393
|
+
|
|
1394
|
+
# form parameters
|
|
1395
|
+
form_params = opts[:form_params] || {}
|
|
1396
|
+
|
|
1397
|
+
# http body (model)
|
|
1398
|
+
post_body = opts[:debug_body]
|
|
1399
|
+
|
|
1400
|
+
# return_type
|
|
1401
|
+
return_type = opts[:debug_return_type] || 'ValidateV2Response'
|
|
1402
|
+
|
|
1403
|
+
# auth_names
|
|
1404
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth]
|
|
1405
|
+
|
|
1406
|
+
new_options = opts.merge(
|
|
1407
|
+
:operation => :validate,
|
|
1408
|
+
:header_params => header_params,
|
|
1409
|
+
:query_params => query_params,
|
|
1410
|
+
:form_params => form_params,
|
|
1411
|
+
:body => post_body,
|
|
1412
|
+
:auth_names => auth_names,
|
|
1413
|
+
:return_type => return_type,
|
|
1414
|
+
:api_version => "V2"
|
|
1415
|
+
)
|
|
1416
|
+
|
|
1417
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1418
|
+
if @api_client.config.debugging
|
|
1419
|
+
@api_client.config.logger.debug "API called: KeyManagementAPI#validate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1420
|
+
end
|
|
1421
|
+
return data, status_code, headers
|
|
1422
|
+
end
|
|
1423
|
+
|
|
1424
|
+
# Validate API and application keys.
|
|
1425
|
+
#
|
|
1426
|
+
# @see #validate_api_key_with_http_info
|
|
1427
|
+
def validate_api_key(opts = {})
|
|
1428
|
+
data, _status_code, _headers = validate_api_key_with_http_info(opts)
|
|
1429
|
+
data
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
# Validate API and application keys.
|
|
1433
|
+
#
|
|
1434
|
+
# Check that the API key and application key used for the request are both valid.
|
|
1435
|
+
# Returns `{"status": "ok"}` on success, `401` or `403` otherwise. Useful as a
|
|
1436
|
+
# lightweight authentication probe before issuing other API calls that require
|
|
1437
|
+
# full credentials.
|
|
1438
|
+
#
|
|
1439
|
+
# @param opts [Hash] the optional parameters
|
|
1440
|
+
# @return [Array<(ValidateAPIKeyResponse, Integer, Hash)>] ValidateAPIKeyResponse data, response status code and response headers
|
|
1441
|
+
def validate_api_key_with_http_info(opts = {})
|
|
1442
|
+
|
|
1443
|
+
if @api_client.config.debugging
|
|
1444
|
+
@api_client.config.logger.debug 'Calling API: KeyManagementAPI.validate_api_key ...'
|
|
1445
|
+
end
|
|
1446
|
+
# resource path
|
|
1447
|
+
local_var_path = '/api/v2/validate_keys'
|
|
1448
|
+
|
|
1449
|
+
# query parameters
|
|
1450
|
+
query_params = opts[:query_params] || {}
|
|
1451
|
+
|
|
1452
|
+
# header parameters
|
|
1453
|
+
header_params = opts[:header_params] || {}
|
|
1454
|
+
# HTTP header 'Accept' (if needed)
|
|
1455
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1456
|
+
|
|
1457
|
+
# form parameters
|
|
1458
|
+
form_params = opts[:form_params] || {}
|
|
1459
|
+
|
|
1460
|
+
# http body (model)
|
|
1461
|
+
post_body = opts[:debug_body]
|
|
1462
|
+
|
|
1463
|
+
# return_type
|
|
1464
|
+
return_type = opts[:debug_return_type] || 'ValidateAPIKeyResponse'
|
|
1465
|
+
|
|
1466
|
+
# auth_names
|
|
1467
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1468
|
+
|
|
1469
|
+
new_options = opts.merge(
|
|
1470
|
+
:operation => :validate_api_key,
|
|
1471
|
+
:header_params => header_params,
|
|
1472
|
+
:query_params => query_params,
|
|
1473
|
+
:form_params => form_params,
|
|
1474
|
+
:body => post_body,
|
|
1475
|
+
:auth_names => auth_names,
|
|
1476
|
+
:return_type => return_type,
|
|
1477
|
+
:api_version => "V2"
|
|
1478
|
+
)
|
|
1479
|
+
|
|
1480
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1481
|
+
if @api_client.config.debugging
|
|
1482
|
+
@api_client.config.logger.debug "API called: KeyManagementAPI#validate_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1483
|
+
end
|
|
1484
|
+
return data, status_code, headers
|
|
1485
|
+
end
|
|
1357
1486
|
end
|
|
1358
1487
|
end
|
|
@@ -33,8 +33,10 @@ module DatadogAPIClient::V2
|
|
|
33
33
|
|
|
34
34
|
# Create an LLM Observability annotation queue.
|
|
35
35
|
#
|
|
36
|
-
# Create
|
|
37
|
-
#
|
|
36
|
+
# Create an annotation queue. The `name` and `project_id` fields are required.
|
|
37
|
+
# An optional `annotation_schema` can be provided to define the labels for the queue.
|
|
38
|
+
# Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`,
|
|
39
|
+
# and `modified_at` are inferred by the backend.
|
|
38
40
|
#
|
|
39
41
|
# @param body [LLMObsAnnotationQueueRequest] Create annotation queue payload.
|
|
40
42
|
# @param opts [Hash] the optional parameters
|
|
@@ -107,7 +109,7 @@ module DatadogAPIClient::V2
|
|
|
107
109
|
|
|
108
110
|
# Add annotation queue interactions.
|
|
109
111
|
#
|
|
110
|
-
# Add one or more interactions (traces) to an annotation queue.
|
|
112
|
+
# Add one or more interactions (traces or sessions) to an annotation queue.
|
|
111
113
|
# At least one interaction must be provided.
|
|
112
114
|
#
|
|
113
115
|
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
@@ -1098,7 +1100,7 @@ module DatadogAPIClient::V2
|
|
|
1098
1100
|
|
|
1099
1101
|
# Get annotated queue interactions.
|
|
1100
1102
|
#
|
|
1101
|
-
# Retrieve all interactions and their annotations for a given annotation queue.
|
|
1103
|
+
# Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
|
|
1102
1104
|
#
|
|
1103
1105
|
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1104
1106
|
# @param opts [Hash] the optional parameters
|
|
@@ -1159,6 +1161,77 @@ module DatadogAPIClient::V2
|
|
|
1159
1161
|
return data, status_code, headers
|
|
1160
1162
|
end
|
|
1161
1163
|
|
|
1164
|
+
# Get annotation queue label schema.
|
|
1165
|
+
#
|
|
1166
|
+
# @see #get_llm_obs_annotation_queue_label_schema_with_http_info
|
|
1167
|
+
def get_llm_obs_annotation_queue_label_schema(queue_id, opts = {})
|
|
1168
|
+
data, _status_code, _headers = get_llm_obs_annotation_queue_label_schema_with_http_info(queue_id, opts)
|
|
1169
|
+
data
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
# Get annotation queue label schema.
|
|
1173
|
+
#
|
|
1174
|
+
# Retrieve the label schema for a given annotation queue.
|
|
1175
|
+
#
|
|
1176
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1177
|
+
# @param opts [Hash] the optional parameters
|
|
1178
|
+
# @return [Array<(LLMObsAnnotationQueueLabelSchemaResponse, Integer, Hash)>] LLMObsAnnotationQueueLabelSchemaResponse data, response status code and response headers
|
|
1179
|
+
def get_llm_obs_annotation_queue_label_schema_with_http_info(queue_id, opts = {})
|
|
1180
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.get_llm_obs_annotation_queue_label_schema".to_sym]
|
|
1181
|
+
if unstable_enabled
|
|
1182
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_llm_obs_annotation_queue_label_schema")
|
|
1183
|
+
else
|
|
1184
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_llm_obs_annotation_queue_label_schema"))
|
|
1185
|
+
end
|
|
1186
|
+
|
|
1187
|
+
if @api_client.config.debugging
|
|
1188
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.get_llm_obs_annotation_queue_label_schema ...'
|
|
1189
|
+
end
|
|
1190
|
+
# verify the required parameter 'queue_id' is set
|
|
1191
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1192
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.get_llm_obs_annotation_queue_label_schema"
|
|
1193
|
+
end
|
|
1194
|
+
# resource path
|
|
1195
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/label-schema'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
1196
|
+
|
|
1197
|
+
# query parameters
|
|
1198
|
+
query_params = opts[:query_params] || {}
|
|
1199
|
+
|
|
1200
|
+
# header parameters
|
|
1201
|
+
header_params = opts[:header_params] || {}
|
|
1202
|
+
# HTTP header 'Accept' (if needed)
|
|
1203
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1204
|
+
|
|
1205
|
+
# form parameters
|
|
1206
|
+
form_params = opts[:form_params] || {}
|
|
1207
|
+
|
|
1208
|
+
# http body (model)
|
|
1209
|
+
post_body = opts[:debug_body]
|
|
1210
|
+
|
|
1211
|
+
# return_type
|
|
1212
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueueLabelSchemaResponse'
|
|
1213
|
+
|
|
1214
|
+
# auth_names
|
|
1215
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1216
|
+
|
|
1217
|
+
new_options = opts.merge(
|
|
1218
|
+
:operation => :get_llm_obs_annotation_queue_label_schema,
|
|
1219
|
+
:header_params => header_params,
|
|
1220
|
+
:query_params => query_params,
|
|
1221
|
+
:form_params => form_params,
|
|
1222
|
+
:body => post_body,
|
|
1223
|
+
:auth_names => auth_names,
|
|
1224
|
+
:return_type => return_type,
|
|
1225
|
+
:api_version => "V2"
|
|
1226
|
+
)
|
|
1227
|
+
|
|
1228
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1229
|
+
if @api_client.config.debugging
|
|
1230
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#get_llm_obs_annotation_queue_label_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1231
|
+
end
|
|
1232
|
+
return data, status_code, headers
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1162
1235
|
# Get a custom evaluator configuration.
|
|
1163
1236
|
#
|
|
1164
1237
|
# @see #get_llm_obs_custom_eval_config_with_http_info
|
|
@@ -1623,7 +1696,7 @@ module DatadogAPIClient::V2
|
|
|
1623
1696
|
|
|
1624
1697
|
# Update an LLM Observability annotation queue.
|
|
1625
1698
|
#
|
|
1626
|
-
# Partially update an annotation queue.
|
|
1699
|
+
# Partially update an annotation queue. The `name`, `description`, and `annotation_schema` fields can be updated.
|
|
1627
1700
|
#
|
|
1628
1701
|
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1629
1702
|
# @param body [LLMObsAnnotationQueueUpdateRequest] Update annotation queue payload.
|
|
@@ -1691,6 +1764,87 @@ module DatadogAPIClient::V2
|
|
|
1691
1764
|
return data, status_code, headers
|
|
1692
1765
|
end
|
|
1693
1766
|
|
|
1767
|
+
# Update annotation queue label schema.
|
|
1768
|
+
#
|
|
1769
|
+
# @see #update_llm_obs_annotation_queue_label_schema_with_http_info
|
|
1770
|
+
def update_llm_obs_annotation_queue_label_schema(queue_id, body, opts = {})
|
|
1771
|
+
data, _status_code, _headers = update_llm_obs_annotation_queue_label_schema_with_http_info(queue_id, body, opts)
|
|
1772
|
+
data
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
# Update annotation queue label schema.
|
|
1776
|
+
#
|
|
1777
|
+
# Create or replace the label schema for a given annotation queue.
|
|
1778
|
+
# The label schema defines the labels annotators can apply to interactions in the queue.
|
|
1779
|
+
# Label names must be unique within the queue and match the pattern `^[a-zA-Z0-9_-]+$`.
|
|
1780
|
+
# Each label must have a valid type: score, categorical, boolean, or text.
|
|
1781
|
+
#
|
|
1782
|
+
# @param queue_id [String] The ID of the LLM Observability annotation queue.
|
|
1783
|
+
# @param body [LLMObsAnnotationQueueLabelSchemaUpdateRequest] Update label schema payload.
|
|
1784
|
+
# @param opts [Hash] the optional parameters
|
|
1785
|
+
# @return [Array<(LLMObsAnnotationQueueLabelSchemaResponse, Integer, Hash)>] LLMObsAnnotationQueueLabelSchemaResponse data, response status code and response headers
|
|
1786
|
+
def update_llm_obs_annotation_queue_label_schema_with_http_info(queue_id, body, opts = {})
|
|
1787
|
+
unstable_enabled = @api_client.config.unstable_operations["v2.update_llm_obs_annotation_queue_label_schema".to_sym]
|
|
1788
|
+
if unstable_enabled
|
|
1789
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_llm_obs_annotation_queue_label_schema")
|
|
1790
|
+
else
|
|
1791
|
+
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_llm_obs_annotation_queue_label_schema"))
|
|
1792
|
+
end
|
|
1793
|
+
|
|
1794
|
+
if @api_client.config.debugging
|
|
1795
|
+
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.update_llm_obs_annotation_queue_label_schema ...'
|
|
1796
|
+
end
|
|
1797
|
+
# verify the required parameter 'queue_id' is set
|
|
1798
|
+
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1799
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling LLMObservabilityAPI.update_llm_obs_annotation_queue_label_schema"
|
|
1800
|
+
end
|
|
1801
|
+
# verify the required parameter 'body' is set
|
|
1802
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1803
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.update_llm_obs_annotation_queue_label_schema"
|
|
1804
|
+
end
|
|
1805
|
+
# resource path
|
|
1806
|
+
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/label-schema'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
1807
|
+
|
|
1808
|
+
# query parameters
|
|
1809
|
+
query_params = opts[:query_params] || {}
|
|
1810
|
+
|
|
1811
|
+
# header parameters
|
|
1812
|
+
header_params = opts[:header_params] || {}
|
|
1813
|
+
# HTTP header 'Accept' (if needed)
|
|
1814
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1815
|
+
# HTTP header 'Content-Type'
|
|
1816
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1817
|
+
|
|
1818
|
+
# form parameters
|
|
1819
|
+
form_params = opts[:form_params] || {}
|
|
1820
|
+
|
|
1821
|
+
# http body (model)
|
|
1822
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1823
|
+
|
|
1824
|
+
# return_type
|
|
1825
|
+
return_type = opts[:debug_return_type] || 'LLMObsAnnotationQueueLabelSchemaResponse'
|
|
1826
|
+
|
|
1827
|
+
# auth_names
|
|
1828
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1829
|
+
|
|
1830
|
+
new_options = opts.merge(
|
|
1831
|
+
:operation => :update_llm_obs_annotation_queue_label_schema,
|
|
1832
|
+
:header_params => header_params,
|
|
1833
|
+
:query_params => query_params,
|
|
1834
|
+
:form_params => form_params,
|
|
1835
|
+
:body => post_body,
|
|
1836
|
+
:auth_names => auth_names,
|
|
1837
|
+
:return_type => return_type,
|
|
1838
|
+
:api_version => "V2"
|
|
1839
|
+
)
|
|
1840
|
+
|
|
1841
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
1842
|
+
if @api_client.config.debugging
|
|
1843
|
+
@api_client.config.logger.debug "API called: LLMObservabilityAPI#update_llm_obs_annotation_queue_label_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1844
|
+
end
|
|
1845
|
+
return data, status_code, headers
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1694
1848
|
# Create or update a custom evaluator configuration.
|
|
1695
1849
|
#
|
|
1696
1850
|
# @see #update_llm_obs_custom_eval_config_with_http_info
|
|
@@ -323,7 +323,7 @@ module DatadogAPIClient::V2
|
|
|
323
323
|
#
|
|
324
324
|
# @param metric_name [String] The name of the metric.
|
|
325
325
|
# @param opts [Hash] the optional parameters
|
|
326
|
-
# @option opts [String] :filter_groups
|
|
326
|
+
# @option opts [String] :filter_groups Comma-separated list of tag keys that the metric is configured to query with. For example: `filter[groups]=app,host`.
|
|
327
327
|
# @option opts [Integer] :filter_hours_ago The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
|
|
328
328
|
# @option opts [Integer] :filter_num_aggregations Deprecated. Number of aggregations has no impact on volume.
|
|
329
329
|
# @option opts [Boolean] :filter_pct A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
|
|
@@ -670,17 +670,19 @@ module DatadogAPIClient::V2
|
|
|
670
670
|
#
|
|
671
671
|
# Get a list of actively reporting metrics for your organization. Pagination is optional using the `page[cursor]` and `page[size]` query parameters.
|
|
672
672
|
#
|
|
673
|
+
# Query parameters use bracket notation (for example, `filter[tags]`, `filter[queried][window][seconds]`). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: `GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500`.
|
|
674
|
+
#
|
|
673
675
|
# @param opts [Hash] the optional parameters
|
|
674
676
|
# @option opts [Boolean] :filter_configured Only return custom metrics that have been configured with Metrics Without Limits.
|
|
675
677
|
# @option opts [String] :filter_tags_configured Only return metrics that have the given tag key(s) in their Metrics Without Limits configuration (included or excluded).
|
|
676
678
|
# @option opts [MetricTagConfigurationMetricTypeCategory] :filter_metric_type Only return metrics of the given metric type.
|
|
677
679
|
# @option opts [Boolean] :filter_include_percentiles Only return distribution metrics that have percentile aggregations enabled (true) or disabled (false).
|
|
678
680
|
# @option opts [Boolean] :filter_queried Only return metrics that have been queried (true) or not queried (false) in the look back window. Set the window with `filter[queried][window][seconds]`; if omitted, a default window is used.
|
|
679
|
-
# @option opts [Integer] :filter_queried_window_seconds Only return metrics that have been queried or not queried in the specified window.
|
|
680
|
-
# @option opts [String] :filter_tags Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards
|
|
681
|
+
# @option opts [Integer] :filter_queried_window_seconds This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
|
|
682
|
+
# @option opts [String] :filter_tags Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
|
|
681
683
|
# @option opts [Boolean] :filter_related_assets Only return metrics that are used in at least one dashboard, monitor, notebook, or SLO.
|
|
682
684
|
# @option opts [Integer] :window_seconds Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
|
|
683
|
-
# @option opts [Integer] :page_size Maximum number of results per page.
|
|
685
|
+
# @option opts [Integer] :page_size Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination. On each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
|
|
684
686
|
# @option opts [String] :page_cursor Cursor for pagination. Use `page[size]` to opt-in to pagination and get the first page; for subsequent pages, use the value from `meta.pagination.next_cursor` in the response. Pagination is complete when `next_cursor` is null.
|
|
685
687
|
# @return [Array<(MetricsAndMetricTagConfigurationsResponse, Integer, Hash)>] MetricsAndMetricTagConfigurationsResponse data, response status code and response headers
|
|
686
688
|
def list_tag_configurations_with_http_info(opts = {})
|
|
@@ -877,12 +879,13 @@ module DatadogAPIClient::V2
|
|
|
877
879
|
|
|
878
880
|
# List distinct metric volumes by metric name.
|
|
879
881
|
#
|
|
880
|
-
# View
|
|
882
|
+
# View hourly average metric volumes for the given metric name over the look back period.
|
|
881
883
|
#
|
|
882
884
|
# Custom metrics generated in-app from other products will return `null` for ingested volumes.
|
|
883
885
|
#
|
|
884
886
|
# @param metric_name [String] The name of the metric.
|
|
885
887
|
# @param opts [Hash] the optional parameters
|
|
888
|
+
# @option opts [Integer] :window_seconds The number of seconds of look back (from now). Default value is 3,600 (1 hour), maximum value is 2,592,000 (1 month).
|
|
886
889
|
# @return [Array<(MetricVolumesResponse, Integer, Hash)>] MetricVolumesResponse data, response status code and response headers
|
|
887
890
|
def list_volumes_by_metric_name_with_http_info(metric_name, opts = {})
|
|
888
891
|
|
|
@@ -898,6 +901,7 @@ module DatadogAPIClient::V2
|
|
|
898
901
|
|
|
899
902
|
# query parameters
|
|
900
903
|
query_params = opts[:query_params] || {}
|
|
904
|
+
query_params[:'window[seconds]'] = opts[:'window_seconds'] if !opts[:'window_seconds'].nil?
|
|
901
905
|
|
|
902
906
|
# header parameters
|
|
903
907
|
header_params = opts[:header_params] || {}
|
|
@@ -148,6 +148,68 @@ module DatadogAPIClient::V2
|
|
|
148
148
|
return data, status_code, headers
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
+
# List your managed organizations.
|
|
152
|
+
#
|
|
153
|
+
# @see #list_orgs_with_http_info
|
|
154
|
+
def list_orgs(opts = {})
|
|
155
|
+
data, _status_code, _headers = list_orgs_with_http_info(opts)
|
|
156
|
+
data
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# List your managed organizations.
|
|
160
|
+
#
|
|
161
|
+
# Returns the current organization and its managed organizations in JSON:API format.
|
|
162
|
+
#
|
|
163
|
+
# @param opts [Hash] the optional parameters
|
|
164
|
+
# @option opts [String] :filter_name Filter managed organizations by name.
|
|
165
|
+
# @return [Array<(ManagedOrgsResponse, Integer, Hash)>] ManagedOrgsResponse data, response status code and response headers
|
|
166
|
+
def list_orgs_with_http_info(opts = {})
|
|
167
|
+
|
|
168
|
+
if @api_client.config.debugging
|
|
169
|
+
@api_client.config.logger.debug 'Calling API: OrganizationsAPI.list_orgs ...'
|
|
170
|
+
end
|
|
171
|
+
# resource path
|
|
172
|
+
local_var_path = '/api/v2/org'
|
|
173
|
+
|
|
174
|
+
# query parameters
|
|
175
|
+
query_params = opts[:query_params] || {}
|
|
176
|
+
query_params[:'filter[name]'] = opts[:'filter_name'] if !opts[:'filter_name'].nil?
|
|
177
|
+
|
|
178
|
+
# header parameters
|
|
179
|
+
header_params = opts[:header_params] || {}
|
|
180
|
+
# HTTP header 'Accept' (if needed)
|
|
181
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
182
|
+
|
|
183
|
+
# form parameters
|
|
184
|
+
form_params = opts[:form_params] || {}
|
|
185
|
+
|
|
186
|
+
# http body (model)
|
|
187
|
+
post_body = opts[:debug_body]
|
|
188
|
+
|
|
189
|
+
# return_type
|
|
190
|
+
return_type = opts[:debug_return_type] || 'ManagedOrgsResponse'
|
|
191
|
+
|
|
192
|
+
# auth_names
|
|
193
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
|
194
|
+
|
|
195
|
+
new_options = opts.merge(
|
|
196
|
+
:operation => :list_orgs,
|
|
197
|
+
:header_params => header_params,
|
|
198
|
+
:query_params => query_params,
|
|
199
|
+
:form_params => form_params,
|
|
200
|
+
:body => post_body,
|
|
201
|
+
:auth_names => auth_names,
|
|
202
|
+
:return_type => return_type,
|
|
203
|
+
:api_version => "V2"
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
207
|
+
if @api_client.config.debugging
|
|
208
|
+
@api_client.config.logger.debug "API called: OrganizationsAPI#list_orgs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
209
|
+
end
|
|
210
|
+
return data, status_code, headers
|
|
211
|
+
end
|
|
212
|
+
|
|
151
213
|
# Update a specific Org Config.
|
|
152
214
|
#
|
|
153
215
|
# @see #update_org_config_with_http_info
|