# Restrict resource service usage

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

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.

```yaml
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](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-resources))
- **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](https://cloud.google.com/resource-manager/docs/organization-policy/dry-run-policy))
- **Mechanism:** [Organization Policy Service (managed and legacy constraints)](/mechanisms/org-policy/): 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](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-resources), 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."

## Related guardrails

- [Deny member accounts leaving the organization](/guardrails/aws-scp-deny-leave-org/): AWS, Service control policies (SCPs), organization integrity
- [Deny billing, tax and account contact changes](/guardrails/aws-scp-deny-billing-and-contact-changes/): AWS, Service control policies (SCPs), organization integrity
- [Restrict access to resources in a suspended OU](/guardrails/aws-rcp-restrict-suspended-ou-resources/): AWS, Resource control policies (RCPs), organization integrity
- [Restrict Shared VPC host project lien removal](/guardrails/gcp-orgpolicy-restrict-xpn-lien-removal/): Google Cloud, Organization Policy Service (managed and legacy constraints), organization integrity
- [Deny deleting projects tagged prod](/guardrails/gcp-deny-project-delete-prod/): Google Cloud, IAM deny policies, organization integrity

## Related pages

- [Restrict Shared VPC host project lien removal (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-restrict-xpn-lien-removal/)
- [Deny deleting projects tagged prod (Google Cloud IAM deny policies)](/guardrails/gcp-deny-project-delete-prod/)
- [Restrict public IP access on new Vertex AI Workbench instances (Google Cloud Organization Policy Service)](/guardrails/gcp-orgpolicy-ainotebooks-restrict-public-ip/)

## Sources

- Restrict resource service usage: https://cloud.google.com/resource-manager/docs/organization-policy/restricting-resources (read 10 Nov 2026)
- How to test it first: https://cloud.google.com/resource-manager/docs/organization-policy/dry-run-policy (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/gcp-orgpolicy-restrict-service-usage/
