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.

Protobuf type Google\Rpc\QuotaFailure\Violation

Methods

__construct()

No description

string
getSubject()

The subject on which the quota check failed.

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.

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 65
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

at line 82
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 98
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