• Preparing search index...
  • The search index is not available
@google/genai
  • @google/genai
  • gaos/funcs/webhooks-update
  • webhooksUpdate

Function webhooksUpdate

  • webhooksUpdate(
        client: GoogleGenAICore,
        id: string,
        api_version?: string,
        update_mask?: string,
        body?: WebhookUpdate,
        options?: RequestOptions,
    ): APIPromise<
        Result<
            Webhook,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Updates an existing Webhook.

    Parameters

    • client: GoogleGenAICore
    • id: string
    • Optionalapi_version: string
    • Optionalupdate_mask: string
    • Optionalbody: WebhookUpdate
    • Optionaloptions: RequestOptions

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

    • Defined in src/gaos/funcs/webhooks-update.ts:37

Settings

@google/genai
  • Loading...

Generated using TypeDoc