Skip to content

Commit eb6188a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 884871f of spec repo
1 parent c1fdaf3 commit eb6188a

24 files changed

+791
-17
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "69305be",
3-
"generated": "2025-08-05 16:20:32.413"
2+
"spec_repo_commit": "884871f",
3+
"generated": "2025-08-05 21:31:06.408"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,8 @@ components:
49464946
description: Optional prefix for blobs written to the container.
49474947
example: logs/
49484948
type: string
4949+
buffer:
4950+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
49494951
container_name:
49504952
description: The name of the Azure Blob Storage container to store logs
49514953
in.
@@ -24998,6 +25000,8 @@ components:
2499825000
description: The `microsoft_sentinel` destination forwards logs to Microsoft
2499925001
Sentinel.
2500025002
properties:
25003+
buffer:
25004+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2500125005
client_id:
2500225006
description: Azure AD client ID used for authentication.
2500325007
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
@@ -26630,6 +26634,8 @@ components:
2663026634
properties:
2663126635
auth:
2663226636
$ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestinationAuth'
26637+
buffer:
26638+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2663326639
bulk_index:
2663426640
description: The index to write logs to.
2663526641
example: logs-index
@@ -26708,6 +26714,8 @@ components:
2670826714
description: S3 bucket name.
2670926715
example: error-logs
2671026716
type: string
26717+
buffer:
26718+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2671126719
id:
2671226720
description: Unique identifier for the destination component.
2671326721
example: amazon-s3-destination
@@ -26827,6 +26835,28 @@ components:
2682726835
role session.
2682826836
type: string
2682926837
type: object
26838+
ObservabilityPipelineBufferOptions:
26839+
description: Configuration for buffer settings on destination components.
26840+
oneOf:
26841+
- $ref: '#/components/schemas/ObservabilityPipelineDiskBufferOptions'
26842+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferOptions'
26843+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferSizeOptions'
26844+
ObservabilityPipelineBufferOptionsDiskType:
26845+
default: disk
26846+
description: The type of the buffer that will be configured, a disk buffer.
26847+
enum:
26848+
- disk
26849+
type: string
26850+
x-enum-varnames:
26851+
- DISK
26852+
ObservabilityPipelineBufferOptionsMemoryType:
26853+
default: memory
26854+
description: The type of the buffer that will be configured, a memory buffer.
26855+
enum:
26856+
- memory
26857+
type: string
26858+
x-enum-varnames:
26859+
- MEMORY
2683026860
ObservabilityPipelineConfig:
2683126861
description: Specifies the pipeline's configuration, including its sources,
2683226862
processors, and destinations.
@@ -26982,6 +27012,8 @@ components:
2698227012
ObservabilityPipelineDatadogLogsDestination:
2698327013
description: The `datadog_logs` destination forwards logs to Datadog Log Management.
2698427014
properties:
27015+
buffer:
27016+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2698527017
id:
2698627018
description: The unique identifier for this component.
2698727019
example: datadog-logs-destination
@@ -27083,12 +27115,27 @@ components:
2708327115
type: string
2708427116
x-enum-varnames:
2708527117
- DEDUPE
27118+
ObservabilityPipelineDiskBufferOptions:
27119+
description: Options for configuring a disk buffer.
27120+
properties:
27121+
max_size:
27122+
description: Maximum size of the disk buffer.
27123+
example: 4096
27124+
format: int64
27125+
maximum: 536870912000
27126+
minimum: 268435488
27127+
type: integer
27128+
type:
27129+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType'
27130+
type: object
2708627131
ObservabilityPipelineElasticsearchDestination:
2708727132
description: The `elasticsearch` destination writes logs to an Elasticsearch
2708827133
cluster.
2708927134
properties:
2709027135
api_version:
2709127136
$ref: '#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion'
27137+
buffer:
27138+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2709227139
bulk_index:
2709327140
description: The index to write logs to in Elasticsearch.
2709427141
example: logs-index
@@ -27573,6 +27620,8 @@ components:
2757327620
properties:
2757427621
auth:
2757527622
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
27623+
buffer:
27624+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2757627625
customer_id:
2757727626
description: The Google Chronicle customer ID.
2757827627
example: abcdefg123456789
@@ -27639,6 +27688,8 @@ components:
2763927688
description: Name of the GCS bucket.
2764027689
example: error-logs
2764127690
type: string
27691+
buffer:
27692+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2764227693
id:
2764327694
description: Unique identifier for the destination component.
2764427695
example: gcs-destination
@@ -27949,6 +28000,32 @@ components:
2794928000
type: string
2795028001
x-enum-varnames:
2795128002
- LOGSTASH
28003+
ObservabilityPipelineMemoryBufferOptions:
28004+
description: Options for configuring a memory buffer by byte size.
28005+
properties:
28006+
max_size:
28007+
description: Maximum size of the disk buffer.
28008+
example: 4096
28009+
format: int64
28010+
maximum: 13743895347
28011+
minimum: 1
28012+
type: integer
28013+
type:
28014+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
28015+
type: object
28016+
ObservabilityPipelineMemoryBufferSizeOptions:
28017+
description: Options for configuring a memory buffer by queue length.
28018+
properties:
28019+
max_events:
28020+
description: The `ObservabilityPipelineMemoryBufferSizeOptions` `max_events`.
28021+
example: 500
28022+
format: int64
28023+
maximum: 268435456
28024+
minimum: 1
28025+
type: integer
28026+
type:
28027+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
28028+
type: object
2795228029
ObservabilityPipelineMetadataEntry:
2795328030
description: A custom metadata entry.
2795428031
properties:
@@ -27972,6 +28049,8 @@ components:
2797228049
ObservabilityPipelineNewRelicDestination:
2797328050
description: The `new_relic` destination sends logs to the New Relic platform.
2797428051
properties:
28052+
buffer:
28053+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2797528054
id:
2797628055
description: The unique identifier for this component.
2797728056
example: new-relic-destination
@@ -28109,6 +28188,8 @@ components:
2810928188
ObservabilityPipelineOpenSearchDestination:
2811028189
description: The `opensearch` destination writes logs to an OpenSearch cluster.
2811128190
properties:
28191+
buffer:
28192+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2811228193
bulk_index:
2811328194
description: The index to write logs to.
2811428195
example: logs-index
@@ -28683,6 +28764,8 @@ components:
2868328764
description: The `rsyslog` destination forwards logs to an external `rsyslog`
2868428765
server over TCP or UDP using the syslog protocol.
2868528766
properties:
28767+
buffer:
28768+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2868628769
id:
2868728770
description: The unique identifier for this component.
2868828771
example: rsyslog-destination
@@ -29157,6 +29240,8 @@ components:
2915729240
ObservabilityPipelineSentinelOneDestination:
2915829241
description: The `sentinel_one` destination sends logs to SentinelOne.
2915929242
properties:
29243+
buffer:
29244+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2916029245
id:
2916129246
description: The unique identifier for this component.
2916229247
example: sentinelone-destination
@@ -29241,6 +29326,8 @@ components:
2924129326
'
2924229327
example: true
2924329328
type: boolean
29329+
buffer:
29330+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2924429331
encoding:
2924529332
$ref: '#/components/schemas/ObservabilityPipelineSplunkHecDestinationEncoding'
2924629333
id:
@@ -29354,6 +29441,8 @@ components:
2935429441
ObservabilityPipelineSumoLogicDestination:
2935529442
description: The `sumo_logic` destination forwards logs to Sumo Logic.
2935629443
properties:
29444+
buffer:
29445+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2935729446
encoding:
2935829447
$ref: '#/components/schemas/ObservabilityPipelineSumoLogicDestinationEncoding'
2935929448
header_custom_fields:
@@ -29457,6 +29546,8 @@ components:
2945729546
description: The `syslog_ng` destination forwards logs to an external `syslog-ng`
2945829547
server over TCP or UDP using the syslog protocol.
2945929548
properties:
29549+
buffer:
29550+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2946029551
id:
2946129552
description: The unique identifier for this component.
2946229553
example: syslog-ng-destination

