From 300d604957b188086992fcdcda2ececeb1c1b9dd Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 29 May 2026 17:24:08 +0000 Subject: [PATCH] Regenerate client from commit 44b3dea of spec repo --- .generator/schemas/v2/openapi.yaml | 4 +++- api/datadogV2/api_restriction_policies.go | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b2e0e022c91..a3477e5791c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1426,7 +1426,7 @@ components: type: string ResourceID: description: |- - Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `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`, `case-management-project`, `monitor-notification-rule`. + Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `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`, `case-management-project`, `monitor-notification-rule`, `status-page`. example: "dashboard:abc-def-ghi" in: path name: resource_id @@ -145701,6 +145701,7 @@ paths: - Logs Pipelines: `logs-pipeline` - Case Management Projects: `case-management-project` - Monitor Notification Rules: `monitor-notification-rule` + - Status Pages: `status-page` #### Supported relations for resources Resource Type | Supported Relations @@ -145730,6 +145731,7 @@ paths: Logs Pipelines | `viewer`, `processors_editor`, `editor` Case Management Projects | `viewer`, `contributor`, `manager` Monitor Notification Rules | `viewer`, `editor` + Status Pages | `viewer`, `responder`, `manager` operationId: UpdateRestrictionPolicy parameters: - $ref: "#/components/parameters/ResourceID" diff --git a/api/datadogV2/api_restriction_policies.go b/api/datadogV2/api_restriction_policies.go index 885709f7ba6..de6094f9b7d 100644 --- a/api/datadogV2/api_restriction_policies.go +++ b/api/datadogV2/api_restriction_policies.go @@ -208,6 +208,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // - Logs Pipelines: `logs-pipeline` // - Case Management Projects: `case-management-project` // - Monitor Notification Rules: `monitor-notification-rule` +// - Status Pages: `status-page` // // #### Supported relations for resources // Resource Type | Supported Relations @@ -237,6 +238,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // Logs Pipelines | `viewer`, `processors_editor`, `editor` // Case Management Projects | `viewer`, `contributor`, `manager` // Monitor Notification Rules | `viewer`, `editor` +// Status Pages | `viewer`, `responder`, `manager` func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost