diff --git a/clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex b/clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex index f840bb4a07..0725beb810 100644 --- a/clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex +++ b/clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.TextToSpeech.V1 do API client metadata for GoogleApi.TextToSpeech.V1. """ - @discovery_revision "20240228" + @discovery_revision "20240419" def discovery_revision(), do: @discovery_revision end diff --git a/clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex b/clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex index f9ac4208a7..7d809c0101 100644 --- a/clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex +++ b/clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.VoiceSelectionParams do * `customVoice` (*type:* `GoogleApi.TextToSpeech.V1.Model.CustomVoiceParams.t`, *default:* `nil`) - The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration. * `languageCode` (*type:* `String.t`, *default:* `nil`) - Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn't a Canadian voice available), or even a different language, e.g. using "nb" (Norwegian Bokmal) instead of "no" (Norwegian)". - * `name` (*type:* `String.t`, *default:* `nil`) - The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender. + * `name` (*type:* `String.t`, *default:* `nil`) - The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code. * `ssmlGender` (*type:* `String.t`, *default:* `nil`) - The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement; if a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request. """ diff --git a/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/metadata.ex b/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/metadata.ex index 26d7ba165b..8f12c33833 100644 --- a/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/metadata.ex +++ b/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.TextToSpeech.V1beta1 do API client metadata for GoogleApi.TextToSpeech.V1beta1. """ - @discovery_revision "20240228" + @discovery_revision "20240419" def discovery_revision(), do: @discovery_revision end diff --git a/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex b/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex index 982c5e6cf3..b208cdcdea 100644 --- a/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex +++ b/clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/voice_selection_params.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.TextToSpeech.V1beta1.Model.VoiceSelectionParams do * `customVoice` (*type:* `GoogleApi.TextToSpeech.V1beta1.Model.CustomVoiceParams.t`, *default:* `nil`) - The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration. * `languageCode` (*type:* `String.t`, *default:* `nil`) - Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn't a Canadian voice available), or even a different language, e.g. using "nb" (Norwegian Bokmal) instead of "no" (Norwegian)". - * `name` (*type:* `String.t`, *default:* `nil`) - The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender. + * `name` (*type:* `String.t`, *default:* `nil`) - The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code. * `ssmlGender` (*type:* `String.t`, *default:* `nil`) - The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement; if a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request. """ diff --git a/clients/text_to_speech/mix.exs b/clients/text_to_speech/mix.exs index 32a93dceae..1168e87f80 100644 --- a/clients/text_to_speech/mix.exs +++ b/clients/text_to_speech/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.TextToSpeech.Mixfile do use Mix.Project - @version "0.16.0" + @version "0.16.1" def project() do [