Skip to content

Commit e2745d3

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

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-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-01-15 18:03:15.756398",
8-
"spec_repo_commit": "e54847a1"
7+
"regenerated": "2025-01-16 23:13:36.422161",
8+
"spec_repo_commit": "0ad24d9f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-15 18:03:15.771610",
13-
"spec_repo_commit": "e54847a1"
12+
"regenerated": "2025-01-16 23:13:36.437885",
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'

packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,23 +337,23 @@ export class RestrictionPoliciesApiResponseProcessor {
337337

338338
export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
339339
/**
340-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
340+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
341341
* @type string
342342
*/
343343
resourceId: string;
344344
}
345345

346346
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
347347
/**
348-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
348+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
349349
* @type string
350350
*/
351351
resourceId: string;
352352
}
353353

354354
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
355355
/**
356-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
356+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
357357
* @type string
358358
*/
359359
resourceId: string;
@@ -445,6 +445,10 @@ export class RestrictionPoliciesApi {
445445
* - Synthetic Tests: `synthetics-test`
446446
* - Synthetic Private Locations: `synthetics-private-location`
447447
* - Monitors: `monitor`
448+
* - Workflows: `workflow`
449+
* - App Builder Apps: `app-builder-app`
450+
* - Connections: `connection`
451+
* - Connection Groups: `connection-group`
448452
*
449453
* #### Supported relations for resources
450454
* Resource Type | Supported Relations
@@ -459,6 +463,10 @@ export class RestrictionPoliciesApi {
459463
* Synthetic Private Locations | `viewer`, `editor`
460464
* Monitors | `viewer`, `editor`
461465
* Reference Tables | `viewer`, `editor`
466+
* Workflows | `viewer`, `editor`
467+
* App Builder Apps | `viewer`, `runner`, `editor`
468+
* Connections | `viewer`, `resolver`, `editor`
469+
* Connection Groups | `viewer`, `editor`
462470
* @param param The request object
463471
*/
464472
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)