voicesList( client: GoogleGenAICore, api_version?: string, accent?: string[], contexts?: string[], gender?: string[], language_code?: string[], page_size?: number, page_token?: string, persona?: string[], pitch?: string[], region_code?: string[], search?: string, type?: string[], options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< ListVoicesResponse, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError, >,> Parameters
- client: GoogleGenAICore
Optionalapi_version: stringOptionalaccent: string[]Optionalcontexts: string[]Optionalgender: string[]Optionallanguage_code: string[]Optionalpage_size: numberOptionalpage_token: stringOptionalpersona: string[]Optionalpitch: string[]Optionalregion_code: string[]Optionalsearch: stringOptionaltype: string[]Optionaloptions: Omit<RequestOptions, "extra_body">
Lists custom stored voices owned by the caller (ordered newest first) followed by prebuilt system voices from Google's voice catalog.