• Preparing search index...
  • The search index is not available
@google/genai
  • @google/genai
  • gaos/funcs/voices-delete
  • voicesDelete

Function voicesDelete

  • voicesDelete(
        client: GoogleGenAICore,
        id: string,
        api_version?: string,
        options?: Omit<RequestOptions, "extra_body">,
    ): APIPromise<
        Result<
            DeleteVoiceResponse,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Deletes a custom stored voice (store = true) by resource name. Prebuilt catalog voices (VOICE_TYPE_PREBUILT) cannot be deleted.

    Parameters

    • client: GoogleGenAICore
    • id: string
    • Optionalapi_version: string
    • Optionaloptions: Omit<RequestOptions, "extra_body">

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

    • Defined in src/gaos/funcs/voices-delete.ts:38

Settings

@google/genai
  • Loading...

Generated using TypeDoc