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
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "0f70319",
"generated": "2025-08-01 15:33:36.510"
"spec_repo_commit": "35630f3",
"generated": "2025-08-01 18:18:57.804"
}
17 changes: 15 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ components:
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
`rum-application`, `cross-org-connection`, `spreadsheet`.'
`rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`,
`on-call-escalation-policy`, `on-call-team-routing-rules.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -59320,6 +59321,12 @@ paths:

- Spreadsheets: `spreadsheet`

- On-Call Schedules: `on-call-schedule`

- On-Call Escalation Policies: `on-call-escalation-policy`

- On-Call Team Routing Rules: `on-call-team-routing-rules`


#### Supported relations for resources

Expand Down Expand Up @@ -59363,7 +59370,13 @@ paths:

Cross Org Connections | `viewer`, `editor`

Spreadsheets | `viewer`, `editor`'
Spreadsheets | `viewer`, `editor`

On-Call Schedules | `viewer`, `overrider`, `editor`

On-Call Escalation Policies | `viewer`, `editor`

On-Call Team Routing Rules | `viewer`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
6 changes: 6 additions & 0 deletions api/datadogV2/api_restriction_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
// - RUM Applications: `rum-application`
// - Cross Org Connections: `cross-org-connection`
// - Spreadsheets: `spreadsheet`
// - On-Call Schedules: `on-call-schedule`
// - On-Call Escalation Policies: `on-call-escalation-policy`
// - On-Call Team Routing Rules: `on-call-team-routing-rules`
//
// #### Supported relations for resources
// Resource Type | Supported Relations
Expand All @@ -225,6 +228,9 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
// RUM Application | `viewer`, `editor`
// Cross Org Connections | `viewer`, `editor`
// Spreadsheets | `viewer`, `editor`
// On-Call Schedules | `viewer`, `overrider`, `editor`
// On-Call Escalation Policies | `viewer`, `editor`
// On-Call Team Routing Rules | `viewer`, `editor`
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down
Loading