Skip to content

Commit 84fc502

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add rum application to restriction policy (#2984)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent db3cc2b commit 84fc502

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.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-05-27 17:12:18.286841",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-03 09:24:16.161506",
8+
"spec_repo_commit": "5906d277"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:18.303167",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-03 09:24:16.179321",
13+
"spec_repo_commit": "5906d277"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ components:
743743
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
744744
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
745745
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
746-
`connection`, `connection-group`.'
746+
`connection`, `connection-group`, `rum-application`.'
747747
example: dashboard:abc-def-ghi
748748
in: path
749749
name: resource_id
@@ -54215,6 +54215,8 @@ paths:
5421554215

5421654216
- Connection Groups: `connection-group`
5421754217

54218+
- RUM Applications: `rum-application`
54219+
5421854220

5421954221
#### Supported relations for resources
5422054222

@@ -54254,7 +54256,9 @@ paths:
5425454256

5425554257
Connections | `viewer`, `resolver`, `editor`
5425654258

54257-
Connection Groups | `viewer`, `editor`'
54259+
Connection Groups | `viewer`, `editor`
54260+
54261+
RUM Application | `viewer`, `editor`'
5425854262
operationId: UpdateRestrictionPolicy
5425954263
parameters:
5426054264
- $ref: '#/components/parameters/ResourceID'

api/datadogV2/api_restriction_policies.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
186186
// - App Builder Apps: `app-builder-app`
187187
// - Connections: `connection`
188188
// - Connection Groups: `connection-group`
189+
// - RUM Applications: `rum-application`
189190
//
190191
// #### Supported relations for resources
191192
// Resource Type | Supported Relations
@@ -207,6 +208,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
207208
// App Builder Apps | `viewer`, `editor`
208209
// Connections | `viewer`, `resolver`, `editor`
209210
// Connection Groups | `viewer`, `editor`
211+
// RUM Application | `viewer`, `editor`
210212
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) {
211213
var (
212214
localVarHTTPMethod = _nethttp.MethodPost

0 commit comments

Comments
 (0)