OverrideQuotaForOriginParameter

@Serializable
data class OverrideQuotaForOriginParameter(val origin: String, val quotaSize: Double? = null)

Constructors

Link copied to clipboard
constructor(origin: String, quotaSize: Double? = null)

Properties

Link copied to clipboard

Security origin.

Link copied to clipboard
val quotaSize: Double? = null

The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).