• Preparing search index...
  • The search index is not available
@google/genai
  • @google/genai
  • gaos/funcs/triggers-run
  • triggersRun

Function triggersRun

  • triggersRun(
        client: GoogleGenAICore,
        trigger_id: string,
        api_version?: string,
        options?: Omit<RequestOptions, "extra_body">,
    ): APIPromise<
        Result<
            TriggerExecution,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Runs a trigger immediately.

    Parameters

    • client: GoogleGenAICore
    • trigger_id: string
    • Optionalapi_version: string
    • Optionaloptions: Omit<RequestOptions, "extra_body">

    Returns APIPromise<
        Result<
            TriggerExecution,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    • Defined in src/gaos/funcs/triggers-run.ts:37

Settings

@google/genai
  • Loading...

Generated using TypeDoc