Optional requestFactory: RestrictionPoliciesApiRequestFactoryOptional responseProcessor: RestrictionPoliciesApiResponseProcessorPrivate configurationPrivate requestPrivate responseThe request object
Optional options: ConfigurationRetrieves the restriction policy associated with a specified resource.
For AI Gateway provider and route policies, requires ai_gateway_config_read.
The request object
Optional options: ConfigurationUpdates the restriction policy associated with a resource.
Restriction policies can be applied to the following resources:
ai-gateway-providerai-gateway-routeai-gateway-capture-overridedashboardintegration-serviceintegration-webhooknotebookpowerpackreference-tablesecurity-ruleslosynthetics-global-variablesynthetics-testsynthetics-private-locationmonitorworkflowapp-builder-appconnectionconnection-grouprum-applicationcross-org-connectionspreadsheeton-call-scheduleon-call-escalation-policyon-call-team-routing-ruleslogs-pipelinecase-management-projectmonitor-notification-rulestatus-pagefeature-flagnetwork-path-configAI Gateway provider policies control configuration and inherited model/catalog/pricing visibility. Route policies control route configuration and identifying nested references.
Capture override policies control who can view and edit override configuration. Hidden overrides remain effective for traffic.
The editor relation includes View. Providers, routes, and capture overrides have no Run relation; restriction policies don't affect inference.
Reading provider, route, or capture override policies requires ai_gateway_config_read. Updating or deleting them requires
ai_gateway_config_write and follows standard restriction-policy authorization, including
administrator recovery and self-lockout checks.
Providers, routes, and capture overrides without a restriction policy retain the normal unrestricted defaults.
| Resource Type | Supported Relations |
|---|---|
| AI Gateway Providers | viewer, editor |
| AI Gateway Routes | viewer, editor |
| AI Gateway Capture Overrides | viewer, editor |
| Dashboards | viewer, editor |
| Integration Services | viewer, editor |
| Integration Webhooks | viewer, editor |
| Notebooks | viewer, editor |
| Powerpacks | viewer, editor |
| Security Rules | viewer, editor |
| Service Level Objectives | viewer, editor |
| Synthetic Global Variables | viewer, editor |
| Synthetic Tests | viewer, editor |
| Synthetic Private Locations | viewer, editor |
| Monitors | viewer, editor |
| Reference Tables | viewer, editor |
| Workflows | viewer, runner, editor |
| App Builder Apps | viewer, editor |
| Connections | viewer, resolver, editor |
| Connection Groups | viewer, editor |
| RUM Application | viewer, editor |
| Cross Org Connections | viewer, editor |
| Spreadsheets | viewer, editor |
| 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 |
| Case Management Projects | viewer, contributor, manager |
| Monitor Notification Rules | viewer, editor |
| Status Pages | viewer, responder, manager |
| Feature Flags | viewer, contributor, editor |
| Network Path Configs | viewer, editor |
The request object
Optional options: ConfigurationGenerated using TypeDoc
Deletes the restriction policy associated with a specified resource. For AI Gateway provider and route policies, requires
ai_gateway_config_writeand standard restriction-policy authorization. Deleting a provider or route policy restores normal unrestricted defaults.