Skip to content

Commit 165184c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add rum application to restriction policy (#562)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent de12381 commit 165184c

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
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-05-27 17:12:16.501759",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-03 09:24:13.740178",
8+
"spec_repo_commit": "5906d277"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:16.518477",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-03 09:24:13.756322",
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'

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ impl RestrictionPoliciesAPI {
341341
/// - App Builder Apps: `app-builder-app`
342342
/// - Connections: `connection`
343343
/// - Connection Groups: `connection-group`
344+
/// - RUM Applications: `rum-application`
344345
///
345346
/// #### Supported relations for resources
346347
/// Resource Type | Supported Relations
@@ -362,6 +363,7 @@ impl RestrictionPoliciesAPI {
362363
/// App Builder Apps | `viewer`, `editor`
363364
/// Connections | `viewer`, `resolver`, `editor`
364365
/// Connection Groups | `viewer`, `editor`
366+
/// RUM Application | `viewer`, `editor`
365367
pub async fn update_restriction_policy(
366368
&self,
367369
resource_id: String,
@@ -409,6 +411,7 @@ impl RestrictionPoliciesAPI {
409411
/// - App Builder Apps: `app-builder-app`
410412
/// - Connections: `connection`
411413
/// - Connection Groups: `connection-group`
414+
/// - RUM Applications: `rum-application`
412415
///
413416
/// #### Supported relations for resources
414417
/// Resource Type | Supported Relations
@@ -430,6 +433,7 @@ impl RestrictionPoliciesAPI {
430433
/// App Builder Apps | `viewer`, `editor`
431434
/// Connections | `viewer`, `resolver`, `editor`
432435
/// Connection Groups | `viewer`, `editor`
436+
/// RUM Application | `viewer`, `editor`
433437
pub async fn update_restriction_policy_with_http_info(
434438
&self,
435439
resource_id: String,

0 commit comments

Comments
 (0)