Skip to content

Commit 6eb1456

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[ACCESSINT-158] Add low code resources to restriction policy APIs (#462)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9f7f479 commit 6eb1456

File tree

3 files changed

+39
-6
lines changed

3 files changed

+39
-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-01-15 18:03:10.176525",
8-
"spec_repo_commit": "e54847a1"
7+
"regenerated": "2025-01-16 23:13:34.260376",
8+
"spec_repo_commit": "0ad24d9f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-15 18:03:10.191590",
13-
"spec_repo_commit": "e54847a1"
12+
"regenerated": "2025-01-16 23:13:34.280676",
13+
"spec_repo_commit": "0ad24d9f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,8 @@ components:
601601
type: string
602602
ResourceID:
603603
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
604-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.'
604+
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
605+
`app-builder-app`, `connection`, `connection-group`.'
605606
example: dashboard:abc-def-ghi
606607
in: path
607608
name: resource_id
@@ -41037,6 +41038,14 @@ paths:
4103741038

4103841039
- Monitors: `monitor`
4103941040

41041+
- Workflows: `workflow`
41042+
41043+
- App Builder Apps: `app-builder-app`
41044+
41045+
- Connections: `connection`
41046+
41047+
- Connection Groups: `connection-group`
41048+
4104041049

4104141050
#### Supported relations for resources
4104241051

@@ -41062,7 +41071,15 @@ paths:
4106241071

4106341072
Monitors | `viewer`, `editor`
4106441073

41065-
Reference Tables | `viewer`, `editor`'
41074+
Reference Tables | `viewer`, `editor`
41075+
41076+
Workflows | `viewer`, `editor`
41077+
41078+
App Builder Apps | `viewer`, `runner`, `editor`
41079+
41080+
Connections | `viewer`, `resolver`, `editor`
41081+
41082+
Connection Groups | `viewer`, `editor`'
4106641083
operationId: UpdateRestrictionPolicy
4106741084
parameters:
4106841085
- $ref: '#/components/parameters/ResourceID'

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ impl RestrictionPoliciesAPI {
334334
/// - Synthetic Tests: `synthetics-test`
335335
/// - Synthetic Private Locations: `synthetics-private-location`
336336
/// - Monitors: `monitor`
337+
/// - Workflows: `workflow`
338+
/// - App Builder Apps: `app-builder-app`
339+
/// - Connections: `connection`
340+
/// - Connection Groups: `connection-group`
337341
///
338342
/// #### Supported relations for resources
339343
/// Resource Type | Supported Relations
@@ -348,6 +352,10 @@ impl RestrictionPoliciesAPI {
348352
/// Synthetic Private Locations | `viewer`, `editor`
349353
/// Monitors | `viewer`, `editor`
350354
/// Reference Tables | `viewer`, `editor`
355+
/// Workflows | `viewer`, `editor`
356+
/// App Builder Apps | `viewer`, `runner`, `editor`
357+
/// Connections | `viewer`, `resolver`, `editor`
358+
/// Connection Groups | `viewer`, `editor`
351359
pub async fn update_restriction_policy(
352360
&self,
353361
resource_id: String,
@@ -388,6 +396,10 @@ impl RestrictionPoliciesAPI {
388396
/// - Synthetic Tests: `synthetics-test`
389397
/// - Synthetic Private Locations: `synthetics-private-location`
390398
/// - Monitors: `monitor`
399+
/// - Workflows: `workflow`
400+
/// - App Builder Apps: `app-builder-app`
401+
/// - Connections: `connection`
402+
/// - Connection Groups: `connection-group`
391403
///
392404
/// #### Supported relations for resources
393405
/// Resource Type | Supported Relations
@@ -402,6 +414,10 @@ impl RestrictionPoliciesAPI {
402414
/// Synthetic Private Locations | `viewer`, `editor`
403415
/// Monitors | `viewer`, `editor`
404416
/// Reference Tables | `viewer`, `editor`
417+
/// Workflows | `viewer`, `editor`
418+
/// App Builder Apps | `viewer`, `runner`, `editor`
419+
/// Connections | `viewer`, `resolver`, `editor`
420+
/// Connection Groups | `viewer`, `editor`
405421
pub async fn update_restriction_policy_with_http_info(
406422
&self,
407423
resource_id: String,

0 commit comments

Comments
 (0)