Experimental
Schema
Resources
Type:
object
Resources describes sandbox CPU and memory allocation.
cpus
Type:
integer | null
cpus is present only when the caller or backend chooses a CPU count.
All schema constraints and annotations
{
"description": "cpus is present only when the caller or backend chooses a CPU count.",
"type": [
"integer",
"null"
]
}memoryMib
Type:
integer | string | null
memory_mib is present only when the caller or backend chooses memory.
All schema constraints and annotations
{
"description": "memory_mib is present only when the caller or backend chooses memory.",
"format": "int64",
"type": [
"integer",
"string",
"null"
]
}All schema constraints and annotations
{
"additionalProperties": false,
"description": "Resources describes sandbox CPU and memory allocation.",
"properties": {
"cpus": {
"description": "cpus is present only when the caller or backend chooses a CPU count.",
"type": [
"integer",
"null"
]
},
"memoryMib": {
"description": "memory_mib is present only when the caller or backend chooses memory.",
"format": "int64",
"type": [
"integer",
"string",
"null"
]
}
},
"title": "Resources",
"type": "object"
}