Class ListVoicesRequest.Builder
java.lang.Object
com.google.genai.gaos.models.operations.ListVoicesRequest.Builder
- Enclosing class:
- ListVoicesRequest
-
Method Summary
Modifier and TypeMethodDescriptionOptional.apiVersion(String apiVersion) API version for request routing.build()Optional.Optional.languageCode(List<String> languageCode) Optional.Optional.Optional.Optional.Optional.regionCode(List<String> regionCode) Optional.Optional.Optional.
-
Method Details
-
apiVersion
API version for request routing. -
accent
Optional. Filter by accent description (e.g. "American", "British"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified accents (OR). -
contexts
Optional. Filter by intended context or domain (e.g. "News, Commercial"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified contexts (OR). -
gender
Optional. Filter by gender presentation (e.g. "female", "male", "neutral"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified genders (OR). -
languageCode
Optional. Filter by BCP-47 language code (e.g. "en-US"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified language codes (OR). -
pageSize
Optional. The maximum number of voices to return per page. The service may return fewer than this value. If unspecified, at most 50 voices are returned. The maximum value is 1000; values above 1000 are coerced to 1000. -
pageToken
Optional. A page token received from a previous `ListVoices` call. Provide this to retrieve the subsequent page.When paginating, all filter query parameters (`language_code`, `region_code`, `accent`, `persona`, `context`, `gender`, `pitch`, `type`, and `search`) must match the call that returned this token; otherwise the request fails with `INVALID_ARGUMENT`. `page_size` may change between pages.
-
persona
Optional. Filter by vocal persona (e.g. "Warm, Friendly"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified personas (OR). -
pitch
Optional. Filter by vocal pitch. Accepts `"low"`, `"medium"`, `"high"` (case-insensitive). If multiple values are specified, matches voices with any of the specified pitches (OR). -
regionCode
Optional. Filter by ISO 3166-1 alpha-2 or UN M.49 region code (e.g. "US", "001"). Case-insensitive exact match. If multiple values are specified, matches voices with any of the specified region codes (OR). -
search
Optional. Free-text substring search query matched case-insensitively against both `display_name` and `description`. Maximum 2048 bytes. -
type
Optional. Filter by voice type. Accepts `"prebuilt"`, `"replicated"`, `"prompted"` (case-insensitive). If multiple values are specified, matches voices with any of the specified types (OR). -
build
-