Skip to content

Commit aeb0bfd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add spreadsheet to restriction_policy specs (#3203)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6ed141b commit aeb0bfd

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

.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:03.093450",
8-
"spec_repo_commit": "d9879085"
7+
"regenerated": "2025-07-08 19:08:05.331993",
8+
"spec_repo_commit": "7b042e12"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 07:29:03.110023",
13-
"spec_repo_commit": "d9879085"
12+
"regenerated": "2025-07-08 19:08:05.349225",
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'

api/datadogV2/api_restriction_policies.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
188188
// - Connection Groups: `connection-group`
189189
// - RUM Applications: `rum-application`
190190
// - Cross Org Connections: `cross-org-connection`
191+
// - Spreadsheets: `spreadsheet`
191192
//
192193
// #### Supported relations for resources
193194
// Resource Type | Supported Relations
@@ -211,6 +212,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
211212
// Connection Groups | `viewer`, `editor`
212213
// RUM Application | `viewer`, `editor`
213214
// Cross Org Connections | `viewer`, `editor`
215+
// Spreadsheets | `viewer`, `editor`
214216
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) {
215217
var (
216218
localVarHTTPMethod = _nethttp.MethodPost

0 commit comments

Comments
 (0)