Class: Vault::RateLimitQuota

Inherits:
Quota show all
Defined in:
lib/vault/api/sys/quota.rb

Instance Attribute Summary collapse

Attributes inherited from Quota

#name, #path, #type

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Vault::Response

Instance Attribute Details

#burstInt (readonly)

The maximum number of requests at any given second allowed by the quota rule.

Returns:

  • (Int)


33
# File 'lib/vault/api/sys/quota.rb', line 33

field :burst

#rateFloat (readonly)

The rate at which allowed requests are refilled per second by the quota rule.

Returns:

  • (Float)


27
# File 'lib/vault/api/sys/quota.rb', line 27

field :rate