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
Optional
api_version
:
string
Optional
options
:
Omit
<
RequestOptions
,
"extra_body"
>
Returns
APIPromise
<
Result
<
TriggerExecution
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Runs a trigger immediately.