From 039df6a939d3fe4fdb30119fd578f4f3f596f159 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 1 Jul 2025 18:55:42 +0000 Subject: [PATCH] Regenerate client from commit a05b5d62 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 13 ++++++++++++- .../models/MetricAssetAttributes.ts | 10 +++++++++- .../models/MetricMonitorAsset.ts | 2 +- .../models/MetricNotebookAsset.ts | 2 +- .../datadog-api-client-v2/models/MetricSLOAsset.ts | 2 +- 6 files changed, 28 insertions(+), 9 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 10dce728f9f3..a04430078135 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-30 17:05:06.556731", - "spec_repo_commit": "d8e7ee77" + "regenerated": "2025-07-01 18:53:57.193758", + "spec_repo_commit": "a05b5d62" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-30 17:05:06.572612", - "spec_repo_commit": "d8e7ee77" + "regenerated": "2025-07-01 18:53:57.213435", + "spec_repo_commit": "a05b5d62" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d5a8de2b6ae7..97c4250f3a6e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -21719,8 +21719,19 @@ components: readOnly: true type: object MetricAssetAttributes: - description: Assets related to the object, including title and url. + description: Assets related to the object, including title, url, and tags. properties: + tags: + description: List of tag keys used across all assets containing this metric. + example: + - env + - service + - host + - datacenter + items: + description: Tag key used in assets. + type: string + type: array title: description: Title of the asset. type: string diff --git a/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts b/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts index f2384b3f591a..96b7ab6ae50a 100644 --- a/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts @@ -7,9 +7,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Assets related to the object, including title and url. + * Assets related to the object, including title, url, and tags. */ export class MetricAssetAttributes { + /** + * List of tag keys used across all assets containing this metric. + */ + "tags"?: Array; /** * Title of the asset. */ @@ -35,6 +39,10 @@ export class MetricAssetAttributes { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + tags: { + baseName: "tags", + type: "Array", + }, title: { baseName: "title", type: "string", diff --git a/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts b/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts index 3934d0296e82..496eaa335590 100644 --- a/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts +++ b/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class MetricMonitorAsset { /** - * Assets related to the object, including title and url. + * Assets related to the object, including title, url, and tags. */ "attributes"?: MetricAssetAttributes; /** diff --git a/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts b/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts index 4adc6dc874db..35fb2caf311d 100644 --- a/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts +++ b/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class MetricNotebookAsset { /** - * Assets related to the object, including title and url. + * Assets related to the object, including title, url, and tags. */ "attributes"?: MetricAssetAttributes; /** diff --git a/packages/datadog-api-client-v2/models/MetricSLOAsset.ts b/packages/datadog-api-client-v2/models/MetricSLOAsset.ts index b80d0822ba55..6bfcbc2cff37 100644 --- a/packages/datadog-api-client-v2/models/MetricSLOAsset.ts +++ b/packages/datadog-api-client-v2/models/MetricSLOAsset.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class MetricSLOAsset { /** - * Assets related to the object, including title and url. + * Assets related to the object, including title, url, and tags. */ "attributes"?: MetricAssetAttributes; /**