diff --git a/.generated-info b/.generated-info index fcc03e4806..11102387ef 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "e4f653f", - "generated": "2025-07-25 14:07:32.279" + "spec_repo_commit": "b737cc4", + "generated": "2025-07-28 13:11:36.840" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 64cfcb7b7c..c8e3b92e10 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -22867,6 +22867,17 @@ components: maximum: 5 minimum: 0 type: number + tags: + description: List of tag keys used in the asset. + 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/src/datadog_api_client/v2/model/metric_dashboard_attributes.py b/src/datadog_api_client/v2/model/metric_dashboard_attributes.py index 5e413bac72..9618c55fae 100644 --- a/src/datadog_api_client/v2/model/metric_dashboard_attributes.py +++ b/src/datadog_api_client/v2/model/metric_dashboard_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import List, Union from datadog_api_client.model_utils import ( ModelNormal, @@ -25,12 +25,14 @@ class MetricDashboardAttributes(ModelNormal): def openapi_types(_): return { "popularity": (float,), + "tags": ([str],), "title": (str,), "url": (str,), } attribute_map = { "popularity": "popularity", + "tags": "tags", "title": "title", "url": "url", } @@ -38,6 +40,7 @@ def openapi_types(_): def __init__( self_, popularity: Union[float, UnsetType] = unset, + tags: Union[List[str], UnsetType] = unset, title: Union[str, UnsetType] = unset, url: Union[str, UnsetType] = unset, **kwargs, @@ -48,6 +51,9 @@ def __init__( :param popularity: Value from 0 to 5 that ranks popularity of the dashboard. :type popularity: float, optional + :param tags: List of tag keys used in the asset. + :type tags: [str], optional + :param title: Title of the asset. :type title: str, optional @@ -56,6 +62,8 @@ def __init__( """ if popularity is not unset: kwargs["popularity"] = popularity + if tags is not unset: + kwargs["tags"] = tags if title is not unset: kwargs["title"] = title if url is not unset: