RESOURCE_USAGE_RESTRICTION_VIOLATED
com.google.api.error_reason.ErrorReason$.RESOURCE_USAGE_RESTRICTION_VIOLATED$
The request is denied because the resource service usage is restricted by administrators according to the organization policy constraint. For more information see https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
Example of an ErrorInfo when access to Google Cloud Storage service is restricted by Resource Usage Restriction policy:
{ "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", "domain": "googleapis.com", "metadata": { "consumer": "projects/project-123", "service": "storage.googleapis.com" } }
Attributes
- Source:
- ErrorReason.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Recognizedclass ErrorReasontrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type