From 68a19e1fbd5fa3be68bdcaf097ce2293653a25a5 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 23 Oct 2025 13:34:47 +0000 Subject: [PATCH] Regenerate client from commit 43d397f of spec repo --- .generator/schemas/v2/openapi.yaml | 86 ++++++++++++++----- .../v2/api/restriction_policies_api.py | 46 +++++++--- 2 files changed, 96 insertions(+), 36 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 364018c47d..078a5bd7bb 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -948,11 +948,17 @@ components: schema: type: string ResourceID: - 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`, `on-call-schedule`, - `on-call-escalation-policy`, `on-call-team-routing-rules.' + description: 'Identifier, formatted as `type:id`. Supported types: `apm-service-ingestion-configuration`, + `app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`, + `case-management-project`, `connection`, `connection-group`, `cross-org-connection`, + `dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`, + `integration-account`, `integration-service`, `integration-webhook`, `logs-archive`, + `logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`, + `obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`, + `on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`, + `rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`, + `synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`, + `workflow`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -70552,49 +70558,85 @@ paths: Restriction policies can be applied to the following resources: + - APM Service Ingestion Configuration: `apm-service-ingestion-configuration` + + - App Builder Apps: `app-builder-app` + + - Apps Datastore: `apps-datastore` + + - AWS Integration Configuration: `aws-integration-configuration` + + - Azure Integration Configuration: `azure-integration-configuration` + + - Case Management Project: `case-management-project` + + - Connections: `connection` + + - Connection Groups: `connection-group` + + - Cross Org Connections: `cross-org-connection` + - Dashboards: `dashboard` + - Feature Flag: `feature-flag` + + - Form: `form` + + - GCP Integration Configuration: `gcp-integration-configuration` + + - Integration: `integration` + + - Integration Accounts: `integration-account` + - Integration Services: `integration-service` - Integration Webhooks: `integration-webhook` - - Notebooks: `notebook` + - Logs Archive: `logs-archive` - - Powerpacks: `powerpack` + - Logs Pipeline: `logs-pipeline` - - Reference Tables: `reference-table` + - Logs Workspace: `logs-workspace` - - Security Rules: `security-rule` + - Monitors: `monitor` - - Service Level Objectives: `slo` + - Notebooks: `notebook` - - Synthetic Global Variables: `synthetics-global-variable` + - Observability Pipelines Live Capture: `obs-pipelines-live-capture` - - Synthetic Tests: `synthetics-test` + - Observability Pipelines Pipeline: `obs-pipelines-pipeline` - - Synthetic Private Locations: `synthetics-private-location` + - On-Call Escalation Policies: `on-call-escalation-policy` - - Monitors: `monitor` + - On-Call Schedules: `on-call-schedule` - - Workflows: `workflow` + - On-Call Team Routing Rules: `on-call-team-routing-rules` - - App Builder Apps: `app-builder-app` + - Powerpacks: `powerpack` - - Connections: `connection` + - Private Action Runner: `private-action-runner` - - Connection Groups: `connection-group` + - Reference Tables: `reference-table` - RUM Applications: `rum-application` - - Cross Org Connections: `cross-org-connection` + - Seat: `seat` + + - Security Rules: `security-rule` + + - Service Level Objectives: `slo` - Spreadsheets: `spreadsheet` - - On-Call Schedules: `on-call-schedule` + - Suppression Rule: `suppression-rule` - - On-Call Escalation Policies: `on-call-escalation-policy` + - Synthetic Global Variables: `synthetics-global-variable` - - On-Call Team Routing Rules: `on-call-team-routing-rules` + - Synthetic Private Locations: `synthetics-private-location` + + - Synthetic Tests: `synthetics-test` + + - Workflows: `workflow` #### Supported relations for resources 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 f188c069ef..529451ef01 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: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules. + :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``. :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: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules. + :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``. :type resource_id: str :rtype: RestrictionPolicyResponse """ @@ -153,28 +153,46 @@ def update_restriction_policy( Restriction policies can be applied to the following resources: + * APM Service Ingestion Configuration: ``apm-service-ingestion-configuration`` + * App Builder Apps: ``app-builder-app`` + * Apps Datastore: ``apps-datastore`` + * AWS Integration Configuration: ``aws-integration-configuration`` + * Azure Integration Configuration: ``azure-integration-configuration`` + * Case Management Project: ``case-management-project`` + * Connections: ``connection`` + * Connection Groups: ``connection-group`` + * Cross Org Connections: ``cross-org-connection`` * Dashboards: ``dashboard`` + * Feature Flag: ``feature-flag`` + * Form: ``form`` + * GCP Integration Configuration: ``gcp-integration-configuration`` + * Integration: ``integration`` + * Integration Accounts: ``integration-account`` * Integration Services: ``integration-service`` * Integration Webhooks: ``integration-webhook`` + * Logs Archive: ``logs-archive`` + * Logs Pipeline: ``logs-pipeline`` + * Logs Workspace: ``logs-workspace`` + * Monitors: ``monitor`` * Notebooks: ``notebook`` + * Observability Pipelines Live Capture: ``obs-pipelines-live-capture`` + * Observability Pipelines Pipeline: ``obs-pipelines-pipeline`` + * On-Call Escalation Policies: ``on-call-escalation-policy`` + * On-Call Schedules: ``on-call-schedule`` + * On-Call Team Routing Rules: ``on-call-team-routing-rules`` * Powerpacks: ``powerpack`` + * Private Action Runner: ``private-action-runner`` * Reference Tables: ``reference-table`` + * RUM Applications: ``rum-application`` + * Seat: ``seat`` * Security Rules: ``security-rule`` * Service Level Objectives: ``slo`` + * Spreadsheets: ``spreadsheet`` + * Suppression Rule: ``suppression-rule`` * Synthetic Global Variables: ``synthetics-global-variable`` - * Synthetic Tests: ``synthetics-test`` * Synthetic Private Locations: ``synthetics-private-location`` - * Monitors: ``monitor`` + * Synthetic Tests: ``synthetics-test`` * Workflows: ``workflow`` - * App Builder Apps: ``app-builder-app`` - * Connections: ``connection`` - * Connection Groups: ``connection-group`` - * RUM Applications: ``rum-application`` - * Cross Org Connections: ``cross-org-connection`` - * Spreadsheets: ``spreadsheet`` - * On-Call Schedules: ``on-call-schedule`` - * On-Call Escalation Policies: ``on-call-escalation-policy`` - * On-Call Team Routing Rules: ``on-call-team-routing-rules`` **Supported relations for resources** @@ -229,7 +247,7 @@ def update_restriction_policy( - ``viewer`` , ``editor`` - :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`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , `on-call-team-routing-rules. + :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``apm-service-ingestion-configuration`` , ``app-builder-app`` , ``apps-datastore`` , ``aws-integration-configuration`` , ``azure-integration-configuration`` , ``case-management-project`` , ``connection`` , ``connection-group`` , ``cross-org-connection`` , ``dashboard`` , ``feature-flag`` , ``form`` , ``gcp-integration-configuration`` , ``integration`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``logs-archive`` , ``logs-pipeline`` , ``logs-workspace`` , ``monitor`` , ``notebook`` , ``obs-pipelines-live-capture`` , ``obs-pipelines-pipeline`` , ``on-call-escalation-policy`` , ``on-call-schedule`` , ``on-call-team-routing-rules`` , ``powerpack`` , ``private-action-runner`` , ``reference-table`` , ``rum-application`` , ``seat`` , ``security-rule`` , ``slo`` , ``spreadsheet`` , ``suppression-rule`` , ``synthetics-global-variable`` , ``synthetics-private-location`` , ``synthetics-test`` , ``workflow``. :type resource_id: str :param body: Restriction policy payload :type body: RestrictionPolicyUpdateRequest