LimitEntry

A single rule entry within a limit, mapping dimension values to rate configurations

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Connection rate limits (per second only). Limited to 1 entry for now. — P2

Link copied to clipboard

Map of dimension name to dimension value, matching the parent limit's dimensionKeys. Keys must exactly match the dimensionKeys. Values may be "" as a wildcard. "" may only appear at trailing positions (based on dimensionKeys ordering).

Link copied to clipboard

Request rate limits (RPS or RPM). Limited to 1 entry for now.

Link copied to clipboard

Token rate limits (TPM). Limited to 1 entry for now. — P1

Functions

Link copied to clipboard
inline fun copy(block: LimitEntry.Builder.() -> Unit = {}): LimitEntry
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String