feat: Local Storage State API & CLI

- add `local_storage_state` value to API & CLI
This commit is contained in:
Elim Tsiagbey committed 2024-04-05 16:47:22 -04:00
1 parent 3bef063c72
commit 2c140b1e09
8 files changed
+87 -39

No files matched your search

@@ -97,6 +97,16 @@ message Worker {
// Output only. The available actions on this resource for the requester.
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
// Output only. The local_storage_state indicates the state of the local disk space of the worker.
// Possible values are:
// - available: The worker local storage state is at an acceptable state
// - low storage: The worker is below the minimum threshold for local storage
// - critically low storage: The worker local storage state is below the critical minimum threshold for local storage
// - out of storage: The worker is out of local disk space
// - not configured: The worker does not have a local storage path configured
// - unknown: The default local storage state of a worker. Used when the local storage state of a worker is not yet known
string local_storage_state = 310 [json_name = "local_storage_state"]; // @gotags: `class:"public"`
}
message Certificate {