Skip to content

Commit

Permalink
feat: Automated regeneration of TextToSpeech client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 27, 2024
1 parent e6a95f9 commit 7f804a5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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

0 comments on commit 7f804a5

Please sign in to comment.