QuotaSettings¶
Structure Class¶
QuotaSettings
dataclass
¶
Quotas configured for a usage plan.
Attributes¶
limit
class-attribute
instance-attribute
¶
limit: int = 0
The target maximum number of requests that can be made in a given time period.
offset
class-attribute
instance-attribute
¶
offset: int = 0
The number of requests subtracted from the given limit in the initial time period.
period
class-attribute
instance-attribute
¶
period: QuotaPeriodType | None = None
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".