From 4b9169f08d1864069f76cace9bd789df175eaa1a Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Sun, 27 Sep 2026 09:34:44 -0700 Subject: [PATCH] feat: update discovery doc PiperOrigin-RevId: 989217122 --- src/types/common.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/types/common.ts b/src/types/common.ts index 2dec0cc4..97d0e7ad 100644 --- a/src/types/common.ts +++ b/src/types/common.ts @@ -2763,6 +2763,14 @@ export declare interface CreateSandboxEnvironmentTemplateRequestParameters { config?: CreateSandboxEnvironmentTemplateConfig; } +/** Configuration for attaching a persistent disk (PD) to each SandboxEnvironment created from this template. A persistent disk provides durable, per-sandbox block storage whose contents survive across the sandbox lifecycle events that this service supports (e.g. pause/resume), unlike ephemeral local storage which is lost when the underlying runtime is torn down. */ +export declare interface SandboxEnvironmentTemplatePersistentDiskConfig { + /** Optional. Whether a persistent disk is attached to sandboxes created from this template. Defaults to `false`. This flag lets a template carry (and preserve) disk configuration while keeping the disk detached, so it can be toggled on later without re-specifying the rest of the config. When `false`, the remaining fields in this message are ignored. */ + enabled?: boolean; + /** Optional. The size of the persistent disk in GB. Must be non-negative. When `enabled` is `true`, a positive value is required; when unset or zero while enabled, the service applies a default size. Ignored when `enabled` is `false`. */ + sizeGb?: string; +} + /** A sandbox environment template. */ export declare interface SandboxEnvironmentTemplate { /** Output only. The timestamp when this SandboxEnvironmentTemplate was created. */ @@ -2785,6 +2793,8 @@ export declare interface SandboxEnvironmentTemplate { ingressControlConfig?: PrivateServiceConnectConfig; /** Optional. Immutable. Whether to provision the SandboxEnvironmentTemplate via the GKE TD pool. */ useGkeTd?: boolean; + /** Optional. Configuration for attaching a persistent disk (PD) to each SandboxEnvironment created from this template. When unset (or when `enabled` is `false`), sandboxes created from this template are not backed by a persistent disk and rely on ephemeral storage only. See PersistentDiskConfig for details. */ + persistentDiskConfig?: SandboxEnvironmentTemplatePersistentDiskConfig; } /** Operation that has an agent engine sandbox as a response. */