Skip to content

Commit 5384d67

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 901aaeda of spec repo (#756)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent d325a4a commit 5384d67

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-07-08 15:01:23.296113",
8-
"spec_repo_commit": "5a020acd"
7+
"regenerated": "2022-07-11 16:11:57.429103",
8+
"spec_repo_commit": "901aaeda"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-07-08 15:01:23.313740",
13-
"spec_repo_commit": "5a020acd"
12+
"regenerated": "2022-07-11 16:11:57.444736",
13+
"spec_repo_commit": "901aaeda"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4110,21 +4110,20 @@ components:
41104110
x-enum-varnames:
41114111
- METRIC_VOLUMES
41124112
MetricIntakeType:
4113-
description: The type of metric.
4113+
description: The type of metric. The available types are `0` (unspecified),
4114+
`1` (count), `2` (rate), and `3` (gauge).
41144115
enum:
41154116
- 0
41164117
- 1
41174118
- 2
41184119
- 3
4119-
- 15
41204120
format: int32
41214121
type: integer
41224122
x-enum-varnames:
41234123
- UNSPECIFIED
41244124
- COUNT
41254125
- RATE
41264126
- GAUGE
4127-
- UNSPECIFIED_LEGACY
41284127
MetricMetadata:
41294128
description: Metadata for the metric.
41304129
properties:

packages/datadog-api-client-v2/models/MetricIntakeType.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ export type MetricIntakeType =
88
| typeof UNSPECIFIED
99
| typeof COUNT
1010
| typeof RATE
11-
| typeof GAUGE
12-
| typeof UNSPECIFIED_LEGACY;
11+
| typeof GAUGE;
1312
export const UNSPECIFIED = 0;
1413
export const COUNT = 1;
1514
export const RATE = 2;
1615
export const GAUGE = 3;
17-
export const UNSPECIFIED_LEGACY = 15;

packages/datadog-api-client-v2/models/MetricSeries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class MetricSeries {
4444
*/
4545
"tags"?: Array<string>;
4646
/**
47-
* The type of metric.
47+
* The type of metric. The available types are `0` (unspecified), `1` (count), `2` (rate), and `3` (gauge).
4848
*/
4949
"type"?: MetricIntakeType;
5050
/**

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ const enumsMap: { [key: string]: any[] } = {
487487
MetricEstimateResourceType: ["metric_cardinality_estimate"],
488488
MetricEstimateType: ["count_or_gauge", "distribution", "percentile"],
489489
MetricIngestedIndexedVolumeType: ["metric_volumes"],
490-
MetricIntakeType: [0, 1, 2, 3, 15],
490+
MetricIntakeType: [0, 1, 2, 3],
491491
MetricTagConfigurationMetricTypes: ["gauge", "count", "rate", "distribution"],
492492
MetricTagConfigurationType: ["manage_tags"],
493493
MetricType: ["metrics"],

0 commit comments

Comments
 (0)