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
Optional
api_version
:
string
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
Webhook
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Creates a new Webhook.