From ec342d94ab1c9fd43f4cee5679b8e7d349a92396 Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Tue, 1 Sep 2026 00:44:54 -0700 Subject: [PATCH] feat: Expose STATE_PAUSED, STATE_PAUSING, and STATE_RESUMING values in the SandboxState enum for SandboxEnvironment across Python, Java, and JS SDKs. PiperOrigin-RevId: 974325807 --- agentplatform/_genai/types/common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/agentplatform/_genai/types/common.py b/agentplatform/_genai/types/common.py index dd669429d8..a5c33b5b9c 100644 --- a/agentplatform/_genai/types/common.py +++ b/agentplatform/_genai/types/common.py @@ -322,6 +322,12 @@ class SandboxState(_common.CaseInSensitiveEnum): """Sandbox has terminated with underlying runtime failure.""" STATE_DELETED = "STATE_DELETED" """Sandbox runtime has been deleted.""" + STATE_PAUSED = "STATE_PAUSED" + """Sandbox runtime is paused.""" + STATE_PAUSING = "STATE_PAUSING" + """Sandbox runtime is pausing.""" + STATE_RESUMING = "STATE_RESUMING" + """Sandbox runtime is resuming.""" class Protocol(_common.CaseInSensitiveEnum):