From 7d4cb7ed7fb7f67dde8878b4bcd765fcfe17c6d9 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 10 Feb 2026 10:36:49 +0000 Subject: [PATCH] Regenerate client from commit 795b9a0 of spec repo --- .generator/schemas/v2/openapi.yaml | 4 ++++ ...observability_pipeline_memory_buffer_options.py | 14 ++++++++++++++ ...vability_pipeline_memory_buffer_size_options.py | 14 ++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 181237b18f..7af5b68e56 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -40833,6 +40833,8 @@ components: type: integer type: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' + when_full: + $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' type: object ObservabilityPipelineMemoryBufferSizeOptions: description: Options for configuring a memory buffer by queue length. @@ -40844,6 +40846,8 @@ components: type: integer type: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' + when_full: + $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' type: object ObservabilityPipelineMetadataEntry: description: A custom metadata entry. diff --git a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py index 8f72c02416..2093ffaf2a 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_options.py @@ -17,6 +17,9 @@ from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) + from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( + ObservabilityPipelineBufferOptionsWhenFull, + ) class ObservabilityPipelineMemoryBufferOptions(ModelNormal): @@ -25,21 +28,27 @@ def openapi_types(_): from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) + from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( + ObservabilityPipelineBufferOptionsWhenFull, + ) return { "max_size": (int,), "type": (ObservabilityPipelineBufferOptionsMemoryType,), + "when_full": (ObservabilityPipelineBufferOptionsWhenFull,), } attribute_map = { "max_size": "max_size", "type": "type", + "when_full": "when_full", } def __init__( self_, max_size: Union[int, UnsetType] = unset, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, + when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, ): """ @@ -50,9 +59,14 @@ def __init__( :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional + + :param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events) + :type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional """ if max_size is not unset: kwargs["max_size"] = max_size if type is not unset: kwargs["type"] = type + if when_full is not unset: + kwargs["when_full"] = when_full super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py index 3218ba0b19..9caa534a88 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_memory_buffer_size_options.py @@ -17,6 +17,9 @@ from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) + from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( + ObservabilityPipelineBufferOptionsWhenFull, + ) class ObservabilityPipelineMemoryBufferSizeOptions(ModelNormal): @@ -25,21 +28,27 @@ def openapi_types(_): from datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type import ( ObservabilityPipelineBufferOptionsMemoryType, ) + from datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full import ( + ObservabilityPipelineBufferOptionsWhenFull, + ) return { "max_events": (int,), "type": (ObservabilityPipelineBufferOptionsMemoryType,), + "when_full": (ObservabilityPipelineBufferOptionsWhenFull,), } attribute_map = { "max_events": "max_events", "type": "type", + "when_full": "when_full", } def __init__( self_, max_events: Union[int, UnsetType] = unset, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, + when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, ): """ @@ -50,9 +59,14 @@ def __init__( :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional + + :param when_full: Behavior when the buffer is full (block and stop accepting new events, or drop new events) + :type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional """ if max_events is not unset: kwargs["max_events"] = max_events if type is not unset: kwargs["type"] = type + if when_full is not unset: + kwargs["when_full"] = when_full super().__init__(kwargs)