Skip to content

Commit 24bdc56

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add spreadsheet to restriction_policy specs (#2521)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d8d376f commit 24bdc56

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:02.458919",
8-
"spec_repo_commit": "d9879085"
7+
"regenerated": "2025-07-08 19:08:06.298818",
8+
"spec_repo_commit": "7b042e12"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 07:29:02.475424",
13-
"spec_repo_commit": "d9879085"
12+
"regenerated": "2025-07-08 19:08:06.315210",
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'

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535
#
3636
# Deletes the restriction policy associated with a specified resource.
3737
#
38-
# @param resource_id [String] 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`.
38+
# @param resource_id [String] 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`.
3939
# @param opts [Hash] the optional parameters
4040
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141
def delete_restriction_policy_with_http_info(resource_id, opts = {})
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100
#
101101
# Retrieves the restriction policy associated with a specified resource.
102102
#
103-
# @param resource_id [String] 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`.
103+
# @param resource_id [String] 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`.
104104
# @param opts [Hash] the optional parameters
105105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106
def get_restriction_policy_with_http_info(resource_id, opts = {})
@@ -186,6 +186,7 @@ def update_restriction_policy(resource_id, body, opts = {})
186186
# - Connection Groups: `connection-group`
187187
# - RUM Applications: `rum-application`
188188
# - Cross Org Connections: `cross-org-connection`
189+
# - Spreadsheets: `spreadsheet`
189190
#
190191
# #### Supported relations for resources
191192
# Resource Type | Supported Relations
@@ -209,8 +210,9 @@ def update_restriction_policy(resource_id, body, opts = {})
209210
# Connection Groups | `viewer`, `editor`
210211
# RUM Application | `viewer`, `editor`
211212
# Cross Org Connections | `viewer`, `editor`
213+
# Spreadsheets | `viewer`, `editor`
212214
#
213-
# @param resource_id [String] 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`.
215+
# @param resource_id [String] 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`.
214216
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
215217
# @param opts [Hash] the optional parameters
216218
# @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.

0 commit comments

Comments
 (0)