Skip to content

Commit 09d45f4

Browse files
feat: Automated regeneration of TextToSpeech client (googleapis#12831)
Auto-created at 2025-01-16 13:15:47 +0000 using the toys pull request generator.
1 parent 98bd8f3 commit 09d45f4

15 files changed

+15
-15
lines changed

clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.TextToSpeech.V1 do
2020
API client metadata for GoogleApi.TextToSpeech.V1.
2121
"""
2222

23-
@discovery_revision "20241116"
23+
@discovery_revision "20250114"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/advanced_voice_options.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.AdvancedVoiceOptions do
2121
2222
## Attributes
2323
24-
* `lowLatencyJourneySynthesis` (*type:* `boolean()`, *default:* `nil`) - Only for Journey voices. If false, the synthesis will be context aware and have higher latency.
24+
* `lowLatencyJourneySynthesis` (*type:* `boolean()`, *default:* `nil`) - Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/custom_pronunciation_params.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.CustomPronunciationParams do
2222
## Attributes
2323
2424
* `phoneticEncoding` (*type:* `String.t`, *default:* `nil`) - The phonetic encoding of the phrase.
25-
* `phrase` (*type:* `String.t`, *default:* `nil`) - The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.
25+
* `phrase` (*type:* `String.t`, *default:* `nil`) - The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
2626
* `pronunciation` (*type:* `String.t`, *default:* `nil`) - The pronunciation of the phrase. This must be in the phonetic encoding specified above.
2727
"""
2828

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/custom_pronunciations.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.CustomPronunciations do
2121
2222
## Attributes
2323
24-
* `pronunciations` (*type:* `list(GoogleApi.TextToSpeech.V1.Model.CustomPronunciationParams.t)`, *default:* `nil`) - The pronunciation customizations to be applied.
24+
* `pronunciations` (*type:* `list(GoogleApi.TextToSpeech.V1.Model.CustomPronunciationParams.t)`, *default:* `nil`) - The pronunciation customizations are applied.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/synthesis_input.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.SynthesisInput do
2121
2222
## Attributes
2323
24-
* `customPronunciations` (*type:* `GoogleApi.TextToSpeech.V1.Model.CustomPronunciations.t`, *default:* `nil`) - Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially).
24+
* `customPronunciations` (*type:* `GoogleApi.TextToSpeech.V1.Model.CustomPronunciations.t`, *default:* `nil`) - Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for English, French, Italian, German, and Spanish (EFIGS) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
2525
* `multiSpeakerMarkup` (*type:* `GoogleApi.TextToSpeech.V1.Model.MultiSpeakerMarkup.t`, *default:* `nil`) - The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
2626
* `ssml` (*type:* `String.t`, *default:* `nil`) - The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
2727
* `text` (*type:* `String.t`, *default:* `nil`) - The raw text to be synthesized.

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/turn.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.TextToSpeech.V1.Model.Turn do
1919
@moduledoc """
20-
A Multi-speaker turn.
20+
A multi-speaker turn.
2121
2222
## Attributes
2323

clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.TextToSpeech.V1.Model.VoiceSelectionParams do
2525
* `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)".
2626
* `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.
2727
* `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.
28-
* `voiceClone` (*type:* `GoogleApi.TextToSpeech.V1.Model.VoiceCloneParams.t`, *default:* `nil`) - Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service will choose the voice clone matching the specified configuration.
28+
* `voiceClone` (*type:* `GoogleApi.TextToSpeech.V1.Model.VoiceCloneParams.t`, *default:* `nil`) - Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration.
2929
"""
3030

3131
use GoogleApi.Gax.ModelBase

clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.TextToSpeech.V1beta1 do
2020
API client metadata for GoogleApi.TextToSpeech.V1beta1.
2121
"""
2222

23-
@discovery_revision "20241026"
23+
@discovery_revision "20250114"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/advanced_voice_options.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.TextToSpeech.V1beta1.Model.AdvancedVoiceOptions do
2121
2222
## Attributes
2323
24-
* `lowLatencyJourneySynthesis` (*type:* `boolean()`, *default:* `nil`) - Only for Journey voices. If false, the synthesis will be context aware and have higher latency.
24+
* `lowLatencyJourneySynthesis` (*type:* `boolean()`, *default:* `nil`) - Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/custom_pronunciation_params.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.TextToSpeech.V1beta1.Model.CustomPronunciationParams do
2222
## Attributes
2323
2424
* `phoneticEncoding` (*type:* `String.t`, *default:* `nil`) - The phonetic encoding of the phrase.
25-
* `phrase` (*type:* `String.t`, *default:* `nil`) - The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.
25+
* `phrase` (*type:* `String.t`, *default:* `nil`) - The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
2626
* `pronunciation` (*type:* `String.t`, *default:* `nil`) - The pronunciation of the phrase. This must be in the phonetic encoding specified above.
2727
"""
2828

0 commit comments

Comments
 (0)