Skip to content

Commit 4a1a387

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: In run_query_job, rename gcs_bucket to gcs_uri and allow the case that user sets the filename for the output.
PiperOrigin-RevId: 893135854
1 parent fed70af commit 4a1a387

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/genai/types/common.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,8 +2356,13 @@ export declare interface RunQueryJobAgentEngineConfig {
23562356
abortSignal?: AbortSignal;
23572357
/** The query to send to the agent engine. */
23582358
query?: string;
2359-
/** The GCS bucket to use for the query. */
2360-
gcsBucket?: string;
2359+
/** The GCS URI to use for the output.
2360+
If it is a file, the system use this file to store the response.
2361+
If it represents a directory, the system automatically generate a file
2362+
for the response.
2363+
In both cases, the input query will be stored in the same directory under
2364+
the same file name prefix as the output file. */
2365+
outputGcsUri?: string;
23612366
}
23622367

23632368
/** Result of running a query job. */

0 commit comments

Comments
 (0)