From 9e3ed3f229e2338053c88c88bc5ec460baf3fb74 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 27 Oct 2025 12:33:59 +0000 Subject: [PATCH] Regenerate client from commit c7d416f of spec repo --- .generator/schemas/v2/openapi.yaml | 8 ++++++-- .../restriction_policies/src/v2/RestrictionPoliciesApi.ts | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 59c7b8b08efc..efed2daa0411 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -952,7 +952,7 @@ components: `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.' + `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -71283,6 +71283,8 @@ paths: - On-Call Team Routing Rules: `on-call-team-routing-rules` + - Logs Pipelines: `logs-pipeline` + #### Supported relations for resources @@ -71332,7 +71334,9 @@ paths: On-Call Escalation Policies | `viewer`, `editor` - On-Call Team Routing Rules | `viewer`, `editor`' + On-Call Team Routing Rules | `viewer`, `editor` + + Logs Pipelines | `viewer`, `processors_editor`, `editor`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' diff --git a/services/restriction_policies/src/v2/RestrictionPoliciesApi.ts b/services/restriction_policies/src/v2/RestrictionPoliciesApi.ts index c57e5b434723..05bbbef3689e 100644 --- a/services/restriction_policies/src/v2/RestrictionPoliciesApi.ts +++ b/services/restriction_policies/src/v2/RestrictionPoliciesApi.ts @@ -370,7 +370,7 @@ export class RestrictionPoliciesApiResponseProcessor { export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest { /** - * 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. + * 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`, `logs-pipeline`. * @type string */ resourceId: string; @@ -378,7 +378,7 @@ export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest { export interface RestrictionPoliciesApiGetRestrictionPolicyRequest { /** - * 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. + * 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`, `logs-pipeline`. * @type string */ resourceId: string; @@ -386,7 +386,7 @@ export interface RestrictionPoliciesApiGetRestrictionPolicyRequest { export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest { /** - * 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. + * 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`, `logs-pipeline`. * @type string */ resourceId: string; @@ -493,6 +493,7 @@ export class RestrictionPoliciesApi { * - On-Call Schedules: `on-call-schedule` * - On-Call Escalation Policies: `on-call-escalation-policy` * - On-Call Team Routing Rules: `on-call-team-routing-rules` + * - Logs Pipelines: `logs-pipeline` * * #### Supported relations for resources * Resource Type | Supported Relations @@ -519,6 +520,7 @@ export class RestrictionPoliciesApi { * On-Call Schedules | `viewer`, `overrider`, `editor` * On-Call Escalation Policies | `viewer`, `editor` * On-Call Team Routing Rules | `viewer`, `editor` + * Logs Pipelines | `viewer`, `processors_editor`, `editor` * @param param The request object */ public updateRestrictionPolicy(