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 Singleton
trait Product
trait Mirror
trait Recognized
class ErrorReason
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Value members

Concrete methods

override def isResourceUsageRestrictionViolated: Boolean

Attributes

Definition Classes
Source
ErrorReason.scala

Inherited methods

final def asRecognized: Option[Recognized]

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def companion: GeneratedEnumCompanion[ErrorReason]

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
def isAccessTokenExpired: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isAccountStateInvalid: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isApiKeyInvalid: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isApiKeyIosAppBlocked: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isApiKeyServiceBlocked: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isBillingDisabled: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isConsumerInvalid: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isConsumerSuspended: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isCredentialsMissing: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isGcpSuspended: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isRateLimitExceeded: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isServiceDisabled: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isServiceNotVisible: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isSessionCookieInvalid: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def isUserBlockedByAdmin: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def isUserProjectDenied: Boolean

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala

Concrete fields

val index: Int

Attributes

Source
ErrorReason.scala
val name: String

Attributes

Source
ErrorReason.scala

Inherited fields

val value: Int

Attributes

Inherited from:
ErrorReason
Source
ErrorReason.scala