• 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
    • Optionalapi_version: string
    • Optionalupdate_mask: string
    • Optionaloptions: RequestOptions

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

    • Defined in src/gaos/funcs/agents-update.ts:36

Settings

@google/genai
  • Loading...

Generated using TypeDoc