google-cloud-text_to_speech-v1beta1 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f91a5943807aabc15a8e2eb814eb331ab2706d36ef848aa7d2cd53410f60b50f
4
- data.tar.gz: 7fdaf6641b1f0e3bb6ca11ec959a9cd11f8e3c667a4a6100c58faa1591ce2a4e
3
+ metadata.gz: a8d40f6f51e3a5cd3550c0083b90cdcd2a5e22b1fb368e0b19dd373e7d98b828
4
+ data.tar.gz: 4077d4af0edd7e6fe5b677a54042c44a37e88b2f876816b4c96615cb83814015
5
5
  SHA512:
6
- metadata.gz: 98854932748ce0f02eae271487d8ebdefef2b27b4c32d675ecb6c801fce674f0c893dbbe289972419a58662edb014429d37d35d92f24228e40624fc70e7013d0
7
- data.tar.gz: 717700d719f9621a3104b89516cb53a028d274060ee7a6f48e90426943d671034555ad5dd027f4b369679c6f5beb9e06b109c8cd4d7ac12c67d33a66eb8ba04d
6
+ metadata.gz: d6772d70b2ff416cba2cbc07eb4fff0045d532aeab641e9caab37537f4ce3a1e88d3c2f53a11a0ceb38da61464f8529edb0905ed81f02e1d9b714e12c09b79c1
7
+ data.tar.gz: 99d7cad741ef7131974bb25bd2fa359f06e8223e14dd0dbcfd01b761cf2f83ab7de715d73275fef0b6d0a8175bf947d7c2cc654ed1a0a4d2370bda2f344cbf70
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 3.0+.
89
+ This library is supported on Ruby 3.2+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -300,7 +300,7 @@ module Google
300
300
  # @param enable_time_pointing [::Array<::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest::TimepointType>]
301
301
  # Whether and what timepoints are returned in the response.
302
302
  # @param advanced_voice_options [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions, ::Hash]
303
- # Advanced voice options.
303
+ # Optional. Advanced voice options.
304
304
  #
305
305
  # @yield [response, operation] Access the result along with the RPC operation
306
306
  # @yieldparam response [::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse]
@@ -533,6 +533,7 @@ module Google
533
533
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
534
534
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
535
535
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
536
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
536
537
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
537
538
  # trigger a retry.
538
539
  # @return [::Hash]
@@ -616,6 +617,7 @@ module Google
616
617
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
617
618
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
618
619
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
620
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
619
621
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
620
622
  # trigger a retry.
621
623
  #
@@ -294,7 +294,7 @@ module Google
294
294
  # @param enable_time_pointing [::Array<::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest::TimepointType>]
295
295
  # Whether and what timepoints are returned in the response.
296
296
  # @param advanced_voice_options [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions, ::Hash]
297
- # Advanced voice options.
297
+ # Optional. Advanced voice options.
298
298
  # @yield [result, operation] Access the result along with the TransportOperation object
299
299
  # @yieldparam result [::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse]
300
300
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -423,6 +423,7 @@ module Google
423
423
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
424
424
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
425
425
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
426
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
426
427
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
427
428
  # trigger a retry.
428
429
  # @return [::Hash]
@@ -495,6 +496,7 @@ module Google
495
496
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
496
497
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
497
498
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
499
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
498
500
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
499
501
  # trigger a retry.
500
502
  #
@@ -400,6 +400,7 @@ module Google
400
400
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
401
401
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
402
402
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
403
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
403
404
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
404
405
  # trigger a retry.
405
406
  # @return [::Hash]
@@ -483,6 +484,7 @@ module Google
483
484
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
484
485
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
485
486
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
487
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
486
488
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
487
489
  # trigger a retry.
488
490
  #
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -360,6 +360,7 @@ module Google
360
360
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
361
361
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
362
362
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
363
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
363
364
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
364
365
  # trigger a retry.
365
366
  # @return [::Hash]
@@ -432,6 +433,7 @@ module Google
432
433
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
433
434
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
434
435
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
436
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
435
437
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
436
438
  # trigger a retry.
437
439
  #
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
23
  module V1beta1
24
- VERSION = "0.30.0"
24
+ VERSION = "0.31.0"
25
25
  end
26
26
  end
27
27
  end
