Skip to content

Commit d481437

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 31277fe of spec repo
1 parent 523254f commit d481437

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45795,6 +45795,13 @@ components:
4579545795
description: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
4579645796
example: splunk-hec-source
4579745797
type: string
45798+
store_hec_token:
45799+
default: false
45800+
description: |-
45801+
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
45802+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
45803+
example: true
45804+
type: boolean
4579845805
tls:
4579945806
$ref: "#/components/schemas/ObservabilityPipelineTls"
4580045807
type:

lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class ObservabilityPipelineSplunkHecSource
2929
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
3030
attr_reader :id
3131

32+
# If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
33+
# processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
34+
attr_accessor :store_hec_token
35+
3236
# Configuration for enabling TLS encryption between the pipeline component and external services.
3337
attr_accessor :tls
3438

@@ -43,6 +47,7 @@ def self.attribute_map
4347
{
4448
:'address_key' => :'address_key',
4549
:'id' => :'id',
50+
:'store_hec_token' => :'store_hec_token',
4651
:'tls' => :'tls',
4752
:'type' => :'type'
4853
}
@@ -54,6 +59,7 @@ def self.openapi_types
5459
{
5560
:'address_key' => :'String',
5661
:'id' => :'String',
62+
:'store_hec_token' => :'Boolean',
5763
:'tls' => :'ObservabilityPipelineTls',
5864
:'type' => :'ObservabilityPipelineSplunkHecSourceType'
5965
}
@@ -85,6 +91,10 @@ def initialize(attributes = {})
8591
self.id = attributes[:'id']
8692
end
8793

94+
if attributes.key?(:'store_hec_token')
95+
self.store_hec_token = attributes[:'store_hec_token']
96+
end
97+
8898
if attributes.key?(:'tls')
8999
self.tls = attributes[:'tls']
90100
end
@@ -151,6 +161,7 @@ def ==(o)
151161
self.class == o.class &&
152162
address_key == o.address_key &&
153163
id == o.id &&
164+
store_hec_token == o.store_hec_token &&
154165
tls == o.tls &&
155166
type == o.type &&
156167
additional_properties == o.additional_properties
@@ -160,7 +171,7 @@ def ==(o)
160171
# @return [Integer] Hash code
161172
# @!visibility private
162173
def hash
163-
[address_key, id, tls, type, additional_properties].hash
174+
[address_key, id, store_hec_token, tls, type, additional_properties].hash
164175
end
165176
end
166177
end

0 commit comments

Comments
 (0)