Skip to content

Commit fdc8194

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

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:03.772449",
8-
"spec_repo_commit": "b56ea2d7"
7+
"regenerated": "2025-01-07 19:53:43.056949",
8+
"spec_repo_commit": "d63fa330"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-06 19:03:03.787661",
13-
"spec_repo_commit": "b56ea2d7"
12+
"regenerated": "2025-01-07 19:53:43.071705",
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

lib/datadog_api_client/v1/models/dashboard.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ class Dashboard
5757
attr_accessor :reflow_type
5858

5959
# A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
60-
#
61-
# 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.
6260
attr_accessor :restricted_roles
6361

6462
# List of team names representing ownership of a dashboard.

0 commit comments

Comments
 (0)