Skip to content

Commit 29d2316

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[dashboards] Unmark restricted_roles as deprecated (#2335)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 54c21bd commit 29d2316

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-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.6",
7-
"regenerated": "2025-01-06 19:03:08.173026",
8-
"spec_repo_commit": "b56ea2d7"
7+
"regenerated": "2025-01-07 19:53:46.976483",
8+
"spec_repo_commit": "d63fa330"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-06 19:03:08.194805",
13-
"spec_repo_commit": "b56ea2d7"
12+
"regenerated": "2025-01-07 19:53:46.990711",
13+
"spec_repo_commit": "d63fa330"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,13 +1209,8 @@ components:
12091209
reflow_type:
12101210
$ref: '#/components/schemas/DashboardReflowType'
12111211
restricted_roles:
1212-
deprecated: true
1213-
description: 'A list of role identifiers. Only the author and users associated
1212+
description: A list of role identifiers. Only the author and users associated
12141213
with at least one of these roles can edit this dashboard.
1215-
1216-
1217-
This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/)
1218-
instead to manage write authorization for individual dashboards.'
12191214
items:
12201215
description: A role UUID.
12211216
type: string

src/datadog_api_client/v1/model/dashboard.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ def __init__(
146146
:type reflow_type: DashboardReflowType, optional
147147
148148
:param restricted_roles: A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
149-
150-
This property is deprecated; please use the `Restriction Policies API <https://docs.datadoghq.com/api/latest/restriction-policies/>`_ instead to manage write authorization for individual dashboards. **Deprecated**.
151149
:type restricted_roles: [str], optional
152150
153151
:param tags: List of team names representing ownership of a dashboard.

0 commit comments

Comments
 (0)