From fe47a8908765a6b433ada31788928b3ad6103d1e Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 19:44:32 +0000 Subject: [PATCH 1/2] [network-connections-api] Update description with group_by limit (#2566) Co-authored-by: ci.datadog-api-spec --- .generated-info | 4 ++-- .generator/schemas/v2/openapi.yaml | 3 ++- lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.generated-info b/.generated-info index a9d1c67e40aa..7927d3d48921 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "b737cc4", - "generated": "2025-07-28 13:11:24.660" + "spec_repo_commit": "0fe80dc", + "generated": "2025-07-28 18:48:10.409" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c8e3b92e109e..ecc0d67048b4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55082,7 +55082,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: diff --git a/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb b/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb index b4f3d6f7a48e..82f42000a4b4 100644 --- a/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb @@ -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 From 6b9db6e32acb971b5f2f9d3af1f1fa0cdf44223d Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 21:34:48 +0000 Subject: [PATCH 2/2] [ACCESSINT-636] Remove integration-account from restriction policy API supported resources (#2567) Co-authored-by: ci.datadog-api-spec --- .generated-info | 4 ++-- .generator/schemas/v2/openapi.yaml | 13 ++++--------- .../v2/api/restriction_policies_api.rb | 8 +++----- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.generated-info b/.generated-info index 7927d3d48921..92d81397a836 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "0fe80dc", - "generated": "2025-07-28 18:48:10.409" + "spec_repo_commit": "df31e44", + "generated": "2025-07-28 19:54:26.502" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ecc0d67048b4..c26c8055f825 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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 @@ -57515,8 +57514,6 @@ paths: - Dashboards: `dashboard` - - Integration Accounts: `integration-account` - - Integration Services: `integration-service` - Integration Webhooks: `integration-webhook` @@ -57562,8 +57559,6 @@ paths: Dashboards | `viewer`, `editor` - Integration Accounts | `viewer`, `editor` - Integration Services | `viewer`, `editor` Integration Webhooks | `viewer`, `editor` diff --git a/lib/datadog_api_client/v2/api/restriction_policies_api.rb b/lib/datadog_api_client/v2/api/restriction_policies_api.rb index 339e395b024e..b5ccc5250858 100644 --- a/lib/datadog_api_client/v2/api/restriction_policies_api.rb +++ b/lib/datadog_api_client/v2/api/restriction_policies_api.rb @@ -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 = {}) @@ -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 = {}) @@ -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` @@ -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` @@ -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.