OverrideQuotaForOriginRequest

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

Request object containing input parameters for the StorageDomain.overrideQuotaForOrigin command.

Constructors

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

Types

Link copied to clipboard
class Builder(val origin: String)

A builder for OverrideQuotaForOriginRequest, which allows setting the optional parameters of the StorageDomain.overrideQuotaForOrigin command via a lambda.

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).