From 39732c77a83d9728efd63003ecce462c60b4f0fc Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 28 Jul 2025 19:54:45 +0000 Subject: [PATCH] Regenerate client from commit df31e44 of spec repo --- .generated-info | 4 ++-- .generator/schemas/v2/openapi.yaml | 13 ++++--------- .../v2/api/restriction_policies_api.py | 9 +++------ 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.generated-info b/.generated-info index cdb65b19f2..72848a33ac 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "0fe80dc", - "generated": "2025-07-28 18:48:28.237" + "spec_repo_commit": "df31e44", + "generated": "2025-07-28 19:54:45.232" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ecc0d67048..c26c8055f8 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/src/datadog_api_client/v2/api/restriction_policies_api.py b/src/datadog_api_client/v2/api/restriction_policies_api.py index 3f874e0eea..51b9d0eb80 100644 --- a/src/datadog_api_client/v2/api/restriction_policies_api.py +++ b/src/datadog_api_client/v2/api/restriction_policies_api.py @@ -112,7 +112,7 @@ def delete_restriction_policy( Deletes the restriction policy associated with a specified resource. - :param resource_id: 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: 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``. :type resource_id: str :rtype: None """ @@ -129,7 +129,7 @@ def get_restriction_policy( Retrieves the restriction policy associated with a specified resource. - :param resource_id: 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: 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``. :type resource_id: str :rtype: RestrictionPolicyResponse """ @@ -154,7 +154,6 @@ def update_restriction_policy( 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`` @@ -183,8 +182,6 @@ def update_restriction_policy( - Supported Relations * - Dashboards - ``viewer`` , ``editor`` - * - Integration Accounts - - ``viewer`` , ``editor`` * - Integration Services - ``viewer`` , ``editor`` * - Integration Webhooks @@ -223,7 +220,7 @@ def update_restriction_policy( - ``viewer`` , ``editor`` - :param resource_id: 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: 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``. :type resource_id: str :param body: Restriction policy payload :type body: RestrictionPolicyUpdateRequest