Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/funcs/agents-update
agentsUpdate
Function agentsUpdate
agentsUpdate
(
client
:
GoogleGenAICore
,
id
:
string
,
body
:
AgentUpdate
,
api_version
?:
string
,
update_mask
?:
string
,
options
?:
RequestOptions
,
)
:
APIPromise
<
Result
<
Agent
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Updates an existing Agent.
Parameters
client
:
GoogleGenAICore
id
:
string
body
:
AgentUpdate
Optional
api_version
:
string
Optional
update_mask
:
string
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
Agent
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Updates an existing Agent.