You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agentplatform/_genai/types/common.py
+19-20Lines changed: 19 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -359,6 +359,23 @@ class PscAutomationState(_common.CaseInSensitiveEnum):
359
359
"""The PSC service automation has failed."""
360
360
361
361
362
+
class SandboxEnvironmentTemplateState(_common.CaseInSensitiveEnum):
363
+
"""Output only. The state of the sandbox environment template."""
364
+
365
+
UNSPECIFIED = "UNSPECIFIED"
366
+
"""The default value. This value is unused."""
367
+
PROVISIONING = "PROVISIONING"
368
+
"""Runtime resources are being allocated for the sandbox environment."""
369
+
ACTIVE = "ACTIVE"
370
+
"""Sandbox runtime is ready for serving."""
371
+
DEPROVISIONING = "DEPROVISIONING"
372
+
"""Sandbox runtime is halted, performing tear down tasks."""
373
+
DELETED = "DELETED"
374
+
"""Sandbox has terminated with underlying runtime failure."""
375
+
FAILED = "FAILED"
376
+
"""Sandbox has failed to provision."""
377
+
378
+
362
379
class PostSnapshotAction(_common.CaseInSensitiveEnum):
363
380
"""Input only. Action to take on the source SandboxEnvironment after the snapshot is taken. This field is only used in CreateSandboxEnvironmentSnapshotRequest and it is not stored in the resource."""
364
381
@@ -17838,16 +17855,7 @@ class SandboxEnvironmentTemplate(_common.BaseModel):
17838
17855
default=None,
17839
17856
description="""Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_environment_template}`""",
description="""Output only. The state of the sandbox environment template.""",
17853
17861
)
@@ -17886,16 +17894,7 @@ class SandboxEnvironmentTemplateDict(TypedDict, total=False):
17886
17894
name: Optional[str]
17887
17895
"""Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_environment_template}`"""
17888
17896
17889
-
state: Optional[
17890
-
Literal[
17891
-
"UNSPECIFIED",
17892
-
"PROVISIONING",
17893
-
"ACTIVE",
17894
-
"DEPROVISIONING",
17895
-
"DELETED",
17896
-
"FAILED",
17897
-
]
17898
-
]
17897
+
state: Optional[SandboxEnvironmentTemplateState]
17899
17898
"""Output only. The state of the sandbox environment template."""
0 commit comments