lib/datadog_api_client/inflector.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2618,6 +2618,9 @@ def overrides
26182618
"v2.observability_pipeline_amazon_s3_source" => "ObservabilityPipelineAmazonS3Source",
26192619
"v2.observability_pipeline_amazon_s3_source_type" => "ObservabilityPipelineAmazonS3SourceType",
26202620
"v2.observability_pipeline_aws_auth" => "ObservabilityPipelineAwsAuth",
2621+
"v2.observability_pipeline_buffer_options" => "ObservabilityPipelineBufferOptions",
2622+
"v2.observability_pipeline_buffer_options_disk_type" => "ObservabilityPipelineBufferOptionsDiskType",
2623+
"v2.observability_pipeline_buffer_options_memory_type" => "ObservabilityPipelineBufferOptionsMemoryType",
26212624
"v2.observability_pipeline_config" => "ObservabilityPipelineConfig",
26222625
"v2.observability_pipeline_config_destination_item" => "ObservabilityPipelineConfigDestinationItem",
26232626
"v2.observability_pipeline_config_processor_item" => "ObservabilityPipelineConfigProcessorItem",
@@ -2632,6 +2635,7 @@ def overrides
26322635
"v2.observability_pipeline_dedupe_processor" => "ObservabilityPipelineDedupeProcessor",
26332636
"v2.observability_pipeline_dedupe_processor_mode" => "ObservabilityPipelineDedupeProcessorMode",
26342637
"v2.observability_pipeline_dedupe_processor_type" => "ObservabilityPipelineDedupeProcessorType",
2638+
"v2.observability_pipeline_disk_buffer_options" => "ObservabilityPipelineDiskBufferOptions",
26352639
"v2.observability_pipeline_elasticsearch_destination" => "ObservabilityPipelineElasticsearchDestination",
26362640
"v2.observability_pipeline_elasticsearch_destination_api_version" => "ObservabilityPipelineElasticsearchDestinationApiVersion",
26372641
"v2.observability_pipeline_elasticsearch_destination_type" => "ObservabilityPipelineElasticsearchDestinationType",
@@ -2682,6 +2686,8 @@ def overrides
26822686
"v2.observability_pipeline_kafka_source_type" => "ObservabilityPipelineKafkaSourceType",
26832687
"v2.observability_pipeline_logstash_source" => "ObservabilityPipelineLogstashSource",
26842688
"v2.observability_pipeline_logstash_source_type" => "ObservabilityPipelineLogstashSourceType",
2689+
"v2.observability_pipeline_memory_buffer_options" => "ObservabilityPipelineMemoryBufferOptions",
2690+
"v2.observability_pipeline_memory_buffer_size_options" => "ObservabilityPipelineMemoryBufferSizeOptions",
26852691
"v2.observability_pipeline_metadata_entry" => "ObservabilityPipelineMetadataEntry",
26862692
"v2.observability_pipeline_metric_value" => "ObservabilityPipelineMetricValue",
26872693
"v2.observability_pipeline_new_relic_destination" => "ObservabilityPipelineNewRelicDestination",

