Google API Common Protos Client - Class Violation (4.8.2)

Reference documentation and code samples for the Google API Common Protos Client class Violation.

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

Generated from protobuf message google.rpc.QuotaFailure.Violation

Namespace

Google \ Rpc \ QuotaFailure

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ subject string

The subject on which the quota check failed. For example, "clientip:

↳ 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. For example: "Service disabled" or "Daily Limit for read operations exceeded".

getSubject

The subject on which the quota check failed.

For example, "clientip:

Returns
Type Description
string

setSubject

The subject on which the quota check failed.

For example, "clientip:

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

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.

For example: "Service disabled" or "Daily Limit for read operations exceeded".

Returns
Type Description
string

setDescription

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.

For example: "Service disabled" or "Daily Limit for read operations exceeded".

Parameter
Name Description
var string
Returns
Type Description
$this