Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/funcs/webhooks-rotate-signing-secret
webhooksRotateSigningSecret
Function webhooksRotateSigningSecret
webhooksRotateSigningSecret
(
client
:
GoogleGenAICore
,
id
:
string
,
api_version
?:
string
,
body
?:
RotateSigningSecretRequest
,
options
?:
RequestOptions
,
)
:
APIPromise
<
Result
<
WebhookRotateSigningSecretResponse
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Generates a new signing secret for a Webhook.
Parameters
client
:
GoogleGenAICore
id
:
string
Optional
api_version
:
string
Optional
body
:
RotateSigningSecretRequest
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
WebhookRotateSigningSecretResponse
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Generates a new signing secret for a Webhook.