Skip to content

Commit

Permalink
Remove reference to locked (#1979)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Aug 29, 2024
1 parent 877da7b commit 4d29622
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
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

0 comments on commit 4d29622

Please sign in to comment.