Skip to content

Commit 7040651

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d7759544 of spec repo
1 parent 2ade699 commit 7040651

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-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-03-28 15:07:48.185211",
8-
"spec_repo_commit": "3f3e8eaf"
7+
"regenerated": "2025-03-28 19:43:28.677709",
8+
"spec_repo_commit": "d7759544"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-28 15:07:48.208726",
13-
"spec_repo_commit": "3f3e8eaf"
12+
"regenerated": "2025-03-28 19:43:28.719325",
13+
"spec_repo_commit": "d7759544"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ components:
654654
type: string
655655
ResourceID:
656656
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
657-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
658-
`app-builder-app`, `connection`, `connection-group`.'
657+
`dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`,
658+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.'
659659
example: dashboard:abc-def-ghi
660660
in: path
661661
name: resource_id
@@ -45533,6 +45533,10 @@ paths:
4553345533

4553445534
- Dashboards: `dashboard`
4553545535

45536+
- Integration Accounts: `integration-account`
45537+
45538+
- Integration Webhooks: `integration-webhook`
45539+
4553645540
- Notebooks: `notebook`
4553745541

4553845542
- Powerpacks: `powerpack`
@@ -45568,6 +45572,10 @@ paths:
4556845572

4556945573
Dashboards | `viewer`, `editor`
4557045574

45575+
Integration Accounts | `viewer`, `editor`
45576+
45577+
Integration Webhooks | `viewer`, `editor`
45578+
4557145579
Notebooks | `viewer`, `editor`
4557245580

4557345581
Powerpacks | `viewer`, `editor`

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 7 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`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
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`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
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 = {})
@@ -168,6 +168,8 @@ def update_restriction_policy(resource_id, body, opts = {})
168168
# #### Supported resources
169169
# Restriction policies can be applied to the following resources:
170170
# - Dashboards: `dashboard`
171+
# - Integration Accounts: `integration-account`
172+
# - Integration Webhooks: `integration-webhook`
171173
# - Notebooks: `notebook`
172174
# - Powerpacks: `powerpack`
173175
# - Reference Tables: `reference-table`
@@ -186,6 +188,8 @@ def update_restriction_policy(resource_id, body, opts = {})
186188
# Resource Type | Supported Relations
187189
# ----------------------------|--------------------------
188190
# Dashboards | `viewer`, `editor`
191+
# Integration Accounts | `viewer`, `editor`
192+
# Integration Webhooks | `viewer`, `editor`
189193
# Notebooks | `viewer`, `editor`
190194
# Powerpacks | `viewer`, `editor`
191195
# Security Rules | `viewer`, `editor`
@@ -200,7 +204,7 @@ def update_restriction_policy(resource_id, body, opts = {})
200204
# Connections | `viewer`, `resolver`, `editor`
201205
# Connection Groups | `viewer`, `editor`
202206
#
203-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
207+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
204208
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
205209
# @param opts [Hash] the optional parameters
206210
# @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)