@@ -10,7 +10,7 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n1google/cloud/texttospeech/v1beta1/cloud_tts.proto\x12!google.cloud.texttospeech.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"/\n\x11ListVoicesRequest\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\"N\n\x12ListVoicesResponse\x12\x38\n\x06voices\x18\x01 \x03(\x0b\x32(.google.cloud.texttospeech.v1beta1.Voice\"\x99\x01\n\x05Voice\x12\x16\n\x0elanguage_codes\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12G\n\x0bssml_gender\x18\x03 \x01(\x0e\x32\x32.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\x12!\n\x19natural_sample_rate_hertz\x18\x04 \x01(\x05\"\x8a\x01\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12$\n\x14relax_safety_filters\x18\x08 \x01(\x08\x42\x06\xe0\x41\x04\xe0\x41\x01\x42 \n\x1e_low_latency_journey_synthesis\"\x99\x04\n\x17SynthesizeSpeechRequest\x12\x45\n\x05input\x18\x01 \x01(\x0b\x32\x31.google.cloud.texttospeech.v1beta1.SynthesisInputB\x03\xe0\x41\x02\x12K\n\x05voice\x18\x02 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12I\n\x0c\x61udio_config\x18\x03 \x01(\x0b\x32..google.cloud.texttospeech.v1beta1.AudioConfigB\x03\xe0\x41\x02\x12\x66\n\x14\x65nable_time_pointing\x18\x04 \x03(\x0e\x32H.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType\x12\\\n\x16\x61\x64vanced_voice_options\x18\x08 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptionsH\x00\x88\x01\x01\">\n\rTimepointType\x12\x1e\n\x1aTIMEPOINT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSSML_MARK\x10\x01\x42\x19\n\x17_advanced_voice_options\"\xa7\x03\n\x19\x43ustomPronunciationParams\x12\x13\n\x06phrase\x18\x01 \x01(\tH\x00\x88\x01\x01\x12m\n\x11phonetic_encoding\x18\x02 \x01(\x0e\x32M.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncodingH\x01\x88\x01\x01\x12\x1a\n\rpronunciation\x18\x03 \x01(\tH\x02\x88\x01\x01\"\xb6\x01\n\x10PhoneticEncoding\x12!\n\x1dPHONETIC_ENCODING_UNSPECIFIED\x10\x00\x12\x19\n\x15PHONETIC_ENCODING_IPA\x10\x01\x12\x1d\n\x19PHONETIC_ENCODING_X_SAMPA\x10\x02\x12\'\n#PHONETIC_ENCODING_JAPANESE_YOMIGANA\x10\x03\x12\x1c\n\x18PHONETIC_ENCODING_PINYIN\x10\x04\x42\t\n\x07_phraseB\x14\n\x12_phonetic_encodingB\x10\n\x0e_pronunciation\"l\n\x14\x43ustomPronunciations\x12T\n\x0epronunciations\x18\x01 \x03(\x0b\x32<.google.cloud.texttospeech.v1beta1.CustomPronunciationParams\"\x95\x01\n\x12MultiSpeakerMarkup\x12N\n\x05turns\x18\x01 \x03(\x0b\x32:.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.TurnB\x03\xe0\x41\x02\x1a/\n\x04Turn\x12\x14\n\x07speaker\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x02\"P\n\x19MultispeakerPrebuiltVoice\x12\x1a\n\rspeaker_alias\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nspeaker_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"{\n\x17MultiSpeakerVoiceConfig\x12`\n\x15speaker_voice_configs\x18\x02 \x03(\x0b\x32<.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceB\x03\xe0\x41\x02\"\xa6\x02\n\x0eSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12U\n\x14multi_speaker_markup\x18\x04 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x12[\n\x15\x63ustom_pronunciations\x18\x03 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.CustomPronunciationsB\x03\xe0\x41\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\xa2\x03\n\x14VoiceSelectionParams\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x02 \x01(\t\x12G\n\x0bssml_gender\x18\x03 \x01(\x0e\x32\x32.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\x12J\n\x0c\x63ustom_voice\x18\x04 \x01(\x0b\x32\x34.google.cloud.texttospeech.v1beta1.CustomVoiceParams\x12M\n\x0bvoice_clone\x18\x05 \x01(\x0b\x32\x33.google.cloud.texttospeech.v1beta1.VoiceCloneParamsB\x03\xe0\x41\x01\x12\x17\n\nmodel_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x63\n\x1amulti_speaker_voice_config\x18\x07 \x01(\x0b\x32:.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigB\x03\xe0\x41\x01\"\xf6\x01\n\x0b\x41udioConfig\x12M\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x30.google.cloud.texttospeech.v1beta1.AudioEncodingB\x03\xe0\x41\x02\x12\x1d\n\rspeaking_rate\x18\x02 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x15\n\x05pitch\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x0evolume_gain_db\x18\x04 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x11sample_rate_hertz\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x06 \x03(\tB\x06\xe0\x41\x04\xe0\x41\x01\"\xf6\x01\n\x11\x43ustomVoiceParams\x12\x32\n\x05model\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x61\n\x0ereported_usage\x18\x03 \x01(\x0e\x32\x42.google.cloud.texttospeech.v1beta1.CustomVoiceParams.ReportedUsageB\x05\x18\x01\xe0\x41\x01\"J\n\rReportedUsage\x12\x1e\n\x1aREPORTED_USAGE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REALTIME\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\"2\n\x10VoiceCloneParams\x12\x1e\n\x11voice_cloning_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb9\x01\n\x18SynthesizeSpeechResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c\x12@\n\ntimepoints\x18\x02 \x03(\x0b\x32,.google.cloud.texttospeech.v1beta1.Timepoint\x12\x44\n\x0c\x61udio_config\x18\x04 \x01(\x0b\x32..google.cloud.texttospeech.v1beta1.AudioConfig\"4\n\tTimepoint\x12\x11\n\tmark_name\x18\x04 \x01(\t\x12\x14\n\x0ctime_seconds\x18\x03 \x01(\x01\"\xa4\x01\n\x14StreamingAudioConfig\x12M\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x30.google.cloud.texttospeech.v1beta1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\rspeaking_rate\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\"\xa3\x02\n\x19StreamingSynthesizeConfig\x12K\n\x05voice\x18\x01 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12\\\n\x16streaming_audio_config\x18\x04 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.StreamingAudioConfigB\x03\xe0\x41\x01\x12[\n\x15\x63ustom_pronunciations\x18\x05 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.CustomPronunciationsB\x03\xe0\x41\x01\"\xc2\x01\n\x17StreamingSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12U\n\x14multi_speaker_markup\x18\x07 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\xd8\x01\n\x1aStreamingSynthesizeRequest\x12X\n\x10streaming_config\x18\x01 \x01(\x0b\x32<.google.cloud.texttospeech.v1beta1.StreamingSynthesizeConfigH\x00\x12K\n\x05input\x18\x02 \x01(\x0b\x32:.google.cloud.texttospeech.v1beta1.StreamingSynthesisInputH\x00\x42\x13\n\x11streaming_request\"4\n\x1bStreamingSynthesizeResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c*W\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x08\n\x04MALE\x10\x01\x12\n\n\x06\x46\x45MALE\x10\x02\x12\x0b\n\x07NEUTRAL\x10\x03*\x8c\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\x07\n\x03MP3\x10\x02\x12\x0f\n\x0bMP3_64_KBPS\x10\x04\x12\x0c\n\x08OGG_OPUS\x10\x03\x12\t\n\x05MULAW\x10\x05\x12\x08\n\x04\x41LAW\x10\x06\x12\x07\n\x03PCM\x10\x07\x12\x07\n\x03M4A\x10\x08\x32\xef\x04\n\x0cTextToSpeech\x12\xa2\x01\n\nListVoices\x12\x34.google.cloud.texttospeech.v1beta1.ListVoicesRequest\x1a\x35.google.cloud.texttospeech.v1beta1.ListVoicesResponse\"\'\xda\x41\rlanguage_code\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1beta1/voices\x12\xcb\x01\n\x10SynthesizeSpeech\x12:.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest\x1a;.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse\">\xda\x41\x18input,voice,audio_config\x82\xd3\xe4\x93\x02\x1d\"\x18/v1beta1/text:synthesize:\x01*\x12\x9a\x01\n\x13StreamingSynthesize\x12=.google.cloud.texttospeech.v1beta1.StreamingSynthesizeRequest\x1a>.google.cloud.texttospeech.v1beta1.StreamingSynthesizeResponse\"\x00(\x01\x30\x01\x1aO\xca\x41\x1btexttospeech.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x02\n%com.google.cloud.texttospeech.v1beta1B\x11TextToSpeechProtoP\x01ZIcloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb\xa2\x02\x04\x43TTS\xaa\x02!Google.Cloud.TextToSpeech.V1Beta1\xca\x02!Google\\Cloud\\TextToSpeech\\V1beta1\xea\x02$Google::Cloud::TextToSpeech::V1beta1\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}b\x06proto3"
13
+ descriptor_data = "\n1google/cloud/texttospeech/v1beta1/cloud_tts.proto\x12!google.cloud.texttospeech.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"/\n\x11ListVoicesRequest\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\"N\n\x12ListVoicesResponse\x12\x38\n\x06voices\x18\x01 \x03(\x0b\x32(.google.cloud.texttospeech.v1beta1.Voice\"\x99\x01\n\x05Voice\x12\x16\n\x0elanguage_codes\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12G\n\x0bssml_gender\x18\x03 \x01(\x0e\x32\x32.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\x12!\n\x19natural_sample_rate_hertz\x18\x04 \x01(\x05\"\xb7\x07\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12&\n\x14relax_safety_filters\x18\x08 \x01(\x08\x42\x08\x18\x01\xe0\x41\x04\xe0\x41\x01\x12g\n\x0fsafety_settings\x18\t \x01(\x0b\x32\x46.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySettingsB\x06\xe0\x41\x04\xe0\x41\x01\x12!\n\x0f\x65nable_textnorm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x1a\xc6\x01\n\rSafetySetting\x12V\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\x44.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory\x12]\n\tthreshold\x18\x02 \x01(\x0e\x32J.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold\x1ai\n\x0eSafetySettings\x12W\n\x08settings\x18\x01 \x03(\x0b\x32\x45.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting\"\xb4\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\"\x9d\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\x12\x07\n\x03OFF\x10\x05\x42 \n\x1e_low_latency_journey_synthesisB\x12\n\x10_enable_textnorm\"\x9e\x04\n\x17SynthesizeSpeechRequest\x12\x45\n\x05input\x18\x01 \x01(\x0b\x32\x31.google.cloud.texttospeech.v1beta1.SynthesisInputB\x03\xe0\x41\x02\x12K\n\x05voice\x18\x02 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12I\n\x0c\x61udio_config\x18\x03 \x01(\x0b\x32..google.cloud.texttospeech.v1beta1.AudioConfigB\x03\xe0\x41\x02\x12\x66\n\x14\x65nable_time_pointing\x18\x04 \x03(\x0e\x32H.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType\x12\x61\n\x16\x61\x64vanced_voice_options\x18\x08 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptionsB\x03\xe0\x41\x01H\x00\x88\x01\x01\">\n\rTimepointType\x12\x1e\n\x1aTIMEPOINT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSSML_MARK\x10\x01\x42\x19\n\x17_advanced_voice_options\"\xa7\x03\n\x19\x43ustomPronunciationParams\x12\x13\n\x06phrase\x18\x01 \x01(\tH\x00\x88\x01\x01\x12m\n\x11phonetic_encoding\x18\x02 \x01(\x0e\x32M.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncodingH\x01\x88\x01\x01\x12\x1a\n\rpronunciation\x18\x03 \x01(\tH\x02\x88\x01\x01\"\xb6\x01\n\x10PhoneticEncoding\x12!\n\x1dPHONETIC_ENCODING_UNSPECIFIED\x10\x00\x12\x19\n\x15PHONETIC_ENCODING_IPA\x10\x01\x12\x1d\n\x19PHONETIC_ENCODING_X_SAMPA\x10\x02\x12\'\n#PHONETIC_ENCODING_JAPANESE_YOMIGANA\x10\x03\x12\x1c\n\x18PHONETIC_ENCODING_PINYIN\x10\x04\x42\t\n\x07_phraseB\x14\n\x12_phonetic_encodingB\x10\n\x0e_pronunciation\"l\n\x14\x43ustomPronunciations\x12T\n\x0epronunciations\x18\x01 \x03(\x0b\x32<.google.cloud.texttospeech.v1beta1.CustomPronunciationParams\"\x95\x01\n\x12MultiSpeakerMarkup\x12N\n\x05turns\x18\x01 \x03(\x0b\x32:.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.TurnB\x03\xe0\x41\x02\x1a/\n\x04Turn\x12\x14\n\x07speaker\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x02\"P\n\x19MultispeakerPrebuiltVoice\x12\x1a\n\rspeaker_alias\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nspeaker_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"{\n\x17MultiSpeakerVoiceConfig\x12`\n\x15speaker_voice_configs\x18\x02 \x03(\x0b\x32<.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceB\x03\xe0\x41\x02\"\xa6\x02\n\x0eSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12U\n\x14multi_speaker_markup\x18\x04 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x12[\n\x15\x63ustom_pronunciations\x18\x03 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.CustomPronunciationsB\x03\xe0\x41\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\xa2\x03\n\x14VoiceSelectionParams\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x02 \x01(\t\x12G\n\x0bssml_gender\x18\x03 \x01(\x0e\x32\x32.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\x12J\n\x0c\x63ustom_voice\x18\x04 \x01(\x0b\x32\x34.google.cloud.texttospeech.v1beta1.CustomVoiceParams\x12M\n\x0bvoice_clone\x18\x05 \x01(\x0b\x32\x33.google.cloud.texttospeech.v1beta1.VoiceCloneParamsB\x03\xe0\x41\x01\x12\x17\n\nmodel_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x63\n\x1amulti_speaker_voice_config\x18\x07 \x01(\x0b\x32:.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigB\x03\xe0\x41\x01\"\xf6\x01\n\x0b\x41udioConfig\x12M\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x30.google.cloud.texttospeech.v1beta1.AudioEncodingB\x03\xe0\x41\x02\x12\x1d\n\rspeaking_rate\x18\x02 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x15\n\x05pitch\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x0evolume_gain_db\x18\x04 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x11sample_rate_hertz\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x06 \x03(\tB\x06\xe0\x41\x04\xe0\x41\x01\"\xf6\x01\n\x11\x43ustomVoiceParams\x12\x32\n\x05model\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x61\n\x0ereported_usage\x18\x03 \x01(\x0e\x32\x42.google.cloud.texttospeech.v1beta1.CustomVoiceParams.ReportedUsageB\x05\x18\x01\xe0\x41\x01\"J\n\rReportedUsage\x12\x1e\n\x1aREPORTED_USAGE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REALTIME\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\"2\n\x10VoiceCloneParams\x12\x1e\n\x11voice_cloning_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb9\x01\n\x18SynthesizeSpeechResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c\x12@\n\ntimepoints\x18\x02 \x03(\x0b\x32,.google.cloud.texttospeech.v1beta1.Timepoint\x12\x44\n\x0c\x61udio_config\x18\x04 \x01(\x0b\x32..google.cloud.texttospeech.v1beta1.AudioConfig\"4\n\tTimepoint\x12\x11\n\tmark_name\x18\x04 \x01(\t\x12\x14\n\x0ctime_seconds\x18\x03 \x01(\x01\"\xa4\x01\n\x14StreamingAudioConfig\x12M\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x30.google.cloud.texttospeech.v1beta1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\rspeaking_rate\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\"\xa1\x03\n\x19StreamingSynthesizeConfig\x12K\n\x05voice\x18\x01 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12\\\n\x16streaming_audio_config\x18\x04 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.StreamingAudioConfigB\x03\xe0\x41\x01\x12[\n\x15\x63ustom_pronunciations\x18\x05 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.CustomPronunciationsB\x03\xe0\x41\x01\x12\x61\n\x16\x61\x64vanced_voice_options\x18\x07 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptionsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x19\n\x17_advanced_voice_options\"\xc2\x01\n\x17StreamingSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12U\n\x14multi_speaker_markup\x18\x07 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\xd8\x01\n\x1aStreamingSynthesizeRequest\x12X\n\x10streaming_config\x18\x01 \x01(\x0b\x32<.google.cloud.texttospeech.v1beta1.StreamingSynthesizeConfigH\x00\x12K\n\x05input\x18\x02 \x01(\x0b\x32:.google.cloud.texttospeech.v1beta1.StreamingSynthesisInputH\x00\x42\x13\n\x11streaming_request\"4\n\x1bStreamingSynthesizeResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c*W\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x08\n\x04MALE\x10\x01\x12\n\n\x06\x46\x45MALE\x10\x02\x12\x0b\n\x07NEUTRAL\x10\x03*\x8c\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\x07\n\x03MP3\x10\x02\x12\x0f\n\x0bMP3_64_KBPS\x10\x04\x12\x0c\n\x08OGG_OPUS\x10\x03\x12\t\n\x05MULAW\x10\x05\x12\x08\n\x04\x41LAW\x10\x06\x12\x07\n\x03PCM\x10\x07\x12\x07\n\x03M4A\x10\x08\x32\xef\x04\n\x0cTextToSpeech\x12\xa2\x01\n\nListVoices\x12\x34.google.cloud.texttospeech.v1beta1.ListVoicesRequest\x1a\x35.google.cloud.texttospeech.v1beta1.ListVoicesResponse\"\'\xda\x41\rlanguage_code\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1beta1/voices\x12\xcb\x01\n\x10SynthesizeSpeech\x12:.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest\x1a;.google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse\">\xda\x41\x18input,voice,audio_config\x82\xd3\xe4\x93\x02\x1d\"\x18/v1beta1/text:synthesize:\x01*\x12\x9a\x01\n\x13StreamingSynthesize\x12=.google.cloud.texttospeech.v1beta1.StreamingSynthesizeRequest\x1a>.google.cloud.texttospeech.v1beta1.StreamingSynthesizeResponse\"\x00(\x01\x30\x01\x1aO\xca\x41\x1btexttospeech.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x02\n%com.google.cloud.texttospeech.v1beta1B\x11TextToSpeechProtoP\x01ZIcloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb\xa2\x02\x04\x43TTS\xaa\x02!Google.Cloud.TextToSpeech.V1Beta1\xca\x02!Google\\Cloud\\TextToSpeech\\V1beta1\xea\x02$Google::Cloud::TextToSpeech::V1beta1\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}b\x06proto3"
14
14
 
15
15
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
16
  pool.add_serialized_file(descriptor_data)
@@ -23,6 +23,10 @@ module Google
23
23
  ListVoicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.ListVoicesResponse").msgclass
24
24
  Voice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.Voice").msgclass
25
25
  AdvancedVoiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions").msgclass
26
+ AdvancedVoiceOptions::SafetySetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySetting").msgclass
27
+ AdvancedVoiceOptions::SafetySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.SafetySettings").msgclass
28
+ AdvancedVoiceOptions::HarmCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory").enummodule
29
+ AdvancedVoiceOptions::HarmBlockThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold").enummodule
26
30
  SynthesizeSpeechRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest").msgclass
27
31
  SynthesizeSpeechRequest::TimepointType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest.TimepointType").enummodule
28
32
  CustomPronunciationParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1beta1.CustomPronunciationParams").msgclass
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -441,6 +443,8 @@ module Google
441
443
 
442
444
  # This message is used to configure the generation of a subset of the RPCs in
443
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
444
448
  # @!attribute [rw] methods
445
449
  # @return [::Array<::String>]
446
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -72,14 +72,84 @@ module Google
72
72
  # Only for Journey voices. If false, the synthesis is context aware
73
73
  # and has a higher latency.
74
74
  # @!attribute [rw] relax_safety_filters
75
+ # @deprecated This field is deprecated and may be removed in the next major version update.
75
76
  # @return [::Boolean]
76
- # Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only
77
- # supported for accounts linked to Invoiced (Offline) Cloud billing accounts.
78
- # Otherwise, will return result
79
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
77
+ # Optional. Input only. Deprecated, use safety_settings instead.
78
+ # If true, relaxes safety filters for Gemini TTS.
79
+ # @!attribute [rw] safety_settings
80
+ # @return [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings]
81
+ # Optional. Input only. This applies to Gemini TTS only. If set, the category
82
+ # specified in the safety setting will be blocked if the harm probability is
83
+ # above the threshold. Otherwise, the safety filter will be disabled by
84
+ # default.
85
+ # @!attribute [rw] enable_textnorm
86
+ # @return [::Boolean]
87
+ # Optional. If true, textnorm will be applied to text input. This feature is
88
+ # enabled by default. Only applies for Gemini TTS.
80
89
  class AdvancedVoiceOptions
81
90
  include ::Google::Protobuf::MessageExts
82
91
  extend ::Google::Protobuf::MessageExts::ClassMethods
92
+
93
+ # Safety setting for a single harm category.
94
+ # @!attribute [rw] category
95
+ # @return [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::HarmCategory]
96
+ # The harm category to apply the safety setting to.
97
+ # @!attribute [rw] threshold
98
+ # @return [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::HarmBlockThreshold]
99
+ # The harm block threshold for the safety setting.
100
+ class SafetySetting
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+
105
+ # Safety settings for the request.
106
+ # @!attribute [rw] settings
107
+ # @return [::Array<::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySetting>]
108
+ # The safety settings for the request.
109
+ class SafetySettings
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # Harm categories that will block the content.
115
+ module HarmCategory
116
+ # Default value. This value is unused.
117
+ HARM_CATEGORY_UNSPECIFIED = 0
118
+
119
+ # Content that promotes violence or incites hatred against individuals or
120
+ # groups based on certain attributes.
121
+ HARM_CATEGORY_HATE_SPEECH = 1
122
+
123
+ # Content that promotes, facilitates, or enables dangerous activities.
124
+ HARM_CATEGORY_DANGEROUS_CONTENT = 2
125
+
126
+ # Abusive, threatening, or content intended to bully, torment, or ridicule.
127
+ HARM_CATEGORY_HARASSMENT = 3
128
+
129
+ # Content that contains sexually explicit material.
130
+ HARM_CATEGORY_SEXUALLY_EXPLICIT = 4
131
+ end
132
+
133
+ # Harm block thresholds for the safety settings.
134
+ module HarmBlockThreshold
135
+ # The harm block threshold is unspecified.
136
+ HARM_BLOCK_THRESHOLD_UNSPECIFIED = 0
137
+
138
+ # Block content with a low harm probability or higher.
139
+ BLOCK_LOW_AND_ABOVE = 1
140
+
141
+ # Block content with a medium harm probability or higher.
142
+ BLOCK_MEDIUM_AND_ABOVE = 2
143
+
144
+ # Block content with a high harm probability.
145
+ BLOCK_ONLY_HIGH = 3
146
+
147
+ # Do not block any content, regardless of its harm probability.
148
+ BLOCK_NONE = 4
149
+
150
+ # Turn off the safety filter entirely.
151
+ OFF = 5
152
+ end
83
153
  end
84
154
 
85
155
  # The top-level message sent by the client for the `SynthesizeSpeech` method.
@@ -97,7 +167,7 @@ module Google
97
167
  # Whether and what timepoints are returned in the response.
98
168
  # @!attribute [rw] advanced_voice_options
99
169
  # @return [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions]
100
- # Advanced voice options.
170
+ # Optional. Advanced voice options.
101
171
  class SynthesizeSpeechRequest
102
172
  include ::Google::Protobuf::MessageExts
103
173
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -236,8 +306,8 @@ module Google
236
306
  # Note: The following fields are mutually exclusive: `text`, `markup`, `ssml`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
237
307
  # @!attribute [rw] markup
238
308
  # @return [::String]
239
- # Markup for HD voices specifically. This field may not be used with any
240
- # other voices.
309
+ # Markup for Chirp 3: HD voices specifically. This field may not be used
310
+ # with any other voices.
241
311
  #
242
312
  # Note: The following fields are mutually exclusive: `markup`, `text`, `ssml`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
243
313
  # @!attribute [rw] ssml
@@ -485,6 +555,9 @@ module Google
485
555
  # In order to customize the pronunciation of a phrase, there must be an exact
486
556
  # match of the phrase in the input types. If using SSML, the phrase must not
487
557
  # be inside a phoneme tag.
558
+ # @!attribute [rw] advanced_voice_options
559
+ # @return [::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions]
560
+ # Optional. Advanced voice options.
488
561
  class StreamingSynthesizeConfig
489
562
  include ::Google::Protobuf::MessageExts
490
563
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -500,8 +573,8 @@ module Google
500
573
  # Note: The following fields are mutually exclusive: `text`, `markup`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
501
574
  # @!attribute [rw] markup
502
575
  # @return [::String]
503
- # Markup for HD voices specifically. This field may not be used with any
504
- # other voices.
576
+ # Markup for Chirp 3: HD voices specifically. This field may not be used
577
+ # with any other voices.
505
578
  #
506
579
  # Note: The following fields are mutually exclusive: `markup`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
507
580
  # @!attribute [rw] multi_speaker_markup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-text_to_speech-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement