From b9fef1b85be416a75524f205df340b7b18a597b6 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 3 Jun 2025 09:24:53 +0000 Subject: [PATCH] Regenerate client from commit 5906d277 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 8 ++++++-- lib/datadog_api_client/v2/api/restriction_policies_api.rb | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 2a9941fedd3..26bcf23167f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-27 17:12:13.372089", - "spec_repo_commit": "ed439f7c" + "regenerated": "2025-06-03 09:24:18.710206", + "spec_repo_commit": "5906d277" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-27 17:12:13.387673", - "spec_repo_commit": "ed439f7c" + "regenerated": "2025-06-03 09:24:18.726290", + "spec_repo_commit": "5906d277" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5c41dee7d8a..2fd91a68681 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -743,7 +743,7 @@ components: 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`.' + `connection`, `connection-group`, `rum-application`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -54215,6 +54215,8 @@ paths: - Connection Groups: `connection-group` + - RUM Applications: `rum-application` + #### Supported relations for resources @@ -54254,7 +54256,9 @@ paths: Connections | `viewer`, `resolver`, `editor` - Connection Groups | `viewer`, `editor`' + Connection Groups | `viewer`, `editor` + + RUM Application | `viewer`, `editor`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' 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 1944ee8dd4c..01db8975b0e 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`. + # @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`. # @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`. + # @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`. # @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 = {}) @@ -184,6 +184,7 @@ def update_restriction_policy(resource_id, body, opts = {}) # - App Builder Apps: `app-builder-app` # - Connections: `connection` # - Connection Groups: `connection-group` + # - RUM Applications: `rum-application` # # #### Supported relations for resources # Resource Type | Supported Relations @@ -205,8 +206,9 @@ def update_restriction_policy(resource_id, body, opts = {}) # App Builder Apps | `viewer`, `editor` # Connections | `viewer`, `resolver`, `editor` # Connection Groups | `viewer`, `editor` + # RUM Application | `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`. + # @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`. # @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.