From 931e53f2814efce1ccecf44e03d8799295a910c9 Mon Sep 17 00:00:00 2001 From: Amy Wu Date: Tue, 4 Aug 2026 17:16:33 -0700 Subject: [PATCH] feat: Support Endpoints module for OpenModel prediction, and .get/undeploy/delete PiperOrigin-RevId: 959312035 --- src/types/common.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/types/common.ts b/src/types/common.ts index 2e31f69a..5dca75be 100644 --- a/src/types/common.ts +++ b/src/types/common.ts @@ -3400,6 +3400,18 @@ export declare interface SchemaPredictParamsGroundingConfig { sources?: SchemaPredictParamsGroundingConfigSourceEntry[]; } +/** Represents a prompt spec part list. */ +export declare interface SchemaPromptSpecPartList { + /** A list of elements that can be part of a prompt. */ + parts?: genaiTypes.Part[]; +} + +/** Represents a prompt instance variable. */ +export declare interface SchemaPromptInstanceVariableValue { + /** The parts of the variable value. */ + partList?: SchemaPromptSpecPartList; +} + /** A prompt instance's parameters set that contains a set of variable values. */ export declare interface SchemaPromptInstancePromptExecution { /** Maps variable names to their value. */ @@ -3451,12 +3463,6 @@ export declare interface SchemaPromptSpecAppBuilderData { linkedResources?: SchemaPromptSpecAppBuilderDataLinkedResource[]; } -/** Represents a prompt spec part list. */ -export declare interface SchemaPromptSpecPartList { - /** A list of elements that can be part of a prompt. */ - parts?: genaiTypes.Part[]; -} - /** Defines data for an interaction prompt. */ export declare interface SchemaPromptSpecInteractionData { /** Optional. Lists interaction IDs associated with the prompt. This maps 1:1 to PromptMessage.contents. If InteractionData is present, every prompt message has an interaction ID. */ @@ -4256,12 +4262,6 @@ export type PromptData = SchemaPromptSpecPromptMessage; export type VertexBaseConfig = any; export type ParsedResponseUnion = any; -/** Represents a prompt instance variable. */ -export declare interface SchemaPromptInstanceVariableValue { - /** The parts of the variable value. */ - partList?: SchemaPromptSpecPartList; -} - /** Config for creating a prompt. */ export declare interface CreatePromptConfig { /** Used to override HTTP request options. */