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

Function webhooksPing

  • webhooksPing(
        client: GoogleGenAICore,
        id: string,
        api_version?: string,
        body?: PingWebhookRequest,
        options?: RequestOptions,
    ): APIPromise<
        Result<
            WebhookPingResponse,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Sends a ping event to a Webhook.

    Parameters

    • client: GoogleGenAICore
    • id: string
    • Optionalapi_version: string
    • Optionalbody: PingWebhookRequest
    • Optionaloptions: RequestOptions

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

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

Settings

@google/genai
  • Loading...

Generated using TypeDoc