Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of TextToSpeech client #11352

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion clients/text_to_speech/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.TextToSpeech.Mixfile do
use Mix.Project

@version "0.16.0"
@version "0.16.1"

def project() do
[
Expand Down
Loading