Skip to content
Cloud Governance Tools

Restrict resource service usage

Restrict resource service usage is a Google Cloud guardrail written in organization Policy Service. Limits which Google Cloud resource services can be used in an organization, folder or project, by allowlist or denylist. What it breaks: google documents that services with a direct dependency on a restricted service are restricted too, for example GKE when Compute Engine is restricted.

More organization integrity guardrails ยท About Organization Policy Service

name: organizations/ORGANIZATION_ID/policies/gcp.restrictServiceUsage
spec:
 rules:
 - values:
    deniedValues:
    - file.googleapis.com
    - bigquery.googleapis.com
    - storage.googleapis.com
Blocks
Limits which Google Cloud resource services can be used in an organization, folder or project, by allowlist or denylist. (legacy managed constraint, list.)
Breaks
Google documents that services with a direct dependency on a restricted service are restricted too, for example GKE when Compute Engine is restricted. (source)
Test before applying
Google documents that this legacy managed constraint can be used in dry-run mode, where violations are audit logged and not denied. (source)
Mechanism
Organization Policy Service (managed and legacy constraints): Resources in the organization, folder or project where the policy is set and its descendants; Google says application of new policies is usually not retroactive.
Taken from
provider documentation, provider documentation

What the source says

"This constraint can only be enforced on services with resources that are the direct descendants of an organization, folder, or project resource." (read 10 Nov 2026).

On what it breaks: "When a service is restricted by this policy, some Google Cloud services that have a direct dependency on the restricted service will be restricted as well."

Sources

  1. Restrict resource service usage, read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.