run · let

uplicazion

storage.run({ action: "usage" })

Quanta spazio sta prendendo questo stoccaggio. Il numero da lere prima di un scriva fa fail per mancanza di spazio.

any storagefreea reading
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

await storage.run({ action: "usage" });
storage.run(action="usage")

Por qua pretere prima de scriver

Un scrivat passa lo spazio del piano è negat con quota_exceeded. Lettura e elimina continua a funzionnèr — que l'assimetria è deliberat, per cui si può sempre ottenere i dati e fare spazio — ma una scrivatura che non fa la mitèria di un lotto lascia che achiesto.

const before = await storage.run({ action: "usage" });

// Write in batches, and stop on the first refusal rather than pushing through
for (const batch of batches) {
  try {
    await storage.run({ action: "insert", collection, documents: JSON.stringify(batch) });
  } catch (err) {
    if (err.code === "quota_exceeded") break;
    throw err;
  }
}
import json
from iagenify import IaGenifyError

before = storage.run(action="usage")

# Write in batches, and stop on the first refusal rather than pushing through
for batch in batches:
    try:
        storage.run(action="insert", collection=collection, documents=json.dumps(batch))
    except IaGenifyError as error:
        if error.code == "quota_exceeded":
            break
        raise

Este stoccage, o la conta

QuestionAsk
Quan cheio è questo?run({ azione: "usage" })
Quale è il plan da, inversa di servizi?api.cloud.usage()
Quals dosari prende l'espazio?api.files.list(), e trie per taglia

La vista a nivel de contas è quella che dice si comprare un spazio ajudarà, perché è là onde vive la prestazione del plan.