From abe15b8421c144fa1b868417f455767d7d318b7b Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Wed, 22 Jul 2026 11:37:33 -0700 Subject: [PATCH] fix: Send display_name when creating a sandbox environment template. The `display_name` parameter of the sandbox template create method was routed with `_parent.*`, but it is a top-level request parameter with no parent object, so it was silently dropped from the request body (never sent to the backend). Route it to the request body (`*`) so `display_name` is correctly included. PiperOrigin-RevId: 952240948 --- agentplatform/_genai/sandbox_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentplatform/_genai/sandbox_templates.py b/agentplatform/_genai/sandbox_templates.py index 557cd7411e..a503195be4 100644 --- a/agentplatform/_genai/sandbox_templates.py +++ b/agentplatform/_genai/sandbox_templates.py @@ -79,7 +79,7 @@ def _CreateSandboxEnvironmentTemplateRequestParameters_to_vertex( ) if getv(from_object, ["display_name"]) is not None: - setv(parent_object, ["displayName"], getv(from_object, ["display_name"])) + setv(to_object, ["displayName"], getv(from_object, ["display_name"])) return to_object