Skip to content

Commit 677b55e

Browse files
yeesiancopybara-github
authored andcommitted
chore: Refresh the discoverydoc in v1beta1 for sandbox and async api in agent engines
PiperOrigin-RevId: 906382022
1 parent ca6b45e commit 677b55e

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

vertexai/_genai/types/common.py

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7502,7 +7502,7 @@ class ReasoningEngineSpecDeploymentSpec(_common.BaseModel):
75027502
)
75037503
min_instances: Optional[int] = Field(
75047504
default=None,
7505-
description="""Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].""",
7505+
description="""Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 75].""",
75067506
)
75077507
psc_interface_config: Optional[PscInterfaceConfig] = Field(
75087508
default=None, description="""Optional. Configuration for PSC-I."""
@@ -7543,7 +7543,7 @@ class ReasoningEngineSpecDeploymentSpecDict(TypedDict, total=False):
75437543
"""Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100]."""
75447544

75457545
min_instances: Optional[int]
7546-
"""Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10]."""
7546+
"""Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 75]."""
75477547

75487548
psc_interface_config: Optional[PscInterfaceConfigDict]
75497549
"""Optional. Configuration for PSC-I."""
@@ -11788,6 +11788,10 @@ class SandboxEnvironmentConnectionInfo(_common.BaseModel):
1178811788
default=None,
1178911789
description="""Output only. The hostname of the SandboxEnvironment.""",
1179011790
)
11791+
routing_token: Optional[str] = Field(
11792+
default=None,
11793+
description="""Output only. The routing token for the SandboxEnvironment.""",
11794+
)
1179111795

1179211796

1179311797
class SandboxEnvironmentConnectionInfoDict(TypedDict, total=False):
@@ -11805,6 +11809,9 @@ class SandboxEnvironmentConnectionInfoDict(TypedDict, total=False):
1180511809
sandbox_hostname: Optional[str]
1180611810
"""Output only. The hostname of the SandboxEnvironment."""
1180711811

11812+
routing_token: Optional[str]
11813+
"""Output only. The routing token for the SandboxEnvironment."""
11814+
1180811815

1180911816
SandboxEnvironmentConnectionInfoOrDict = Union[
1181011817
SandboxEnvironmentConnectionInfo, SandboxEnvironmentConnectionInfoDict
@@ -11850,6 +11857,22 @@ class SandboxEnvironment(_common.BaseModel):
1185011857
default=None,
1185111858
description="""Output only. The timestamp when this SandboxEnvironment was most recently updated.""",
1185211859
)
11860+
latest_sandbox_environment_snapshot: Optional[str] = Field(
11861+
default=None,
11862+
description="""Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.""",
11863+
)
11864+
owner: Optional[str] = Field(
11865+
default=None,
11866+
description="""Optional. Owner information for this sandbox environment. A Sandbox can only be restored from a snapshot that belongs to the same owner. If not set, sandbox will be created as the default owner.""",
11867+
)
11868+
sandbox_environment_snapshot: Optional[str] = Field(
11869+
default=None,
11870+
description="""Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`""",
11871+
)
11872+
sandbox_environment_template: Optional[str] = Field(
11873+
default=None,
11874+
description="""Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set.""",
11875+
)
1185311876

1185411877

1185511878
class SandboxEnvironmentDict(TypedDict, total=False):
@@ -11883,6 +11906,18 @@ class SandboxEnvironmentDict(TypedDict, total=False):
1188311906
update_time: Optional[datetime.datetime]
1188411907
"""Output only. The timestamp when this SandboxEnvironment was most recently updated."""
1188511908

11909+
latest_sandbox_environment_snapshot: Optional[str]
11910+
"""Output only. The resource name of the latest snapshot taken for this SandboxEnvironment."""
11911+
11912+
owner: Optional[str]
11913+
"""Optional. Owner information for this sandbox environment. A Sandbox can only be restored from a snapshot that belongs to the same owner. If not set, sandbox will be created as the default owner."""
11914+
11915+
sandbox_environment_snapshot: Optional[str]
11916+
"""Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`"""
11917+
11918+
sandbox_environment_template: Optional[str]
11919+
"""Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set."""
11920+
1188611921

1188711922
SandboxEnvironmentOrDict = Union[SandboxEnvironment, SandboxEnvironmentDict]
1188811923

0 commit comments

Comments
 (0)