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

Function webhooksCreate

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

    Creates a new Webhook.

    Parameters

    • client: GoogleGenAICore
    • body: WebhookInput
    • Optionalapi_version: string
    • Optionaloptions: RequestOptions

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

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

Settings

@google/genai
  • Loading...

Generated using TypeDoc