Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-27 12:12:28.154237",
"spec_repo_commit": "09daef2e"
"regenerated": "2024-08-28 20:31:00.396808",
"spec_repo_commit": "6b2f00dd"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-27 12:12:28.172796",
"spec_repo_commit": "09daef2e"
"regenerated": "2024-08-28 20:31:00.415198",
"spec_repo_commit": "6b2f00dd"
}
}
}
7 changes: 4 additions & 3 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6725,9 +6725,10 @@ components:
be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles)
and are located in the `data.id` field. Editing a monitor includes any
updates to the monitor configuration, monitor deletion, and muting of
the monitor for any amount of time. `restricted_roles` is the successor
of `locked`. For more information about `locked` and `restricted_roles`,
see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
the monitor for any amount of time. You can use the [Restriction Policies
API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage
write authorization for individual monitors by teams and users, in addition
to roles.
items:
description: A role UUID.
type: string
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v1/models/monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Monitor
# The monitor query.
attr_reader :query

# A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. `restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`, see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
# A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. You can use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage write authorization for individual monitors by teams and users, in addition to roles.
attr_accessor :restricted_roles

# Wrapper object with the different monitor states.
Expand Down