Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-04 16:55:51.112810",
"spec_repo_commit": "da94868e"
"regenerated": "2025-04-04 20:19:34.024681",
"spec_repo_commit": "3909ab62"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-04 16:55:51.129680",
"spec_repo_commit": "da94868e"
"regenerated": "2025-04-04 20:19:34.040447",
"spec_repo_commit": "3909ab62"
}
}
}
12 changes: 10 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ components:
type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
`app-builder-app`, `connection`, `connection-group`.'
`dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`,
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -45734,6 +45734,10 @@ paths:

- Dashboards: `dashboard`

- Integration Accounts: `integration-account`

- Integration Webhooks: `integration-webhook`

- Notebooks: `notebook`

- Powerpacks: `powerpack`
Expand Down Expand Up @@ -45769,6 +45773,10 @@ paths:

Dashboards | `viewer`, `editor`

Integration Accounts | `viewer`, `editor`

Integration Webhooks | `viewer`, `editor`

Notebooks | `viewer`, `editor`

Powerpacks | `viewer`, `editor`
Expand Down
10 changes: 7 additions & 3 deletions lib/datadog_api_client/v2/api/restriction_policies_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
#
# Deletes the restriction policy associated with a specified resource.
#
# @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`.
# @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`.
# @param opts [Hash] the optional parameters
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_restriction_policy_with_http_info(resource_id, opts = {})
Expand Down Expand Up @@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
#
# Retrieves the restriction policy associated with a specified resource.
#
# @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`.
# @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`.
# @param opts [Hash] the optional parameters
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
def get_restriction_policy_with_http_info(resource_id, opts = {})
Expand Down Expand Up @@ -168,6 +168,8 @@ def update_restriction_policy(resource_id, body, opts = {})
# #### Supported resources
# Restriction policies can be applied to the following resources:
# - Dashboards: `dashboard`
# - Integration Accounts: `integration-account`
# - Integration Webhooks: `integration-webhook`
# - Notebooks: `notebook`
# - Powerpacks: `powerpack`
# - Reference Tables: `reference-table`
Expand All @@ -186,6 +188,8 @@ def update_restriction_policy(resource_id, body, opts = {})
# Resource Type | Supported Relations
# ----------------------------|--------------------------
# Dashboards | `viewer`, `editor`
# Integration Accounts | `viewer`, `editor`
# Integration Webhooks | `viewer`, `editor`
# Notebooks | `viewer`, `editor`
# Powerpacks | `viewer`, `editor`
# Security Rules | `viewer`, `editor`
Expand All @@ -200,7 +204,7 @@ def update_restriction_policy(resource_id, body, opts = {})
# Connections | `viewer`, `resolver`, `editor`
# Connection Groups | `viewer`, `editor`
#
# @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`.
# @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`.
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
# @param opts [Hash] the optional parameters
# @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.
Expand Down
Loading