Skip to content

Commit 223a956

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: update discovery doc
PiperOrigin-RevId: 1014376077
1 parent a9d19e1 commit 223a956

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎src/types/common.ts‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,16 @@ export declare interface ReasoningEngineSpecSourceCodeSpecPythonSpec {
579579
version?: string;
580580
}
581581

582+
/** Specifies source code to be fetched from a public Git repository. */
583+
export declare interface ReasoningEngineSpecSourceCodeSpecGitSource {
584+
/** Optional. Directory, relative to the source root, in which to run the build. */
585+
dir?: string;
586+
/** Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported. */
587+
revision?: string;
588+
/** Required. The HTTPS URL of the public Git repository to clone. */
589+
url?: string;
590+
}
591+
582592
/** Specification for deploying from source code. */
583593
export declare interface ReasoningEngineSpecSourceCodeSpec {
584594
/** Source code is generated from the agent config. */
@@ -591,6 +601,8 @@ export declare interface ReasoningEngineSpecSourceCodeSpec {
591601
inlineSource?: ReasoningEngineSpecSourceCodeSpecInlineSource;
592602
/** Configuration for a Python application. */
593603
pythonSpec?: ReasoningEngineSpecSourceCodeSpecPythonSpec;
604+
/** Source code is in a public Git repository. */
605+
gitSource?: ReasoningEngineSpecSourceCodeSpecGitSource;
594606
}
595607

596608
/** Specification for deploying from a container image. */
@@ -3777,6 +3789,12 @@ export declare interface SchemaPromptInstancePromptExecution {
37773789
arguments?: Record<string, SchemaPromptInstanceVariableValue>;
37783790
}
37793791

3792+
/** Configuration for persisting output assets to external storage. */
3793+
export declare interface SchemaPromptSpecPromptMessageOutputConfig {
3794+
/** Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). */
3795+
outputUriPrefix?: string;
3796+
}
3797+
37803798
/** Represents a prompt message. */
37813799
export declare interface SchemaPromptSpecPromptMessage {
37823800
/** Generation config. */
@@ -3794,6 +3812,8 @@ export declare interface SchemaPromptSpecPromptMessage {
37943812
variables?: Record<string, genaiTypes.Part>[];
37953813
/** The model name. */
37963814
model?: string;
3815+
/** Optional. Configuration for persisting output assets to external storage. */
3816+
outputConfig?: SchemaPromptSpecPromptMessageOutputConfig;
37973817
}
37983818

37993819
/** Prompt variation that embeds preambles to prompt string. */

0 commit comments

Comments
 (0)