• 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
    • Optionalapi_version: string
    • Optionalbody: RotateSigningSecretRequest
    • Optionaloptions: RequestOptions

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

    • Defined in src/gaos/funcs/webhooks-rotate-signing-secret.ts:37

Settings

@google/genai
  • Loading...

Generated using TypeDoc