diff --git a/.apigentools-info b/.apigentools-info index e372d38ea2fa..d24cb6a1b927 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-20 15:01:21.019349", - "spec_repo_commit": "0f5c928e" + "regenerated": "2025-03-24 15:09:07.310625", + "spec_repo_commit": "f532b3e9" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-20 15:01:21.035270", - "spec_repo_commit": "0f5c928e" + "regenerated": "2025-03-24 15:09:07.326037", + "spec_repo_commit": "f532b3e9" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index aa344b25b5e0..fdcb8b812d53 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -655,7 +655,7 @@ components: ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, - `app-builder-app`, `connection`, `connection-group`.' + `app-builder-app`, `connection`, `connection-group`, `rum-application`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -45481,6 +45481,8 @@ paths: - Connection Groups: `connection-group` + - RUM Applications: `rum-application` + #### Supported relations for resources @@ -45514,7 +45516,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 df303b291b05..e1e76a982414 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`, `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`, `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`, `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`, `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 = {}) @@ -181,6 +181,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 @@ -199,8 +200,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`, `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`, `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.