From 223a956d6f8ff21741c3bdadbac8b89a69c7cd3d Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Wed, 4 Nov 2026 21:19:54 -0800 Subject: [PATCH] feat: update discovery doc PiperOrigin-RevId: 1014376077 --- src/types/common.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/types/common.ts b/src/types/common.ts index d432ce02..c0994567 100644 --- a/src/types/common.ts +++ b/src/types/common.ts @@ -579,6 +579,16 @@ export declare interface ReasoningEngineSpecSourceCodeSpecPythonSpec { version?: string; } +/** Specifies source code to be fetched from a public Git repository. */ +export declare interface ReasoningEngineSpecSourceCodeSpecGitSource { + /** Optional. Directory, relative to the source root, in which to run the build. */ + dir?: string; + /** Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported. */ + revision?: string; + /** Required. The HTTPS URL of the public Git repository to clone. */ + url?: string; +} + /** Specification for deploying from source code. */ export declare interface ReasoningEngineSpecSourceCodeSpec { /** Source code is generated from the agent config. */ @@ -591,6 +601,8 @@ export declare interface ReasoningEngineSpecSourceCodeSpec { inlineSource?: ReasoningEngineSpecSourceCodeSpecInlineSource; /** Configuration for a Python application. */ pythonSpec?: ReasoningEngineSpecSourceCodeSpecPythonSpec; + /** Source code is in a public Git repository. */ + gitSource?: ReasoningEngineSpecSourceCodeSpecGitSource; } /** Specification for deploying from a container image. */ @@ -3777,6 +3789,12 @@ export declare interface SchemaPromptInstancePromptExecution { arguments?: Record; } +/** Configuration for persisting output assets to external storage. */ +export declare interface SchemaPromptSpecPromptMessageOutputConfig { + /** Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). */ + outputUriPrefix?: string; +} + /** Represents a prompt message. */ export declare interface SchemaPromptSpecPromptMessage { /** Generation config. */ @@ -3794,6 +3812,8 @@ export declare interface SchemaPromptSpecPromptMessage { variables?: Record[]; /** The model name. */ model?: string; + /** Optional. Configuration for persisting output assets to external storage. */ + outputConfig?: SchemaPromptSpecPromptMessageOutputConfig; } /** Prompt variation that embeds preambles to prompt string. */