Skip to main content

SetPlayerWasmPolicyInput

Upsert one player policy row. Omitted knobs keep their current value (or the platform default on first insert). unitsPerHour/unitsPerDay accept null to clear the quota.

input SetPlayerWasmPolicyInput {
appId: BigInt!
scope: String!
scopeRef: BigInt
enabled: Boolean
maxModulesPerGrid: Int
maxModulesTotal: Int
maxTickHz: Float
fuelPerTick: BigInt
fuelPerInvoke: BigInt
maxMemoryMb: Int
maxRunMs: Int
maxDbOpsPerTick: Int
maxEgressMsgsPerMin: Int
maxEgressBytesPerMin: BigInt
unitsPerHour: BigInt
unitsPerDay: BigInt
maxCompilesPerHour: Int
maxContainerCreatesDay: Int
clientFuelPerDispatch: BigInt
}

Fields

SetPlayerWasmPolicyInput.appId ● BigInt! non-null scalar

The app.

SetPlayerWasmPolicyInput.scope ● String! non-null scalar

'app_default', 'tier', 'grid', or 'user'.

SetPlayerWasmPolicyInput.scopeRef ● BigInt scalar

Tier/grid/user id; required unless scope is app_default.

SetPlayerWasmPolicyInput.enabled ● Boolean scalar

SetPlayerWasmPolicyInput.maxModulesPerGrid ● Int scalar

SetPlayerWasmPolicyInput.maxModulesTotal ● Int scalar

SetPlayerWasmPolicyInput.maxTickHz ● Float scalar

SetPlayerWasmPolicyInput.fuelPerTick ● BigInt scalar

SetPlayerWasmPolicyInput.fuelPerInvoke ● BigInt scalar

SetPlayerWasmPolicyInput.maxMemoryMb ● Int scalar

SetPlayerWasmPolicyInput.maxRunMs ● Int scalar

SetPlayerWasmPolicyInput.maxDbOpsPerTick ● Int scalar

SetPlayerWasmPolicyInput.maxEgressMsgsPerMin ● Int scalar

SetPlayerWasmPolicyInput.maxEgressBytesPerMin ● BigInt scalar

SetPlayerWasmPolicyInput.unitsPerHour ● BigInt scalar

SetPlayerWasmPolicyInput.unitsPerDay ● BigInt scalar

SetPlayerWasmPolicyInput.maxCompilesPerHour ● Int scalar

SetPlayerWasmPolicyInput.maxContainerCreatesDay ● Int scalar

SetPlayerWasmPolicyInput.clientFuelPerDispatch ● BigInt scalar

Member Of

setPlayerWasmPolicy mutation