Violation

interface Violation

A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.

Properties

Link copied to clipboard
abstract val description: String

A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console.

Link copied to clipboard
abstract val subject: String

The subject on which the quota check failed. For example, clientip:<ip address of client> or project:<Google developer project id>.

Functions

Link copied to clipboard
fun QuotaFailure.Violation.copy(body: <Error class: unknown class>.() -> Unit = {}): QuotaFailure.Violation

Copies the original message, including unknown fields.