datadog_api_client 2.50.0 → 2.51.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 +347 -59
- data/.generator/schemas/v2/openapi.yaml +8140 -1112
- data/.github/workflows/docs.yml +2 -0
- data/CHANGELOG.md +35 -0
- data/examples/v1/dashboards/CreateDashboard_1024858348.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_1307120899.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_2064651578.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_2490110261.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_2800096921.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_3066042014.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_3451918078.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_3669695268.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_4018282928.rb +47 -0
- data/examples/v1/dashboards/CreateDashboard_4262729673.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_578885732.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_607525069.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_732700533.rb +46 -0
- data/examples/v1/dashboards/CreateDashboard_9836563.rb +0 -1
- data/examples/v1/dashboards/CreateDashboard_985012506.rb +0 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +1 -0
- data/examples/v1/synthetics/GetMobileTest.rb +2 -5
- data/examples/v1/synthetics/GetMobileTest_212471226.rb +8 -0
- data/examples/v1/synthetics/UpdateMobileTest.rb +84 -16
- data/examples/v1/synthetics/UpdateMobileTest_477498912.rb +30 -0
- data/examples/v2/change-management/CreateChangeRequest.rb +29 -0
- data/examples/v2/change-management/CreateChangeRequestBranch.rb +18 -0
- data/examples/v2/change-management/DeleteChangeRequestDecision.rb +8 -0
- data/examples/v2/change-management/GetChangeRequest.rb +8 -0
- data/examples/v2/change-management/UpdateChangeRequest.rb +50 -0
- data/examples/v2/change-management/UpdateChangeRequestDecision.rb +45 -0
- data/examples/v2/cloud-authentication/CreateAWSCloudAuthPersonaMapping.rb +18 -0
- data/examples/v2/cloud-authentication/DeleteAWSCloudAuthPersonaMapping.rb +8 -0
- data/examples/v2/cloud-authentication/GetAWSCloudAuthPersonaMapping.rb +8 -0
- data/examples/v2/cloud-authentication/ListAWSCloudAuthPersonaMappings.rb +8 -0
- data/examples/v2/dora-metrics/CreateDORAFailure.rb +1 -1
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +1 -1
- data/examples/v2/dora-metrics/DeleteDORAFailure.rb +2 -2
- data/examples/v2/dora-metrics/DeleteDORAFailure_3462074974.rb +5 -0
- data/examples/v2/dora-metrics/GetDORAFailure.rb +1 -1
- data/examples/v2/dora-metrics/ListDORAFailures.rb +6 -4
- data/examples/v2/dora-metrics/ListDORAFailures_3269988848.rb +16 -0
- data/examples/v2/google-chat-integration/CreateOrganizationHandle.rb +15 -0
- data/examples/v2/google-chat-integration/DeleteOrganizationHandle.rb +8 -0
- data/examples/v2/google-chat-integration/GetOrganizationHandle.rb +8 -0
- data/examples/v2/google-chat-integration/GetSpaceByDisplayName.rb +5 -0
- data/examples/v2/google-chat-integration/ListOrganizationHandles.rb +5 -0
- data/examples/v2/google-chat-integration/UpdateOrganizationHandle.rb +18 -0
- data/examples/v2/incidents/ImportIncident.rb +18 -0
- data/examples/v2/integrations/ListIntegrations.rb +5 -0
- data/examples/v2/llm-observability/CreateLLMObsDataset.rb +17 -0
- data/examples/v2/llm-observability/CreateLLMObsDatasetRecords.rb +22 -0
- data/examples/v2/llm-observability/CreateLLMObsExperiment.rb +19 -0
- data/examples/v2/llm-observability/CreateLLMObsExperimentEvents.rb +49 -0
- data/examples/v2/llm-observability/CreateLLMObsProject.rb +17 -0
- data/examples/v2/llm-observability/DeleteLLMObsDatasetRecords.rb +19 -0
- data/examples/v2/llm-observability/DeleteLLMObsDatasets.rb +19 -0
- data/examples/v2/llm-observability/DeleteLLMObsExperiments.rb +19 -0
- data/examples/v2/llm-observability/DeleteLLMObsProjects.rb +19 -0
- data/examples/v2/llm-observability/ListLLMObsDatasetRecords.rb +8 -0
- data/examples/v2/llm-observability/ListLLMObsDatasets.rb +8 -0
- data/examples/v2/llm-observability/ListLLMObsExperiments.rb +8 -0
- data/examples/v2/llm-observability/ListLLMObsProjects.rb +8 -0
- data/examples/v2/llm-observability/UpdateLLMObsDataset.rb +15 -0
- data/examples/v2/llm-observability/UpdateLLMObsDatasetRecords.rb +23 -0
- data/examples/v2/llm-observability/UpdateLLMObsExperiment.rb +15 -0
- data/examples/v2/llm-observability/UpdateLLMObsProject.rb +15 -0
- data/examples/v2/network-device-monitoring/ListInterfaceUserTags.rb +5 -0
- data/examples/v2/network-device-monitoring/UpdateInterfaceUserTags.rb +18 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_1330454428.rb +50 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_2899320203.rb +54 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_3024756866.rb +89 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_3565101276.rb +55 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsScalar.rb +26 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsTimeseries.rb +26 -0
- data/examples/v2/roles/CreateRole.rb +1 -0
- data/examples/v2/seats/AssignSeatsUser.rb +20 -0
- data/examples/v2/seats/GetSeatsUsers.rb +8 -0
- data/examples/v2/seats/UnassignSeatsUser.rb +20 -0
- data/examples/v2/status-pages/CreateMaintenance.rb +25 -0
- data/examples/v2/status-pages/CreateMaintenance_2202276054.rb +29 -0
- data/examples/v2/status-pages/GetMaintenance.rb +11 -0
- data/examples/v2/status-pages/ListMaintenances.rb +5 -0
- data/examples/v2/status-pages/UpdateMaintenance.rb +22 -0
- data/examples/v2/synthetics/CreateSyntheticsNetworkTest.rb +46 -0
- data/examples/v2/synthetics/CreateSyntheticsSuite.rb +1 -1
- data/examples/v2/synthetics/DeleteSyntheticsSuites.rb +1 -1
- data/examples/v2/synthetics/DeleteSyntheticsTests.rb +16 -0
- data/examples/v2/synthetics/EditSyntheticsSuite.rb +1 -1
- data/examples/v2/synthetics/GetSyntheticsNetworkTest.rb +5 -0
- data/examples/v2/synthetics/GetSyntheticsSuite.rb +1 -1
- data/examples/v2/synthetics/SearchSuites.rb +1 -1
- data/examples/v2/synthetics/SearchSuites_2539131170.rb +5 -0
- data/examples/v2/synthetics/UpdateSyntheticsNetworkTest.rb +67 -0
- data/examples/v2/usage-metering/GetUsageAttributionTypes.rb +5 -0
- data/lib/datadog_api_client/configuration.rb +28 -0
- data/lib/datadog_api_client/inflector.rb +293 -4
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +6 -6
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +4 -6
- data/lib/datadog_api_client/v1/models/bar_chart_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/change_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +3 -5
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_config.rb +63 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_fields.rb +145 -0
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +2 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +4 -2
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +0 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -2
- data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_without_steps.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +11 -1
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_event.rb +3 -0
- data/lib/datadog_api_client/v1/models/widget_histogram_request_type.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_new_fixed_span.rb +2 -2
- data/lib/datadog_api_client/v2/api/change_management_api.rb +485 -0
- data/lib/datadog_api_client/v2/api/cloud_authentication_api.rb +307 -0
- data/lib/datadog_api_client/v2/api/code_coverage_api.rb +0 -4
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +22 -26
- data/lib/datadog_api_client/v2/api/google_chat_integration_api.rb +450 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +77 -0
- data/lib/datadog_api_client/v2/api/integrations_api.rb +83 -0
- data/lib/datadog_api_client/v2/api/llm_observability_api.rb +1351 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +11 -3
- data/lib/datadog_api_client/v2/api/network_device_monitoring_api.rb +137 -0
- data/lib/datadog_api_client/v2/api/product_analytics_api.rb +137 -0
- data/lib/datadog_api_client/v2/api/seats_api.rb +230 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +7 -1
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +303 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +270 -11
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +60 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items_category.rb +1 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_request_data_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/assign_seats_user_response_data_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_attributes_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_create_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mapping_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cloud_auth_persona_mappings_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/azure_storage_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource.rb +7 -1
- data/lib/datadog_api_client/v2/models/change_request_branch_create_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/change_request_branch_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/change_request_branch_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/change_request_branch_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/change_request_change_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/change_request_create_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/change_request_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/change_request_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_create_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_create_item.rb +164 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_create_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_relationships.rb +165 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_response_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_status_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_update_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_update_data_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_update_data_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/change_request_decision_update_request.rb +135 -0
- data/lib/datadog_api_client/v2/models/change_request_decisions_relationship.rb +125 -0
- data/lib/datadog_api_client/v2/models/change_request_included_decision.rb +175 -0
- data/lib/datadog_api_client/v2/models/change_request_included_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/change_request_included_user.rb +165 -0
- data/lib/datadog_api_client/v2/models/change_request_included_user_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/change_request_relationships.rb +165 -0
- data/lib/datadog_api_client/v2/models/change_request_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/change_request_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/change_request_response_attributes.rb +508 -0
- data/lib/datadog_api_client/v2/models/change_request_response_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/change_request_risk_level.rb +29 -0
- data/lib/datadog_api_client/v2/models/change_request_update_attributes.rb +155 -0
- data/lib/datadog_api_client/v2/models/change_request_update_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/change_request_update_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/change_request_update_request.rb +135 -0
- data/lib/datadog_api_client/v2/models/change_request_user_relationship.rb +113 -0
- data/lib/datadog_api_client/v2/models/change_request_user_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes.rb +196 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/degradation.rb +1 -1
- data/lib/datadog_api_client/v2/models/degradation_array.rb +2 -2
- data/lib/datadog_api_client/v2/models/degradation_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/degradation_data_attributes_source.rb +165 -0
- data/lib/datadog_api_client/v2/models/degradation_data_attributes_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/degradation_data_attributes_updates_items.rb +11 -1
- data/lib/datadog_api_client/v2/models/{degradation_array_included.rb → degradation_included.rb} +1 -1
- data/lib/datadog_api_client/v2/models/deleted_test_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/deleted_test_response_data_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_request_delete.rb +143 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_request_delete_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_request_delete_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/deleted_tests_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_patch_remediation.rb +5 -34
- data/lib/datadog_api_client/v2/models/dora_deployment_patch_remediation_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_deployment_patch_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_failure_fetch_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_failure_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +8 -8
- data/lib/datadog_api_client/v2/models/dora_failure_request_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_failure_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/dora_failure_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/dora_failure_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_failures_list_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_incident_object.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_list_failures_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_list_failures_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_list_failures_request_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/form_trigger.rb +105 -0
- data/lib/datadog_api_client/v2/models/form_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/google_chat_app_named_space_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/google_chat_app_named_space_response_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/google_chat_app_named_space_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/google_chat_app_named_space_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/google_chat_create_organization_handle_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/google_chat_create_organization_handle_request_attributes.rb +152 -0
- data/lib/datadog_api_client/v2/models/google_chat_create_organization_handle_request_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/google_chat_organization_handle_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/google_chat_organization_handle_response_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/google_chat_organization_handle_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/google_chat_organization_handle_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/google_chat_organization_handles_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/google_chat_update_organization_handle_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/google_chat_update_organization_handle_request_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/google_chat_update_organization_handle_request_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_import_field_attributes.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_import_field_attributes_multiple_value.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_import_field_attributes_single_value.rb +88 -0
- data/lib/datadog_api_client/v2/models/incident_import_related_object.rb +30 -0
- data/lib/datadog_api_client/v2/models/incident_import_relationships.rb +124 -0
- data/lib/datadog_api_client/v2/models/incident_import_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_import_request_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/incident_import_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/incident_import_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_import_response_attributes.rb +378 -0
- data/lib/datadog_api_client/v2/models/incident_import_response_data.rb +164 -0
- data/lib/datadog_api_client/v2/models/incident_import_response_included_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_import_response_relationships.rb +203 -0
- data/lib/datadog_api_client/v2/models/incident_import_visibility.rb +27 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/integration.rb +175 -0
- data/lib/datadog_api_client/v2/models/integration_attributes.rb +188 -0
- data/lib/datadog_api_client/v2/models/integration_links.rb +105 -0
- data/lib/datadog_api_client/v2/models/integration_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_integrations_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/list_interface_tags_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/list_interface_tags_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_cursor_meta.rb +113 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_attributes_request.rb +143 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_attributes_response.rb +215 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_data_response.rb +226 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_item.rb +134 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_update_item.rb +162 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_data_attributes_request.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_mutation_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_mutation_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_datasets_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_data_attributes_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_event_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_attributes_request.rb +215 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_attributes_response.rb +247 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_events_data_attributes_request.rb +119 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_events_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_events_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_metric.rb +278 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_metric_error.rb +105 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_span.rb +292 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_span_error.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_span_meta.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_span_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_data_attributes_request.rb +115 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_experiments_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_metric_assessment.rb +27 -0
- data/lib/datadog_api_client/v2/models/llm_obs_metric_score_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_attributes_request.rb +133 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_attributes_response.rb +183 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_data_attributes_request.rb +115 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_projects_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/llm_obs_record_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/maintenance.rb +117 -0
- data/lib/datadog_api_client/v2/models/maintenance_array.rb +147 -0
- data/lib/datadog_api_client/v2/models/maintenance_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb +209 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes_updates_items.rb +177 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes_updates_items_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships.rb +125 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_created_by_user.rb +123 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_created_by_user_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_last_modified_by_user.rb +123 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_last_modified_by_user_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_status_page.rb +123 -0
- data/lib/datadog_api_client/v2/models/maintenance_data_relationships_status_page_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/microsoft_sentinel_destination.rb +21 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_data_firehose_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_source.rb +13 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination.rb +21 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb +22 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_reference_table.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluent_bit_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluentd_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_gcp_auth.rb +2 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_chronicle_destination.rb +12 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +2 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_destination.rb +13 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_source.rb +2 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination.rb +53 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb +53 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_server_source.rb +43 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_sasl.rb +23 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_logstash_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_new_relic_destination.rb +21 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor_mapping_mapping.rb +2 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapping_custom.rb +167 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapping_custom_field_mapping.rb +173 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapping_custom_lookup.rb +117 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapping_custom_lookup_table_entry.rb +155 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapping_custom_metadata.rb +156 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_open_search_destination.rb +22 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sentinel_one_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb +21 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_tcp_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_destination.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_source.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_tls.rb +13 -3
- data/lib/datadog_api_client/v2/models/{status_pages_response_meta.rb → pagination_meta.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{status_pages_pagination.rb → pagination_meta_page.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{status_pages_pagination_type.rb → pagination_meta_page_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/patch_maintenance_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_maintenance_request_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/patch_maintenance_request_data_attributes.rb +177 -0
- data/lib/datadog_api_client/v2/models/patch_maintenance_request_data_attributes_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/patch_maintenance_request_data_attributes_components_affected_items_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/patch_maintenance_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_query.rb +191 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_request_attributes.rb +185 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_audience_account_subquery.rb +133 -0
- data/lib/datadog_api_client/v2/models/product_analytics_audience_filters.rb +141 -0
- data/lib/datadog_api_client/v2/models/product_analytics_audience_segment_subquery.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_audience_user_subquery.rb +133 -0
- data/lib/datadog_api_client/v2/models/product_analytics_base_query.rb +65 -0
- data/lib/datadog_api_client/v2/models/product_analytics_compute.rb +143 -0
- data/lib/datadog_api_client/v2/models/product_analytics_event_query.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_event_query_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_event_search.rb +105 -0
- data/lib/datadog_api_client/v2/models/product_analytics_execution_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/product_analytics_group_by.rb +163 -0
- data/lib/datadog_api_client/v2/models/product_analytics_group_by_sort.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_interval.rb +137 -0
- data/lib/datadog_api_client/v2/models/product_analytics_occurrence_filter.rb +154 -0
- data/lib/datadog_api_client/v2/models/product_analytics_occurrence_query.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_occurrence_query_data_source.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_occurrence_search.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_response_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_response_meta_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_column.rb +137 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_column_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_column_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_response_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_scalar_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_serie.rb +129 -0
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response_attributes.rb +143 -0
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_unit.rb +155 -0
- data/lib/datadog_api_client/v2/models/role_attributes.rb +15 -1
- data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +17 -3
- data/lib/datadog_api_client/v2/models/role_create_attributes.rb +17 -3
- data/lib/datadog_api_client/v2/models/role_update_attributes.rb +15 -1
- data/lib/datadog_api_client/v2/models/seat_assignments_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/seat_user_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/seat_user_data_array.rb +117 -0
- data/lib/datadog_api_client/v2/models/seat_user_data_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/seat_user_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/seat_user_meta.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_sort.rb +39 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_sort.rb +1 -0
- data/lib/datadog_api_client/v2/models/status_page_array.rb +1 -1
- data/lib/datadog_api_client/v2/models/status_pages_component_data_attributes_status.rb +1 -0
- data/lib/datadog_api_client/v2/models/status_pages_component_group_attributes_components_items_status.rb +1 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion.rb +65 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_jitter.rb +165 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_jitter_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_latency.rb +186 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_latency_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_multi_network_hop.rb +186 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_multi_network_hop_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_operator.rb +31 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_packet_loss_percentage.rb +173 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_packet_loss_percentage_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_assertion_property.rb +28 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test.rb +284 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_config.rb +117 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_edit.rb +144 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_edit_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_request.rb +237 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_request_tcp_method.rb +28 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_sub_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/synthetics_network_test_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options.rb +226 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options_monitor_options.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options_monitor_options_notification_preset_name.rb +32 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options_retry.rb +117 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options_scheduling.rb +146 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_options_scheduling_timeframe.rb +173 -0
- data/lib/datadog_api_client/v2/models/synthetics_test_pause_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/trigger.rb +1 -0
- data/lib/datadog_api_client/v2/models/unassign_seats_user_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/unassign_seats_user_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/unassign_seats_user_request_data_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/usage_attribution_types_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/usage_attribution_types_body.rb +125 -0
- data/lib/datadog_api_client/v2/models/usage_attribution_types_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/usage_attribution_types_type.rb +26 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +357 -5
|
@@ -129,11 +129,9 @@ module DatadogAPIClient::V1
|
|
|
129
129
|
# cursor := response.metadata.pagination.next_record_id
|
|
130
130
|
# END
|
|
131
131
|
# ```
|
|
132
|
-
# The following values have been **deprecated**:
|
|
133
|
-
# `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`, `llm_observability_usage`, `llm_observability_percentage`.
|
|
134
132
|
#
|
|
135
133
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
|
136
|
-
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
|
|
134
|
+
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve. Usage types are in the format `<usage_type>_usage`. Example: `infra_host_usage` To obtain the complete list of active usage types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
137
135
|
# @param opts [Hash] the optional parameters
|
|
138
136
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
|
139
137
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
|
@@ -154,7 +152,7 @@ module DatadogAPIClient::V1
|
|
|
154
152
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
|
155
153
|
end
|
|
156
154
|
# verify enum value
|
|
157
|
-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'bits_ai_investigations_usage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'code_security_host_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_fargate_task_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'flex_logs_starter', 'flex_stored_logs', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'llm_observability_usage', 'llm_spans_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'network_device_wireless_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'product_analytics_session_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'published_app', 'rum_browser_mobile_sessions_usage', 'rum_ingested_usage', 'rum_investigate_usage', 'rum_replay_sessions_usage', 'rum_session_replay_add_on_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
|
155
|
+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'bits_ai_investigations_usage', 'browser_usage', 'ci_code_coverage_committers_percentage', 'ci_code_coverage_committers_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'code_security_host_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_fargate_task_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'flex_logs_starter', 'flex_stored_logs', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'llm_observability_usage', 'llm_spans_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'network_device_wireless_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'product_analytics_session_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'published_app', 'rum_browser_mobile_sessions_usage', 'rum_ingested_usage', 'rum_investigate_usage', 'rum_replay_sessions_usage', 'rum_session_replay_add_on_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
|
158
156
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
|
159
157
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
|
160
158
|
end
|
|
@@ -457,11 +455,11 @@ module DatadogAPIClient::V1
|
|
|
457
455
|
# ```
|
|
458
456
|
#
|
|
459
457
|
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
|
460
|
-
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
|
458
|
+
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types. Usage types are in the format `<usage_type>_usage` and `<usage_type>_percentage`. Example: `infra_host_usage,infra_host_percentage` To obtain the complete list of usage attribution types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
461
459
|
# @param opts [Hash] the optional parameters
|
|
462
460
|
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
|
463
461
|
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
|
464
|
-
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
|
|
462
|
+
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by. Sort fields are in the format `<usage_type>_usage`. Example: `infra_host_usage` To obtain the complete list of usage attribution types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
465
463
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
|
|
466
464
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
|
467
465
|
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to `true`.
|
|
@@ -48,7 +48,7 @@ module DatadogAPIClient::V1
|
|
|
48
48
|
# The log query.
|
|
49
49
|
attr_accessor :profile_metrics_query
|
|
50
50
|
|
|
51
|
-
# Widget query.
|
|
51
|
+
# Widget query. Deprecated - Use `queries` and `formulas` instead.
|
|
52
52
|
attr_accessor :q
|
|
53
53
|
|
|
54
54
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -57,7 +57,7 @@ module DatadogAPIClient::V1
|
|
|
57
57
|
# The log query.
|
|
58
58
|
attr_accessor :profile_metrics_query
|
|
59
59
|
|
|
60
|
-
# Query definition.
|
|
60
|
+
# Query definition. Deprecated - Use `queries` and `formulas` instead.
|
|
61
61
|
attr_accessor :q
|
|
62
62
|
|
|
63
63
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -45,7 +45,7 @@ module DatadogAPIClient::V1
|
|
|
45
45
|
# The log query.
|
|
46
46
|
attr_accessor :profile_metrics_query
|
|
47
47
|
|
|
48
|
-
# Widget query.
|
|
48
|
+
# Widget query. Deprecated - Use `queries` and `formulas` instead.
|
|
49
49
|
attr_accessor :q
|
|
50
50
|
|
|
51
51
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -54,7 +54,7 @@ module DatadogAPIClient::V1
|
|
|
54
54
|
# Query definition for Distribution Widget Histogram Request
|
|
55
55
|
attr_accessor :query
|
|
56
56
|
|
|
57
|
-
# Request type for
|
|
57
|
+
# Request type for distribution of point values for distribution metrics. Query space aggregator must be `histogram:<metric name>` for points distributions.
|
|
58
58
|
attr_accessor :request_type
|
|
59
59
|
|
|
60
60
|
# Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
|
|
@@ -30,7 +30,7 @@ module DatadogAPIClient::V1
|
|
|
30
30
|
# Data source for event platform-based queries.
|
|
31
31
|
attr_reader :data_source
|
|
32
32
|
|
|
33
|
-
# Group by
|
|
33
|
+
# Group by configuration for a formula and functions events query. Accepts either a list of facet objects or a flat object that specifies a list of facet fields.
|
|
34
34
|
attr_accessor :group_by
|
|
35
35
|
|
|
36
36
|
# An array of index names to query in the stream. Omit or use `[]` to query all indexes at once.
|
|
@@ -69,7 +69,7 @@ module DatadogAPIClient::V1
|
|
|
69
69
|
:'compute' => :'FormulaAndFunctionEventQueryDefinitionCompute',
|
|
70
70
|
:'cross_org_uuids' => :'Array<String>',
|
|
71
71
|
:'data_source' => :'FormulaAndFunctionEventsDataSource',
|
|
72
|
-
:'group_by' => :'
|
|
72
|
+
:'group_by' => :'FormulaAndFunctionEventQueryGroupByConfig',
|
|
73
73
|
:'indexes' => :'Array<String>',
|
|
74
74
|
:'name' => :'String',
|
|
75
75
|
:'search' => :'FormulaAndFunctionEventQueryDefinitionSearch',
|
|
@@ -110,9 +110,7 @@ module DatadogAPIClient::V1
|
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
if attributes.key?(:'group_by')
|
|
113
|
-
|
|
114
|
-
self.group_by = value
|
|
115
|
-
end
|
|
113
|
+
self.group_by = attributes[:'group_by']
|
|
116
114
|
end
|
|
117
115
|
|
|
118
116
|
if attributes.key?(:'indexes')
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# Group by configuration for a formula and functions events query. Accepts either a list of facet objects or a flat object that specifies a list of facet fields.
|
|
21
|
+
module FormulaAndFunctionEventQueryGroupByConfig
|
|
22
|
+
class << self
|
|
23
|
+
include BaseOneOfModel
|
|
24
|
+
include BaseOneOfModelNoDiscriminator
|
|
25
|
+
|
|
26
|
+
# List of class defined in oneOf (OpenAPI v3)
|
|
27
|
+
def openapi_one_of
|
|
28
|
+
[
|
|
29
|
+
:'Array<FormulaAndFunctionEventQueryGroupBy>',
|
|
30
|
+
:'FormulaAndFunctionEventQueryGroupByFields'
|
|
31
|
+
]
|
|
32
|
+
end
|
|
33
|
+
# Builds the object
|
|
34
|
+
# @param data [Mixed] Data to be matched against the list of oneOf items
|
|
35
|
+
# @return [Object] Returns the model or the data itself
|
|
36
|
+
def build(data)
|
|
37
|
+
# Go through the list of oneOf items and attempt to identify the appropriate one.
|
|
38
|
+
# Note:
|
|
39
|
+
# - We do not attempt to check whether exactly one item matches.
|
|
40
|
+
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
|
41
|
+
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
|
42
|
+
# - TODO: scalar values are de facto behaving as if they were nullable.
|
|
43
|
+
# - TODO: logging when debugging is set.
|
|
44
|
+
openapi_one_of.each do |klass|
|
|
45
|
+
begin
|
|
46
|
+
next if klass == :AnyType # "nullable: true"
|
|
47
|
+
typed_data = find_and_cast_into_type(klass, data)
|
|
48
|
+
next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
|
|
49
|
+
return typed_data if typed_data
|
|
50
|
+
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
if openapi_one_of.include?(:AnyType)
|
|
55
|
+
data
|
|
56
|
+
else
|
|
57
|
+
self._unparsed = true
|
|
58
|
+
DatadogAPIClient::UnparsedObject.new(data)
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# Flat group by configuration using multiple event facet fields.
|
|
21
|
+
class FormulaAndFunctionEventQueryGroupByFields
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# List of event facets to group by.
|
|
25
|
+
attr_reader :fields
|
|
26
|
+
|
|
27
|
+
# Number of groups to return.
|
|
28
|
+
attr_accessor :limit
|
|
29
|
+
|
|
30
|
+
# Options for sorting group by results.
|
|
31
|
+
attr_accessor :sort
|
|
32
|
+
|
|
33
|
+
attr_accessor :additional_properties
|
|
34
|
+
|
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
|
+
# @!visibility private
|
|
37
|
+
def self.attribute_map
|
|
38
|
+
{
|
|
39
|
+
:'fields' => :'fields',
|
|
40
|
+
:'limit' => :'limit',
|
|
41
|
+
:'sort' => :'sort'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute type mapping.
|
|
46
|
+
# @!visibility private
|
|
47
|
+
def self.openapi_types
|
|
48
|
+
{
|
|
49
|
+
:'fields' => :'Array<String>',
|
|
50
|
+
:'limit' => :'Integer',
|
|
51
|
+
:'sort' => :'FormulaAndFunctionEventQueryGroupBySort'
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Initializes the object
|
|
56
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
57
|
+
# @!visibility private
|
|
58
|
+
def initialize(attributes = {})
|
|
59
|
+
if (!attributes.is_a?(Hash))
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::FormulaAndFunctionEventQueryGroupByFields` initialize method"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
self.additional_properties = {}
|
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
67
|
+
self.additional_properties[k.to_sym] = v
|
|
68
|
+
else
|
|
69
|
+
h[k.to_sym] = v
|
|
70
|
+
end
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'fields')
|
|
74
|
+
if (value = attributes[:'fields']).is_a?(Array)
|
|
75
|
+
self.fields = value
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'limit')
|
|
80
|
+
self.limit = attributes[:'limit']
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'sort')
|
|
84
|
+
self.sort = attributes[:'sort']
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Check to see if the all the properties in the model are valid
|
|
89
|
+
# @return true if the model is valid
|
|
90
|
+
# @!visibility private
|
|
91
|
+
def valid?
|
|
92
|
+
return false if @fields.nil?
|
|
93
|
+
true
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Custom attribute writer method with validation
|
|
97
|
+
# @param fields [Object] Object to be assigned
|
|
98
|
+
# @!visibility private
|
|
99
|
+
def fields=(fields)
|
|
100
|
+
if fields.nil?
|
|
101
|
+
fail ArgumentError, 'invalid value for "fields", fields cannot be nil.'
|
|
102
|
+
end
|
|
103
|
+
@fields = fields
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
107
|
+
# @return [Hash] Returns the object in the form of hash
|
|
108
|
+
# @!visibility private
|
|
109
|
+
def to_hash
|
|
110
|
+
hash = {}
|
|
111
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
112
|
+
value = self.send(attr)
|
|
113
|
+
if value.nil?
|
|
114
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
115
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
hash[param] = _to_hash(value)
|
|
119
|
+
end
|
|
120
|
+
self.additional_properties.each_pair do |attr, value|
|
|
121
|
+
hash[attr] = value
|
|
122
|
+
end
|
|
123
|
+
hash
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Checks equality by comparing each attribute.
|
|
127
|
+
# @param o [Object] Object to be compared
|
|
128
|
+
# @!visibility private
|
|
129
|
+
def ==(o)
|
|
130
|
+
return true if self.equal?(o)
|
|
131
|
+
self.class == o.class &&
|
|
132
|
+
fields == o.fields &&
|
|
133
|
+
limit == o.limit &&
|
|
134
|
+
sort == o.sort &&
|
|
135
|
+
additional_properties == o.additional_properties
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Calculates hash code according to all attributes.
|
|
139
|
+
# @return [Integer] Hash code
|
|
140
|
+
# @!visibility private
|
|
141
|
+
def hash
|
|
142
|
+
[fields, limit, sort, additional_properties].hash
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
end
|
|
@@ -33,7 +33,7 @@ module DatadogAPIClient::V1
|
|
|
33
33
|
# The log query.
|
|
34
34
|
attr_accessor :log_query
|
|
35
35
|
|
|
36
|
-
# The widget metrics query.
|
|
36
|
+
# The widget metrics query. Deprecated - Use `queries` and `formulas` instead.
|
|
37
37
|
attr_accessor :q
|
|
38
38
|
|
|
39
39
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -24,7 +24,7 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# List of custom links.
|
|
25
25
|
attr_accessor :custom_links
|
|
26
26
|
|
|
27
|
-
# List of widget events.
|
|
27
|
+
# List of widget events. Deprecated - Use `overlay` request type instead.
|
|
28
28
|
attr_accessor :events
|
|
29
29
|
|
|
30
30
|
# Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
|
|
@@ -42,7 +42,7 @@ module DatadogAPIClient::V1
|
|
|
42
42
|
# The log query.
|
|
43
43
|
attr_accessor :profile_metrics_query
|
|
44
44
|
|
|
45
|
-
# Widget query.
|
|
45
|
+
# Widget query. Deprecated - Use `queries` and `formulas` instead.
|
|
46
46
|
attr_accessor :q
|
|
47
47
|
|
|
48
48
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -51,7 +51,7 @@ module DatadogAPIClient::V1
|
|
|
51
51
|
# A formula and functions metrics query.
|
|
52
52
|
attr_accessor :query
|
|
53
53
|
|
|
54
|
-
# Request type for
|
|
54
|
+
# Request type for distribution of point values for distribution metrics. Query space aggregator must be `histogram:<metric name>` for points distributions.
|
|
55
55
|
attr_accessor :request_type
|
|
56
56
|
|
|
57
57
|
# Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
|
|
@@ -49,8 +49,8 @@ module DatadogAPIClient::V1
|
|
|
49
49
|
# Shows the most recent hour in the current month for all organizations where usages are calculated.
|
|
50
50
|
attr_accessor :updated_at
|
|
51
51
|
|
|
52
|
-
# Supported products for hourly usage attribution requests.
|
|
53
|
-
#
|
|
52
|
+
# Supported products for hourly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
|
|
53
|
+
# To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
54
54
|
attr_accessor :usage_type
|
|
55
55
|
|
|
56
56
|
attr_accessor :additional_properties
|
|
@@ -17,8 +17,8 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Supported products for hourly usage attribution requests.
|
|
21
|
-
#
|
|
20
|
+
# Supported products for hourly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
|
|
21
|
+
# To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
22
22
|
class HourlyUsageAttributionUsageType
|
|
23
23
|
include BaseEnumModel
|
|
24
24
|
|
|
@@ -32,6 +32,8 @@ module DatadogAPIClient::V1
|
|
|
32
32
|
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
|
33
33
|
BITS_AI_INVESTIGATIONS_USAGE = "bits_ai_investigations_usage".freeze
|
|
34
34
|
BROWSER_USAGE = "browser_usage".freeze
|
|
35
|
+
CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE = "ci_code_coverage_committers_percentage".freeze
|
|
36
|
+
CI_CODE_COVERAGE_COMMITTERS_USAGE = "ci_code_coverage_committers_usage".freeze
|
|
35
37
|
CI_PIPELINE_INDEXED_SPANS_USAGE = "ci_pipeline_indexed_spans_usage".freeze
|
|
36
38
|
CI_TEST_INDEXED_SPANS_USAGE = "ci_test_indexed_spans_usage".freeze
|
|
37
39
|
CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage".freeze
|
|
@@ -47,7 +47,6 @@ module DatadogAPIClient::V1
|
|
|
47
47
|
attr_accessor :updated_at
|
|
48
48
|
|
|
49
49
|
# Fields in Usage Summary by tag(s).
|
|
50
|
-
# The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
|
|
51
50
|
attr_accessor :values
|
|
52
51
|
|
|
53
52
|
attr_accessor :additional_properties
|
|
@@ -17,7 +17,8 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Supported metrics for monthly usage attribution requests.
|
|
20
|
+
# Supported metrics for monthly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
|
|
21
|
+
# To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
|
|
21
22
|
class MonthlyUsageAttributionSupportedMetrics
|
|
22
23
|
include BaseEnumModel
|
|
23
24
|
|
|
@@ -18,7 +18,6 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
20
|
# Fields in Usage Summary by tag(s).
|
|
21
|
-
# The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
|
|
22
21
|
class MonthlyUsageAttributionValues
|
|
23
22
|
include BaseGenericModel
|
|
24
23
|
|
|
@@ -76,6 +75,12 @@ module DatadogAPIClient::V1
|
|
|
76
75
|
# The synthetic browser test usage by tag(s).
|
|
77
76
|
attr_accessor :browser_usage
|
|
78
77
|
|
|
78
|
+
# The percentage of Code Coverage committers usage by tag(s).
|
|
79
|
+
attr_accessor :ci_code_coverage_committers_percentage
|
|
80
|
+
|
|
81
|
+
# The total Code Coverage committers usage by tag(s).
|
|
82
|
+
attr_accessor :ci_code_coverage_committers_usage
|
|
83
|
+
|
|
79
84
|
# The percentage of CI Pipeline Indexed Spans usage by tag(s).
|
|
80
85
|
attr_accessor :ci_pipeline_indexed_spans_percentage
|
|
81
86
|
|
|
@@ -526,6 +531,8 @@ module DatadogAPIClient::V1
|
|
|
526
531
|
:'bits_ai_investigations_usage' => :'bits_ai_investigations_usage',
|
|
527
532
|
:'browser_percentage' => :'browser_percentage',
|
|
528
533
|
:'browser_usage' => :'browser_usage',
|
|
534
|
+
:'ci_code_coverage_committers_percentage' => :'ci_code_coverage_committers_percentage',
|
|
535
|
+
:'ci_code_coverage_committers_usage' => :'ci_code_coverage_committers_usage',
|
|
529
536
|
:'ci_pipeline_indexed_spans_percentage' => :'ci_pipeline_indexed_spans_percentage',
|
|
530
537
|
:'ci_pipeline_indexed_spans_usage' => :'ci_pipeline_indexed_spans_usage',
|
|
531
538
|
:'ci_test_indexed_spans_percentage' => :'ci_test_indexed_spans_percentage',
|
|
@@ -693,6 +700,8 @@ module DatadogAPIClient::V1
|
|
|
693
700
|
:'bits_ai_investigations_usage' => :'Float',
|
|
694
701
|
:'browser_percentage' => :'Float',
|
|
695
702
|
:'browser_usage' => :'Float',
|
|
703
|
+
:'ci_code_coverage_committers_percentage' => :'Float',
|
|
704
|
+
:'ci_code_coverage_committers_usage' => :'Float',
|
|
696
705
|
:'ci_pipeline_indexed_spans_percentage' => :'Float',
|
|
697
706
|
:'ci_pipeline_indexed_spans_usage' => :'Float',
|
|
698
707
|
:'ci_test_indexed_spans_percentage' => :'Float',
|
|
@@ -928,6 +937,14 @@ module DatadogAPIClient::V1
|
|
|
928
937
|
self.browser_usage = attributes[:'browser_usage']
|
|
929
938
|
end
|
|
930
939
|
|
|
940
|
+
if attributes.key?(:'ci_code_coverage_committers_percentage')
|
|
941
|
+
self.ci_code_coverage_committers_percentage = attributes[:'ci_code_coverage_committers_percentage']
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
if attributes.key?(:'ci_code_coverage_committers_usage')
|
|
945
|
+
self.ci_code_coverage_committers_usage = attributes[:'ci_code_coverage_committers_usage']
|
|
946
|
+
end
|
|
947
|
+
|
|
931
948
|
if attributes.key?(:'ci_pipeline_indexed_spans_percentage')
|
|
932
949
|
self.ci_pipeline_indexed_spans_percentage = attributes[:'ci_pipeline_indexed_spans_percentage']
|
|
933
950
|
end
|
|
@@ -1541,6 +1558,8 @@ module DatadogAPIClient::V1
|
|
|
1541
1558
|
bits_ai_investigations_usage == o.bits_ai_investigations_usage &&
|
|
1542
1559
|
browser_percentage == o.browser_percentage &&
|
|
1543
1560
|
browser_usage == o.browser_usage &&
|
|
1561
|
+
ci_code_coverage_committers_percentage == o.ci_code_coverage_committers_percentage &&
|
|
1562
|
+
ci_code_coverage_committers_usage == o.ci_code_coverage_committers_usage &&
|
|
1544
1563
|
ci_pipeline_indexed_spans_percentage == o.ci_pipeline_indexed_spans_percentage &&
|
|
1545
1564
|
ci_pipeline_indexed_spans_usage == o.ci_pipeline_indexed_spans_usage &&
|
|
1546
1565
|
ci_test_indexed_spans_percentage == o.ci_test_indexed_spans_percentage &&
|
|
@@ -1690,7 +1709,7 @@ module DatadogAPIClient::V1
|
|
|
1690
1709
|
# @return [Integer] Hash code
|
|
1691
1710
|
# @!visibility private
|
|
1692
1711
|
def hash
|
|
1693
|
-
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, bits_ai_investigations_percentage, bits_ai_investigations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, code_security_host_percentage, code_security_host_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_fargate_task_percentage, cws_fargate_task_usage, cws_hosts_percentage, cws_hosts_usage, data_jobs_monitoring_usage, data_stream_monitoring_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, flex_logs_starter_percentage, flex_logs_starter_usage, flex_stored_logs_percentage, flex_stored_logs_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, llm_observability_percentage, llm_observability_usage, llm_spans_percentage, llm_spans_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, network_device_wireless_percentage, network_device_wireless_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, product_analytics_session_percentage, product_analytics_session_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, published_app_percentage, published_app_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_ingested_percentage, rum_ingested_usage, rum_investigate_percentage, rum_investigate_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, rum_session_replay_add_on_percentage, rum_session_replay_add_on_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage, additional_properties].hash
|
|
1712
|
+
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, bits_ai_investigations_percentage, bits_ai_investigations_usage, browser_percentage, browser_usage, ci_code_coverage_committers_percentage, ci_code_coverage_committers_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, code_security_host_percentage, code_security_host_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_fargate_task_percentage, cws_fargate_task_usage, cws_hosts_percentage, cws_hosts_usage, data_jobs_monitoring_usage, data_stream_monitoring_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, flex_logs_starter_percentage, flex_logs_starter_usage, flex_stored_logs_percentage, flex_stored_logs_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, llm_observability_percentage, llm_observability_usage, llm_spans_percentage, llm_spans_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, network_device_wireless_percentage, network_device_wireless_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, product_analytics_session_percentage, product_analytics_session_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, published_app_percentage, published_app_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_ingested_percentage, rum_ingested_usage, rum_investigate_percentage, rum_investigate_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, rum_session_replay_add_on_percentage, rum_session_replay_add_on_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage, additional_properties].hash
|
|
1694
1713
|
end
|
|
1695
1714
|
end
|
|
1696
1715
|
end
|
|
@@ -51,7 +51,7 @@ module DatadogAPIClient::V1
|
|
|
51
51
|
# The log query.
|
|
52
52
|
attr_accessor :profile_metrics_query
|
|
53
53
|
|
|
54
|
-
#
|
|
54
|
+
# Widget query. Deprecated - Use `queries` and `formulas` instead.
|
|
55
55
|
attr_accessor :q
|
|
56
56
|
|
|
57
57
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -45,7 +45,7 @@ module DatadogAPIClient::V1
|
|
|
45
45
|
# The log query.
|
|
46
46
|
attr_accessor :profile_metrics_query
|
|
47
47
|
|
|
48
|
-
# Widget query.
|
|
48
|
+
# Widget query. Deprecated - Use `queries` and `formulas` instead.
|
|
49
49
|
attr_accessor :q
|
|
50
50
|
|
|
51
51
|
# List of queries that can be returned directly or used in formulas.
|
|
@@ -48,7 +48,7 @@ module DatadogAPIClient::V1
|
|
|
48
48
|
# The public ID of the Synthetic test.
|
|
49
49
|
attr_accessor :test_public_id
|
|
50
50
|
|
|
51
|
-
# Type of the Synthetic test
|
|
51
|
+
# Type of the Synthetic test.
|
|
52
52
|
attr_accessor :test_type
|
|
53
53
|
|
|
54
54
|
attr_accessor :additional_properties
|
|
@@ -17,12 +17,13 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Type of the Synthetic test
|
|
20
|
+
# Type of the Synthetic test.
|
|
21
21
|
class SyntheticsTestDetailsType
|
|
22
22
|
include BaseEnumModel
|
|
23
23
|
|
|
24
24
|
API = "api".freeze
|
|
25
25
|
BROWSER = "browser".freeze
|
|
26
26
|
MOBILE = "mobile".freeze
|
|
27
|
+
NETWORK = "network".freeze
|
|
27
28
|
end
|
|
28
29
|
end
|
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
|
27
27
|
# Content of the file.
|
|
28
28
|
attr_reader :content
|
|
29
29
|
|
|
30
|
+
# Encoding of the file content. The only supported value is `base64`, indicating the `content` field contains base64-encoded data.
|
|
31
|
+
attr_accessor :encoding
|
|
32
|
+
|
|
30
33
|
# Name of the file.
|
|
31
34
|
attr_reader :name
|
|
32
35
|
|
|
@@ -47,6 +50,7 @@ module DatadogAPIClient::V1
|
|
|
47
50
|
{
|
|
48
51
|
:'bucket_key' => :'bucketKey',
|
|
49
52
|
:'content' => :'content',
|
|
53
|
+
:'encoding' => :'encoding',
|
|
50
54
|
:'name' => :'name',
|
|
51
55
|
:'original_file_name' => :'originalFileName',
|
|
52
56
|
:'size' => :'size',
|
|
@@ -60,6 +64,7 @@ module DatadogAPIClient::V1
|
|
|
60
64
|
{
|
|
61
65
|
:'bucket_key' => :'String',
|
|
62
66
|
:'content' => :'String',
|
|
67
|
+
:'encoding' => :'String',
|
|
63
68
|
:'name' => :'String',
|
|
64
69
|
:'original_file_name' => :'String',
|
|
65
70
|
:'size' => :'Integer',
|
|
@@ -93,6 +98,10 @@ module DatadogAPIClient::V1
|
|
|
93
98
|
self.content = attributes[:'content']
|
|
94
99
|
end
|
|
95
100
|
|
|
101
|
+
if attributes.key?(:'encoding')
|
|
102
|
+
self.encoding = attributes[:'encoding']
|
|
103
|
+
end
|
|
104
|
+
|
|
96
105
|
if attributes.key?(:'name')
|
|
97
106
|
self.name = attributes[:'name']
|
|
98
107
|
end
|
|
@@ -204,6 +213,7 @@ module DatadogAPIClient::V1
|
|
|
204
213
|
self.class == o.class &&
|
|
205
214
|
bucket_key == o.bucket_key &&
|
|
206
215
|
content == o.content &&
|
|
216
|
+
encoding == o.encoding &&
|
|
207
217
|
name == o.name &&
|
|
208
218
|
original_file_name == o.original_file_name &&
|
|
209
219
|
size == o.size &&
|
|
@@ -215,7 +225,7 @@ module DatadogAPIClient::V1
|
|
|
215
225
|
# @return [Integer] Hash code
|
|
216
226
|
# @!visibility private
|
|
217
227
|
def hash
|
|
218
|
-
[bucket_key, content, name, original_file_name, size, type, additional_properties].hash
|
|
228
|
+
[bucket_key, content, encoding, name, original_file_name, size, type, additional_properties].hash
|
|
219
229
|
end
|
|
220
230
|
end
|
|
221
231
|
end
|
|
@@ -63,7 +63,7 @@ module DatadogAPIClient::V1
|
|
|
63
63
|
# The log query.
|
|
64
64
|
attr_accessor :profile_metrics_query
|
|
65
65
|
|
|
66
|
-
# Query definition.
|
|
66
|
+
# Query definition. Deprecated - Use `queries` and `formulas` instead.
|
|
67
67
|
attr_accessor :q
|
|
68
68
|
|
|
69
69
|
# List of queries that can be returned directly or used in formulas.
|