Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VoicesListOptions

import type { VoicesListOptions } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";

Additional options for texttospeech#voicesList.

interface VoicesListOptions {
languageCode?: string;
}

§Properties

§
languageCode?: string
[src]

Optional. Recommended. BCP-47 language tag. If not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify "en-NZ", all "en-NZ" voices will be returned. If you specify "no", both "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices will be returned.