Skip to content

Commit 2e73b2f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add spreadsheet to restriction_policy specs (#2478)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 544c7e5 commit 2e73b2f

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-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-07-08 07:29:01.003088",
8-
"spec_repo_commit": "d9879085"
7+
"regenerated": "2025-07-08 19:08:07.248096",
8+
"spec_repo_commit": "7b042e12"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 07:29:01.093105",
13-
"spec_repo_commit": "d9879085"
12+
"regenerated": "2025-07-08 19:08:07.264039",
13+
"spec_repo_commit": "7b042e12"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,8 @@ components:
758758
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
759759
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
760760
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
761-
`connection`, `connection-group`, `rum-application`, `cross-org-connection`.'
761+
`connection`, `connection-group`, `rum-application`, `cross-org-connection`,
762+
`spreadsheet`.'
762763
example: dashboard:abc-def-ghi
763764
in: path
764765
name: resource_id
@@ -56504,6 +56505,8 @@ paths:
5650456505

5650556506
- Cross Org Connections: `cross-org-connection`
5650656507

56508+
- Spreadsheets: `spreadsheet`
56509+
5650756510

5650856511
#### Supported relations for resources
5650956512

@@ -56547,7 +56550,9 @@ paths:
5654756550

5654856551
RUM Application | `viewer`, `editor`
5654956552

56550-
Cross Org Connections | `viewer`, `editor`'
56553+
Cross Org Connections | `viewer`, `editor`
56554+
56555+
Spreadsheets | `viewer`, `editor`'
5655156556
operationId: UpdateRestrictionPolicy
5655256557
parameters:
5655356558
- $ref: '#/components/parameters/ResourceID'

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

Lines changed: 5 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`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
340+
* 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`, `cross-org-connection`, `spreadsheet`.
341341
* @type string
342342
*/
343343
resourceId: string;
344344
}
345345

346346
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
347347
/**
348-
* 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`, `cross-org-connection`.
348+
* 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`, `cross-org-connection`, `spreadsheet`.
349349
* @type string
350350
*/
351351
resourceId: string;
352352
}
353353

354354
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
355355
/**
356-
* 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`, `cross-org-connection`.
356+
* 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`, `cross-org-connection`, `spreadsheet`.
357357
* @type string
358358
*/
359359
resourceId: string;
@@ -454,6 +454,7 @@ export class RestrictionPoliciesApi {
454454
* - Connection Groups: `connection-group`
455455
* - RUM Applications: `rum-application`
456456
* - Cross Org Connections: `cross-org-connection`
457+
* - Spreadsheets: `spreadsheet`
457458
*
458459
* #### Supported relations for resources
459460
* Resource Type | Supported Relations
@@ -477,6 +478,7 @@ export class RestrictionPoliciesApi {
477478
* Connection Groups | `viewer`, `editor`
478479
* RUM Application | `viewer`, `editor`
479480
* Cross Org Connections | `viewer`, `editor`
481+
* Spreadsheets | `viewer`, `editor`
480482
* @param param The request object
481483
*/
482484
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)