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
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "b737cc4",
"generated": "2025-07-28 13:11:24.660"
"spec_repo_commit": "df31e44",
"generated": "2025-07-28 19:54:26.502"
}
16 changes: 6 additions & 10 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -763,11 +763,10 @@ components:
schema:
type: string
ResourceID:
description: '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`.'
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
`rum-application`, `cross-org-connection`, `spreadsheet`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -55082,7 +55081,8 @@ paths:
schema:
format: int64
type: integer
- description: Comma-separated list of fields to group connections by.
- description: Comma-separated list of fields to group connections by. The maximum
number of group_by(s) is 10.
in: query
name: group_by
schema:
Expand Down Expand Up @@ -57514,8 +57514,6 @@ paths:

- Dashboards: `dashboard`

- Integration Accounts: `integration-account`

- Integration Services: `integration-service`

- Integration Webhooks: `integration-webhook`
Expand Down Expand Up @@ -57561,8 +57559,6 @@ paths:

Dashboards | `viewer`, `editor`

Integration Accounts | `viewer`, `editor`

Integration Services | `viewer`, `editor`

Integration Webhooks | `viewer`, `editor`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_aggregated_connections(opts = {})
# @param opts [Hash] the optional parameters
# @option opts [Integer] :from Unix timestamp (number of seconds since epoch) of the start of the query window. If not provided, the start of the query window is 15 minutes before the `to` timestamp. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
# @option opts [Integer] :to Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window is the current time. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
# @option opts [String] :group_by Comma-separated list of fields to group connections by.
# @option opts [String] :group_by Comma-separated list of fields to group connections by. The maximum number of group_by(s) is 10.
# @option opts [String] :tags Comma-separated list of tags to filter connections by.
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500.
# @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers
Expand Down
8 changes: 3 additions & 5 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`, `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`.
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
# @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`, `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`.
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
# @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,7 +168,6 @@ 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 Services: `integration-service`
# - Integration Webhooks: `integration-webhook`
# - Notebooks: `notebook`
Expand All @@ -192,7 +191,6 @@ def update_restriction_policy(resource_id, body, opts = {})
# Resource Type | Supported Relations
# ----------------------------|--------------------------
# Dashboards | `viewer`, `editor`
# Integration Accounts | `viewer`, `editor`
# Integration Services | `viewer`, `editor`
# Integration Webhooks | `viewer`, `editor`
# Notebooks | `viewer`, `editor`
Expand All @@ -212,7 +210,7 @@ def update_restriction_policy(resource_id, body, opts = {})
# Cross Org Connections | `viewer`, `editor`
# Spreadsheets | `viewer`, `editor`
#
# @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`.
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`.
# @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