class QuotaFailure_Violation extends Message

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

Methods

__construct()

No description

string
getSubject()

The subject on which the quota check failed.

$this
setSubject(string $var)

The subject on which the quota check failed.

string
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.

$this
setDescription(string $var)

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.

Details

at line 39
__construct()

at line 52
string getSubject()

The subject on which the quota check failed.

For example, "clientip:" or "project:".

Generated from protobuf field string subject = 1;

Return Value

string

at line 66
$this setSubject(string $var)

The subject on which the quota check failed.

For example, "clientip:" or "project:".

Generated from protobuf field string subject = 1;

Parameters

string $var

Return Value

$this

at line 85
string 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".

Generated from protobuf field string description = 2;

Return Value

string

at line 102
$this setDescription(string $var)

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".

Generated from protobuf field string description = 2;

Parameters

string $var

Return Value

$this