Skip to content

Commit f6f65b7

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: Expose STATE_PAUSED, STATE_PAUSING, and STATE_RESUMING values in the SandboxState enum for SandboxEnvironment across Python, Java, and JS SDKs.
PiperOrigin-RevId: 973564742
1 parent a31d2ba commit f6f65b7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

agentplatform/_genai/types/common.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ class SandboxState(_common.CaseInSensitiveEnum):
322322
"""Sandbox has terminated with underlying runtime failure."""
323323
STATE_DELETED = "STATE_DELETED"
324324
"""Sandbox runtime has been deleted."""
325+
STATE_PAUSED = "STATE_PAUSED"
326+
"""Sandbox runtime is paused."""
327+
STATE_PAUSING = "STATE_PAUSING"
328+
"""Sandbox runtime is pausing."""
329+
STATE_RESUMING = "STATE_RESUMING"
330+
"""Sandbox runtime is resuming."""
325331

326332

327333
class Protocol(_common.CaseInSensitiveEnum):

0 commit comments

Comments
 (0)