userver: ugrpc::QuotaViolation Struct Reference
Loading...
Searching...
No Matches
ugrpc::QuotaViolation Struct Reference

#include <userver/ugrpc/rich_status.hpp>

Detailed Description

Describes a single quota violation.

See also
ugrpc::QuotaFailure

Definition at line 163 of file rich_status.hpp.

Public Attributes

std::string subject
 The subject on which the quota check failed.
 
std::string description
 A description of how the quota check failed.
 

Member Data Documentation

◆ description

std::string ugrpc::QuotaViolation::description

A description of how the quota check failed.

Definition at line 170 of file rich_status.hpp.

◆ subject

std::string ugrpc::QuotaViolation::subject

The subject on which the quota check failed.

Example: "clientip:<ip address>", "project:<project id>"

Definition at line 167 of file rich_status.hpp.


The documentation for this struct was generated from the following file: