From 5df4d4c5c187e3025c9be61f74d8381020989ffd Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 11 Sep 2026 09:34:13 +0000 Subject: [PATCH] Regenerate client from commit 0e383b5 of spec repo --- .generator/schemas/v2/openapi.yaml | 11 +++++++++-- .../observability_pipeline_config_processor_item.py | 4 ++++ ...servability_pipeline_generate_metrics_processor.py | 2 ++ ...vability_pipeline_generate_metrics_v2_processor.py | 3 ++- ..._pipeline_http_client_destination_auth_strategy.py | 7 ++++++- .../model/observability_pipeline_quota_processor.py | 4 ++++ ...bility_pipeline_quota_processor_overflow_action.py | 2 ++ 7 files changed, 29 insertions(+), 4 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c8e6800c4b..10b435d883 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -75646,11 +75646,14 @@ components: - credentials_file type: object ObservabilityPipelineGenerateMetricsProcessor: + deprecated: true description: |- The `generate_datadog_metrics` processor creates custom metrics from logs and sends them to Datadog. Metrics can be counters, gauges, or distributions and optionally grouped by log fields. **Supported pipeline types:** logs + + **Deprecated:** This processor is deprecated. Use the `generate_metrics` processor instead. properties: display_name: $ref: "#/components/schemas/ObservabilityPipelineComponentDisplayName" @@ -75692,7 +75695,8 @@ components: description: |- The `generate_metrics` processor creates custom metrics from logs. Metrics can be counters, gauges, or distributions and optionally grouped by log fields. - The generated metrics must be routed to a metrics destination using the input `.metrics`. + + There must be a destination whose `inputs` reference this processor with the `.metrics` suffix to route the generated metrics. All destination types normally supported for `metrics` pipelines are also supported as metrics destinations in `logs` pipelines. **Supported pipeline types:** logs properties: @@ -76188,13 +76192,14 @@ components: x-pipeline-types: [logs, metrics] ObservabilityPipelineHttpClientDestinationAuthStrategy: description: HTTP authentication strategy. - enum: [none, basic, bearer] + enum: [none, basic, bearer, custom] example: basic type: string x-enum-varnames: - NONE - BASIC - BEARER + - CUSTOM ObservabilityPipelineHttpClientDestinationCompression: description: Compression configuration for HTTP requests. properties: @@ -77566,6 +77571,8 @@ components: - `drop`: Drop the event. - `no_action`: Let the event pass through. - `overflow_routing`: Route to an overflow destination. + + When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`. enum: - drop - no_action diff --git a/src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py b/src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py index 9c63576030..cc838caf3d 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py @@ -118,6 +118,8 @@ def __init__(self, **kwargs): - `drop`: Drop the event. - `no_action`: Let the event pass through. - `overflow_routing`: Route to an overflow destination. + + When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`. :type overflow_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional :param overrides: A list of alternate quota rules that apply to specific sets of events, identified by matching field values. Each override can define a custom limit. @@ -130,6 +132,8 @@ def __init__(self, **kwargs): - `drop`: Drop the event. - `no_action`: Let the event pass through. - `overflow_routing`: Route to an overflow destination. + + When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`. :type too_many_buckets_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional :param group_by: A list of fields used to group log events for merging. diff --git a/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_processor.py b/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_processor.py index 9c5ffa2dfa..589af4b366 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_processor.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_processor.py @@ -64,6 +64,8 @@ def __init__( **Supported pipeline types:** logs + **Deprecated:** This processor is deprecated. Use the ``generate_metrics`` processor instead. + :param display_name: The display name for a component. :type display_name: str, optional diff --git a/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_v2_processor.py b/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_v2_processor.py index bb077fec1a..ecf95bbee2 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_v2_processor.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_generate_metrics_v2_processor.py @@ -61,7 +61,8 @@ def __init__( """ The ``generate_metrics`` processor creates custom metrics from logs. Metrics can be counters, gauges, or distributions and optionally grouped by log fields. - The generated metrics must be routed to a metrics destination using the input ``.metrics``. + + There must be a destination whose ``inputs`` reference this processor with the ``.metrics`` suffix to route the generated metrics. All destination types normally supported for ``metrics`` pipelines are also supported as metrics destinations in ``logs`` pipelines. **Supported pipeline types:** logs diff --git a/src/datadog_api_client/v2/model/observability_pipeline_http_client_destination_auth_strategy.py b/src/datadog_api_client/v2/model/observability_pipeline_http_client_destination_auth_strategy.py index ffb1523cca..9f7582a848 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_http_client_destination_auth_strategy.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_http_client_destination_auth_strategy.py @@ -16,7 +16,7 @@ class ObservabilityPipelineHttpClientDestinationAuthStrategy(ModelSimple): """ HTTP authentication strategy. - :param value: Must be one of ["none", "basic", "bearer"]. + :param value: Must be one of ["none", "basic", "bearer", "custom"]. :type value: str """ @@ -24,10 +24,12 @@ class ObservabilityPipelineHttpClientDestinationAuthStrategy(ModelSimple): "none", "basic", "bearer", + "custom", } NONE: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"] BASIC: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"] BEARER: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"] + CUSTOM: ClassVar["ObservabilityPipelineHttpClientDestinationAuthStrategy"] @cached_property def openapi_types(_): @@ -45,3 +47,6 @@ def openapi_types(_): ObservabilityPipelineHttpClientDestinationAuthStrategy.BEARER = ObservabilityPipelineHttpClientDestinationAuthStrategy( "bearer" ) +ObservabilityPipelineHttpClientDestinationAuthStrategy.CUSTOM = ObservabilityPipelineHttpClientDestinationAuthStrategy( + "custom" +) diff --git a/src/datadog_api_client/v2/model/observability_pipeline_quota_processor.py b/src/datadog_api_client/v2/model/observability_pipeline_quota_processor.py index 329a051e31..4ba8312f94 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_quota_processor.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_quota_processor.py @@ -127,6 +127,8 @@ def __init__( * ``drop`` : Drop the event. * ``no_action`` : Let the event pass through. * ``overflow_routing`` : Route to an overflow destination. + + When ``overflow_routing`` is used, there must be a destination whose ``inputs`` reference this processor with the ``.overflow_events`` suffix to route the overflowing events. Only the following destination types support overflow inputs: ``amazon_s3_generic`` , ``amazon_s3`` , ``google_cloud_storage`` , and ``azure_storage``. :type overflow_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional :param overrides: A list of alternate quota rules that apply to specific sets of events, identified by matching field values. Each override can define a custom limit. @@ -140,6 +142,8 @@ def __init__( * ``drop`` : Drop the event. * ``no_action`` : Let the event pass through. * ``overflow_routing`` : Route to an overflow destination. + + When ``overflow_routing`` is used, there must be a destination whose ``inputs`` reference this processor with the ``.overflow_events`` suffix to route the overflowing events. Only the following destination types support overflow inputs: ``amazon_s3_generic`` , ``amazon_s3`` , ``google_cloud_storage`` , and ``azure_storage``. :type too_many_buckets_action: ObservabilityPipelineQuotaProcessorOverflowAction, optional :param type: The processor type. The value should always be ``quota``. diff --git a/src/datadog_api_client/v2/model/observability_pipeline_quota_processor_overflow_action.py b/src/datadog_api_client/v2/model/observability_pipeline_quota_processor_overflow_action.py index 3bf3e7727d..644b596827 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_quota_processor_overflow_action.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_quota_processor_overflow_action.py @@ -19,6 +19,8 @@ class ObservabilityPipelineQuotaProcessorOverflowAction(ModelSimple): - `no_action`: Let the event pass through. - `overflow_routing`: Route to an overflow destination. + When `overflow_routing` is used, there must be a destination whose `inputs` reference this processor with the `.overflow_events` suffix to route the overflowing events. Only the following destination types support overflow inputs: `amazon_s3_generic`, `amazon_s3`, `google_cloud_storage`, and `azure_storage`. + :param value: Must be one of ["drop", "no_action", "overflow_routing"]. :type value: str """