From 3704f64ef7654fb7df30522f7c2981adb5d78d70 Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Tue, 25 Aug 2026 16:42:33 -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: 970879943 --- 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 65b0c772e2..7cfa44ce2e 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