diff --git a/.apigentools-info b/.apigentools-info index 48b69c820f91..4430e7c5bfd2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-07 12:19:27.135140", - "spec_repo_commit": "fa2473ca" + "regenerated": "2025-07-07 15:23:02.635823", + "spec_repo_commit": "d8a905f6" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-07 12:19:27.153492", - "spec_repo_commit": "fa2473ca" + "regenerated": "2025-07-07 15:23:02.653352", + "spec_repo_commit": "d8a905f6" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4fe2bbb80c4b..3ee86e61f7b5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -758,7 +758,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`, `rum-application`.' + `connection`, `connection-group`, `rum-application`, `cross-org-connection`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -56502,6 +56502,8 @@ paths: - RUM Applications: `rum-application` + - Cross Org Connections: `cross-org-connection` + #### Supported relations for resources @@ -56543,7 +56545,9 @@ paths: Connection Groups | `viewer`, `editor` - RUM Application | `viewer`, `editor`' + RUM Application | `viewer`, `editor` + + Cross Org Connections | `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 01db8975b0e4..2368b8436bee 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`. + # @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`. # @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`. + # @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`. # @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 = {}) @@ -185,6 +185,7 @@ def update_restriction_policy(resource_id, body, opts = {}) # - Connections: `connection` # - Connection Groups: `connection-group` # - RUM Applications: `rum-application` + # - Cross Org Connections: `cross-org-connection` # # #### Supported relations for resources # Resource Type | Supported Relations @@ -207,8 +208,9 @@ def update_restriction_policy(resource_id, body, opts = {}) # Connections | `viewer`, `resolver`, `editor` # Connection Groups | `viewer`, `editor` # RUM Application | `viewer`, `editor` + # Cross Org Connections | `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`. + # @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`. # @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.