Skip to content

Commit 4bb718e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add rum application to restriction policy (#2292)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 584f4e8 commit 4bb718e

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
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:13.372089",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-03 09:24:18.710206",
8+
"spec_repo_commit": "5906d277"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:13.387673",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-03 09:24:18.726290",
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'

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535
#
3636
# Deletes the restriction policy associated with a specified resource.
3737
#
38-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
3939
# @param opts [Hash] the optional parameters
4040
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141
def delete_restriction_policy_with_http_info(resource_id, opts = {})
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100
#
101101
# Retrieves the restriction policy associated with a specified resource.
102102
#
103-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
104104
# @param opts [Hash] the optional parameters
105105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106
def get_restriction_policy_with_http_info(resource_id, opts = {})
@@ -184,6 +184,7 @@ def update_restriction_policy(resource_id, body, opts = {})
184184
# - App Builder Apps: `app-builder-app`
185185
# - Connections: `connection`
186186
# - Connection Groups: `connection-group`
187+
# - RUM Applications: `rum-application`
187188
#
188189
# #### Supported relations for resources
189190
# Resource Type | Supported Relations
@@ -205,8 +206,9 @@ def update_restriction_policy(resource_id, body, opts = {})
205206
# App Builder Apps | `viewer`, `editor`
206207
# Connections | `viewer`, `resolver`, `editor`
207208
# Connection Groups | `viewer`, `editor`
209+
# RUM Application | `viewer`, `editor`
208210
#
209-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
211+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
210212
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
211213
# @param opts [Hash] the optional parameters
212214
# @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.

0 commit comments

Comments
 (0)