Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/genai/types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2571,6 +2571,34 @@ export declare interface RunQueryJobResult {
outputGcsUri?: string;
}

/** Config for canceling async querying agent engines. */
export declare interface CancelQueryJobAgentEngineConfig {
/** Used to override HTTP request options. */
httpOptions?: genaiTypes.HttpOptions;
/** Abort signal which can be used to cancel the request.

NOTE: AbortSignal is a client-only operation. Using it to cancel an
operation will not cancel the request in the service. You will still
be charged usage for any applicable operations.
*/
abortSignal?: AbortSignal;
/** Name of the longrunning operation returned from run_query_job. */
operationName?: string;
}

/** Result of canceling a query job. */
export declare interface CancelQueryJobResult {
/** Used to override HTTP request options. */
httpOptions?: genaiTypes.HttpOptions;
/** Abort signal which can be used to cancel the request.

NOTE: AbortSignal is a client-only operation. Using it to cancel an
operation will not cancel the request in the service. You will still
be charged usage for any applicable operations.
*/
abortSignal?: AbortSignal;
}

/** Config for async querying agent engines. */
export declare interface CheckQueryJobAgentEngineConfig {
/** Used to override HTTP request options. */
Expand Down
Loading