Skip to content

Commit a9ceb39

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cfc0156e of spec repo
1 parent 4f5c254 commit a9ceb39

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.apigentools-info

+4-4
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-03-17 21:06:24.768750",
8-
"spec_repo_commit": "2dfddc18"
7+
"regenerated": "2025-03-19 18:54:45.531919",
8+
"spec_repo_commit": "cfc0156e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-17 21:06:24.785221",
13-
"spec_repo_commit": "2dfddc18"
12+
"regenerated": "2025-03-19 18:54:45.547528",
13+
"spec_repo_commit": "cfc0156e"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ components:
655655
ResourceID:
656656
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
657657
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
658-
`app-builder-app`, `connection`, `connection-group`.'
658+
`app-builder-app`, `connection`, `connection-group`, `rum-application`.'
659659
example: dashboard:abc-def-ghi
660660
in: path
661661
name: resource_id
@@ -45481,6 +45481,8 @@ paths:
4548145481

4548245482
- Connection Groups: `connection-group`
4548345483

45484+
- RUM Applications: `rum-application`
45485+
4548445486

4548545487
#### Supported relations for resources
4548645488

@@ -45514,7 +45516,9 @@ paths:
4551445516

4551545517
Connections | `viewer`, `resolver`, `editor`
4551645518

45517-
Connection Groups | `viewer`, `editor`'
45519+
Connection Groups | `viewer`, `editor`
45520+
45521+
RUM Application | `viewer`, `editor`'
4551845522
operationId: UpdateRestrictionPolicy
4551945523
parameters:
4552045524
- $ref: '#/components/parameters/ResourceID'

src/datadog_api_client/v2/api/restriction_policies_api.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def delete_restriction_policy(
112112
113113
Deletes the restriction policy associated with a specified resource.
114114
115-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
115+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application``.
116116
:type resource_id: str
117117
:rtype: None
118118
"""
@@ -129,7 +129,7 @@ def get_restriction_policy(
129129
130130
Retrieves the restriction policy associated with a specified resource.
131131
132-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
132+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application``.
133133
:type resource_id: str
134134
:rtype: RestrictionPolicyResponse
135135
"""
@@ -167,6 +167,7 @@ def update_restriction_policy(
167167
* App Builder Apps: ``app-builder-app``
168168
* Connections: ``connection``
169169
* Connection Groups: ``connection-group``
170+
* RUM Applications: ``rum-application``
170171
171172
**Supported relations for resources**
172173
@@ -203,9 +204,11 @@ def update_restriction_policy(
203204
- ``viewer`` , ``resolver`` , ``editor``
204205
* - Connection Groups
205206
- ``viewer`` , ``editor``
207+
* - RUM Application
208+
- ``viewer`` , ``editor``
206209
207210
208-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
211+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application``.
209212
:type resource_id: str
210213
:param body: Restriction policy payload
211214
:type body: RestrictionPolicyUpdateRequest

0 commit comments

Comments
 (0)