From 0b076b8da7fdb090ee12d58fb988352638f08a5d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 13 Feb 2026 12:30:15 +0000 Subject: [PATCH] Regenerate client from commit b914c06 of spec repo --- .generator/schemas/v2/openapi.yaml | 6 ++++++ .../v2/model/observability_pipeline_buffer_options.py | 4 ++-- .../model/observability_pipeline_disk_buffer_options.py | 8 ++++---- .../model/observability_pipeline_memory_buffer_options.py | 8 ++++---- .../observability_pipeline_memory_buffer_size_options.py | 8 ++++---- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 73c6d67371..b8661d93ff 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -39639,6 +39639,8 @@ components: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType' when_full: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' + required: + - max_size type: object ObservabilityPipelineElasticsearchDestination: description: 'The `elasticsearch` destination writes logs to an Elasticsearch @@ -40892,6 +40894,8 @@ components: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' when_full: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' + required: + - max_size type: object ObservabilityPipelineMemoryBufferSizeOptions: description: Options for configuring a memory buffer by queue length. @@ -40905,6 +40909,8 @@ components: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType' when_full: $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull' + required: + - max_events type: object ObservabilityPipelineMetadataEntry: description: A custom metadata entry. diff --git a/src/datadog_api_client/v2/model/observability_pipeline_buffer_options.py b/src/datadog_api_client/v2/model/observability_pipeline_buffer_options.py index 2802e1e456..bfb5ea4cc8 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_buffer_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_buffer_options.py @@ -16,7 +16,7 @@ def __init__(self, **kwargs): Configuration for buffer settings on destination components. :param max_size: Maximum size of the disk buffer. - :type max_size: int, optional + :type max_size: int :param type: The type of the buffer that will be configured, a disk buffer. :type type: ObservabilityPipelineBufferOptionsDiskType, optional @@ -25,7 +25,7 @@ def __init__(self, **kwargs): :type when_full: ObservabilityPipelineBufferOptionsWhenFull, optional :param max_events: Maximum events for the memory buffer. - :type max_events: int, optional + :type max_events: int """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/observability_pipeline_disk_buffer_options.py b/src/datadog_api_client/v2/model/observability_pipeline_disk_buffer_options.py index 5bcfc2b8ad..eef6164c3f 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_disk_buffer_options.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_disk_buffer_options.py @@ -46,7 +46,7 @@ def openapi_types(_): def __init__( self_, - max_size: Union[int, UnsetType] = unset, + max_size: int, type: Union[ObservabilityPipelineBufferOptionsDiskType, UnsetType] = unset, when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, @@ -55,7 +55,7 @@ def __init__( Options for configuring a disk buffer. :param max_size: Maximum size of the disk buffer. - :type max_size: int, optional + :type max_size: int :param type: The type of the buffer that will be configured, a disk buffer. :type type: ObservabilityPipelineBufferOptionsDiskType, optional @@ -63,10 +63,10 @@ def __init__( :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) + + self_.max_size = max_size 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 2093ffaf2a..07cea842e9 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 @@ -46,7 +46,7 @@ def openapi_types(_): def __init__( self_, - max_size: Union[int, UnsetType] = unset, + max_size: int, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, @@ -55,7 +55,7 @@ def __init__( Options for configuring a memory buffer by byte size. :param max_size: Maximum size of the memory buffer. - :type max_size: int, optional + :type max_size: int :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional @@ -63,10 +63,10 @@ def __init__( :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) + + self_.max_size = max_size 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 9caa534a88..527fb6b1fc 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 @@ -46,7 +46,7 @@ def openapi_types(_): def __init__( self_, - max_events: Union[int, UnsetType] = unset, + max_events: int, type: Union[ObservabilityPipelineBufferOptionsMemoryType, UnsetType] = unset, when_full: Union[ObservabilityPipelineBufferOptionsWhenFull, UnsetType] = unset, **kwargs, @@ -55,7 +55,7 @@ def __init__( Options for configuring a memory buffer by queue length. :param max_events: Maximum events for the memory buffer. - :type max_events: int, optional + :type max_events: int :param type: The type of the buffer that will be configured, a memory buffer. :type type: ObservabilityPipelineBufferOptionsMemoryType, optional @@ -63,10 +63,10 @@ def __init__( :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) + + self_.max_events = max_events