Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/funcs/triggers-update
triggersUpdate
Function triggersUpdate
triggersUpdate
(
client
:
GoogleGenAICore
,
id
:
string
,
body
:
TriggerUpdate
,
api_version
?:
string
,
options
?:
RequestOptions
,
)
:
APIPromise
<
Result
<
Trigger
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Updates a trigger.
Parameters
client
:
GoogleGenAICore
id
:
string
body
:
TriggerUpdate
Optional
api_version
:
string
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
Trigger
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Updates a trigger.