Skip to content

Commit bb254bc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6fe338a of spec repo
1 parent a7015da commit bb254bc

3 files changed

Lines changed: 64 additions & 7 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8112,6 +8112,12 @@ components:
81128112
type: object
81138113
MetricsListResponse:
81148114
description: Object listing all metric names stored by Datadog since a given time.
8115+
example:
8116+
from: "1571011200"
8117+
metrics:
8118+
- system.cpu.idle
8119+
- system.mem.free
8120+
- aws.ec2.cpuutilization
81158121
properties:
81168122
from:
81178123
description: Time when the metrics were active, seconds since the Unix epoch.

.generator/schemas/v2/openapi.yaml

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64968,6 +64968,9 @@ components:
6496864968
description: The ID of a component whose output is used as input for this destination.
6496964969
type: string
6497064970
type: array
64971+
tls:
64972+
$ref: "#/components/schemas/ObservabilityPipelineTls"
64973+
description: Configuration for TLS encryption.
6497164974
type:
6497264975
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
6497364976
required:
@@ -152933,10 +152936,21 @@ paths:
152933152936
examples:
152934152937
default:
152935152938
value:
152936-
data: []
152939+
data:
152940+
- id: system.cpu.user
152941+
type: metrics
152942+
- attributes:
152943+
created_at: "2020-03-25T09:48:37.463835Z"
152944+
metric_type: gauge
152945+
modified_at: "2020-04-25T09:48:37.463835Z"
152946+
tags:
152947+
- app
152948+
- datacenter
152949+
id: http.endpoint.request
152950+
type: manage_tags
152937152951
meta:
152938152952
pagination:
152939-
next_cursor:
152953+
next_cursor: eyJhZnRlciI6Imh0dHAuZW5kcG9pbnQucmVxdWVzdCJ9
152940152954
with_metric_volumes:
152941152955
value:
152942152956
data:
@@ -153779,12 +153793,30 @@ paths:
153779153793
id: http.endpoint.request
153780153794
relationships:
153781153795
dashboards:
153782-
data: []
153796+
data:
153797+
- id: abc-def-xyz
153798+
type: dashboards
153783153799
monitors:
153784-
data: []
153800+
data:
153801+
- id: "1775073"
153802+
type: monitors
153785153803
notebooks:
153786153804
data: []
153805+
slos:
153806+
data: []
153787153807
type: metrics
153808+
included:
153809+
- attributes:
153810+
popularity: 3.0
153811+
title: My Dashboard
153812+
url: /dashboard/abc-def-xyz
153813+
id: abc-def-xyz
153814+
type: dashboards
153815+
- attributes:
153816+
title: CPU utilization is high
153817+
url: /monitors/1775073
153818+
id: "1775073"
153819+
type: monitors
153788153820
schema:
153789153821
$ref: "#/components/schemas/MetricAssetsResponse"
153790153822
description: Success
@@ -153928,8 +153960,17 @@ paths:
153928153960
examples:
153929153961
default:
153930153962
value:
153931-
data: []
153932-
meta: {}
153963+
data:
153964+
- attributes:
153965+
cardinality_delta: 25
153966+
id: host
153967+
type: tag_cardinality
153968+
- attributes:
153969+
cardinality_delta: 5
153970+
id: env
153971+
type: tag_cardinality
153972+
meta:
153973+
metric_name: system.cpu.user
153933153974
schema:
153934153975
$ref: "#/components/schemas/MetricTagCardinalitiesResponse"
153935153976
description: Success

lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class ObservabilityPipelineCloudPremDestination
3535
# A list of component IDs whose output is used as the `input` for this component.
3636
attr_reader :inputs
3737

38+
# Configuration for enabling TLS encryption between the pipeline component and external services.
39+
attr_accessor :tls
40+
3841
# The destination type. The value should always be `cloud_prem`.
3942
attr_reader :type
4043

@@ -48,6 +51,7 @@ def self.attribute_map
4851
:'endpoint_url_key' => :'endpoint_url_key',
4952
:'id' => :'id',
5053
:'inputs' => :'inputs',
54+
:'tls' => :'tls',
5155
:'type' => :'type'
5256
}
5357
end
@@ -60,6 +64,7 @@ def self.openapi_types
6064
:'endpoint_url_key' => :'String',
6165
:'id' => :'String',
6266
:'inputs' => :'Array<String>',
67+
:'tls' => :'ObservabilityPipelineTls',
6368
:'type' => :'ObservabilityPipelineCloudPremDestinationType'
6469
}
6570
end
@@ -100,6 +105,10 @@ def initialize(attributes = {})
100105
end
101106
end
102107

108+
if attributes.key?(:'tls')
109+
self.tls = attributes[:'tls']
110+
end
111+
103112
if attributes.key?(:'type')
104113
self.type = attributes[:'type']
105114
end
@@ -175,6 +184,7 @@ def ==(o)
175184
endpoint_url_key == o.endpoint_url_key &&
176185
id == o.id &&
177186
inputs == o.inputs &&
187+
tls == o.tls &&
178188
type == o.type &&
179189
additional_properties == o.additional_properties
180190
end
@@ -183,7 +193,7 @@ def ==(o)
183193
# @return [Integer] Hash code
184194
# @!visibility private
185195
def hash
186-
[buffer, endpoint_url_key, id, inputs, type, additional_properties].hash
196+
[buffer, endpoint_url_key, id, inputs, tls, type, additional_properties].hash
187197
end
188198
end
189199
end

0 commit comments

Comments
 (0)