From b781b0e94bb2da22858d12d45d34e48b3dd3c68a Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Thu, 27 Aug 2026 10:45:21 -0700 Subject: [PATCH] feat: Expose service_attachment field on SandboxEnvironmentConnectionInfo across Python, Java, JS, and Go SDKs. The read-only serviceAttachment field is populated by the backend on sandboxes whose template enables private ingress (SandboxEnvironmentTemplate.ingress_control_config), and carries the PSC-E service attachment name customers need to create the consumer-side Private Service Connect endpoint in their VPC. PiperOrigin-RevId: 972038744 --- agentplatform/_genai/types/common.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/agentplatform/_genai/types/common.py b/agentplatform/_genai/types/common.py index d2418cb159..500ff27f97 100644 --- a/agentplatform/_genai/types/common.py +++ b/agentplatform/_genai/types/common.py @@ -16711,6 +16711,10 @@ class SandboxEnvironmentConnectionInfo(_common.BaseModel): default=None, description="""Output only. The routing token for the SandboxEnvironment.""", ) + service_attachment: Optional[str] = Field( + default=None, + description="""Output only. The name of the PSC-E service attachment created for private ingress to this SandboxEnvironment. Only populated when the template enables private ingress (see SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC endpoint in their VPC.""", + ) class SandboxEnvironmentConnectionInfoDict(TypedDict, total=False): @@ -16728,6 +16732,9 @@ class SandboxEnvironmentConnectionInfoDict(TypedDict, total=False): routing_token: Optional[str] """Output only. The routing token for the SandboxEnvironment.""" + service_attachment: Optional[str] + """Output only. The name of the PSC-E service attachment created for private ingress to this SandboxEnvironment. Only populated when the template enables private ingress (see SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC endpoint in their VPC.""" + SandboxEnvironmentConnectionInfoOrDict = Union[ SandboxEnvironmentConnectionInfo, SandboxEnvironmentConnectionInfoDict