lib/datadog_api_client/v2/models/azure_storage_destination.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class AzureStorageDestination
2424
# Optional prefix for blobs written to the container.
2525
attr_accessor :blob_prefix
2626

27+
# Configuration for buffer settings on destination components.
28+
attr_accessor :buffer
29+
2730
# The name of the Azure Blob Storage container to store logs in.
2831
attr_reader :container_name
2932

@@ -43,6 +46,7 @@ class AzureStorageDestination
4346
def self.attribute_map
4447
{
4548
:'blob_prefix' => :'blob_prefix',
49+
:'buffer' => :'buffer',
4650
:'container_name' => :'container_name',
4751
:'id' => :'id',
4852
:'inputs' => :'inputs',
@@ -55,6 +59,7 @@ def self.attribute_map
5559
def self.openapi_types
5660
{
5761
:'blob_prefix' => :'String',
62+
:'buffer' => :'ObservabilityPipelineBufferOptions',
5863
:'container_name' => :'String',
5964
:'id' => :'String',
6065
:'inputs' => :'Array<String>',
@@ -84,6 +89,10 @@ def initialize(attributes = {})
8489
self.blob_prefix = attributes[:'blob_prefix']
8590
end
8691

92+
if attributes.key?(:'buffer')
93+
self.buffer = attributes[:'buffer']
94+
end
95+
8796
if attributes.key?(:'container_name')
8897
self.container_name = attributes[:'container_name']
8998
end
@@ -181,6 +190,7 @@ def ==(o)
181190
return true if self.equal?(o)
182191
self.class == o.class &&
183192
blob_prefix == o.blob_prefix &&
193+
buffer == o.buffer &&
184194
container_name == o.container_name &&
185195
id == o.id &&
186196
inputs == o.inputs &&
@@ -192,7 +202,7 @@ def ==(o)
192202
# @return [Integer] Hash code
193203
# @!visibility private
194204
def hash
195-
[blob_prefix, container_name, id, inputs, type, additional_properties].hash
205+
[blob_prefix, buffer, container_name, id, inputs, type, additional_properties].hash
196206
end
197207
end
198208
end

lib/datadog_api_client/v2/models/microsoft_sentinel_destination.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
2121
class MicrosoftSentinelDestination
2222
include BaseGenericModel
2323

24+
# Configuration for buffer settings on destination components.
25+
attr_accessor :buffer
26+
2427
# Azure AD client ID used for authentication.
2528
attr_reader :client_id
2629

@@ -48,6 +51,7 @@ class MicrosoftSentinelDestination
4851
# @!visibility private
4952
def self.attribute_map
5053
{
54+
:'buffer' => :'buffer',
5155
:'client_id' => :'client_id',
5256
:'dcr_immutable_id' => :'dcr_immutable_id',
5357
:'id' => :'id',
@@ -62,6 +66,7 @@ def self.attribute_map
6266
# @!visibility private
6367
def self.openapi_types
6468
{
69+
:'buffer' => :'ObservabilityPipelineBufferOptions',
6570
:'client_id' => :'String',
6671
:'dcr_immutable_id' => :'String',
6772
:'id' => :'String',
@@ -90,6 +95,10 @@ def initialize(attributes = {})
9095
end
9196
}
9297

98+
if attributes.key?(:'buffer')
99+
self.buffer = attributes[:'buffer']
100+
end
101+
93102
if attributes.key?(:'client_id')
94103
self.client_id = attributes[:'client_id']
95104
end
@@ -231,6 +240,7 @@ def to_hash
231240
def ==(o)
232241
return true if self.equal?(o)
233242
self.class == o.class &&
243+
buffer == o.buffer &&
234244
client_id == o.client_id &&
235245
dcr_immutable_id == o.dcr_immutable_id &&
236246
id == o.id &&
@@ -245,7 +255,7 @@ def ==(o)
245255
# @return [Integer] Hash code
246256
# @!visibility private
247257
def hash
248-
[client_id, dcr_immutable_id, id, inputs, table, tenant_id, type, additional_properties].hash
258+
[buffer, client_id, dcr_immutable_id, id, inputs, table, tenant_id, type, additional_properties].hash
249259
end
250260
end
251261
end

0 commit comments

Comments
 (0)