Skip to content

Commit 20dae90

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add spreadsheet to restriction_policy specs (#770)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0449a40 commit 20dae90

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-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-07-08 07:28:55.272683",
8-
"spec_repo_commit": "d9879085"
7+
"regenerated": "2025-07-08 19:08:05.438773",
8+
"spec_repo_commit": "7b042e12"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 07:28:55.288731",
13-
"spec_repo_commit": "d9879085"
12+
"regenerated": "2025-07-08 19:08:05.457615",
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'

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ impl RestrictionPoliciesAPI {
343343
/// - Connection Groups: `connection-group`
344344
/// - RUM Applications: `rum-application`
345345
/// - Cross Org Connections: `cross-org-connection`
346+
/// - Spreadsheets: `spreadsheet`
346347
///
347348
/// #### Supported relations for resources
348349
/// Resource Type | Supported Relations
@@ -366,6 +367,7 @@ impl RestrictionPoliciesAPI {
366367
/// Connection Groups | `viewer`, `editor`
367368
/// RUM Application | `viewer`, `editor`
368369
/// Cross Org Connections | `viewer`, `editor`
370+
/// Spreadsheets | `viewer`, `editor`
369371
pub async fn update_restriction_policy(
370372
&self,
371373
resource_id: String,
@@ -415,6 +417,7 @@ impl RestrictionPoliciesAPI {
415417
/// - Connection Groups: `connection-group`
416418
/// - RUM Applications: `rum-application`
417419
/// - Cross Org Connections: `cross-org-connection`
420+
/// - Spreadsheets: `spreadsheet`
418421
///
419422
/// #### Supported relations for resources
420423
/// Resource Type | Supported Relations
@@ -438,6 +441,7 @@ impl RestrictionPoliciesAPI {
438441
/// Connection Groups | `viewer`, `editor`
439442
/// RUM Application | `viewer`, `editor`
440443
/// Cross Org Connections | `viewer`, `editor`
444+
/// Spreadsheets | `viewer`, `editor`
441445
pub async fn update_restriction_policy_with_http_info(
442446
&self,
443447
resource_id: String,

0 commit comments

Comments
 (0)