API_KEY_SERVICE_BLOCKED

@SerialVersionUID(0L) case

The request is denied because it violates API key API restrictions.

Example of an ErrorInfo when the consumer "projects/123" fails to call the "storage.googleapis.com" service because this service is restricted in the API key:

{ "reason": "API_KEY_SERVICE_BLOCKED", "domain": "googleapis.com", "metadata": { "consumer": "projects/123", "service": "storage.googleapis.com" } }

trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from
ErrorReason
type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

override
Definition Classes

Inherited methods

final
Inherited from
ErrorReason
def companion: GeneratedEnumCompanion[ErrorReason]
Inherited from
ErrorReason
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
def isApiKeyInvalid: Boolean
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
def isBillingDisabled: Boolean
Inherited from
ErrorReason
def isConsumerInvalid: Boolean
Inherited from
ErrorReason
def isConsumerSuspended: Boolean
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
def isRateLimitExceeded: Boolean
Inherited from
ErrorReason
Inherited from
ErrorReason
Inherited from
ErrorReason
def isServiceDisabled: Boolean
Inherited from
ErrorReason
def isUnrecognized: Boolean
Inherited from
GeneratedEnum
def isUserProjectDenied: Boolean
Inherited from
ErrorReason
def javaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def scalaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
override
def toString: String
Definition Classes
GeneratedEnum -> Any
Inherited from
GeneratedEnum

Concrete fields

val index: Int
val name: String

Inherited fields

val value: Int
Inherited from
ErrorReason