Class: Google::Cloud::TextToSpeech::V1beta1::CustomVoiceParams
- Inherits:
-
Object
- Object
- Google::Cloud::TextToSpeech::V1beta1::CustomVoiceParams
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb
Overview
Description of the custom voice to be synthesized.
Defined Under Namespace
Modules: ReportedUsage
Instance Attribute Summary collapse
-
#model ⇒ ::String
Required.
-
#reported_usage ⇒ ::Google::Cloud::TextToSpeech::V1beta1::CustomVoiceParams::ReportedUsage
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
Instance Attribute Details
#model ⇒ ::String
Returns Required. The name of the AutoML model that synthesizes the custom voice.
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 348 class CustomVoiceParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deprecated. The usage of the synthesized audio. Usage does not affect # billing. module ReportedUsage # Request with reported usage unspecified will be rejected. REPORTED_USAGE_UNSPECIFIED = 0 # For scenarios where the synthesized audio is not downloadable and can # only be used once. For example, real-time request in IVR system. REALTIME = 1 # For scenarios where the synthesized audio is downloadable and can be # reused. For example, the synthesized audio is downloaded, stored in # customer service system and played repeatedly. OFFLINE = 2 end end |
#reported_usage ⇒ ::Google::Cloud::TextToSpeech::V1beta1::CustomVoiceParams::ReportedUsage
Deprecated.
This field is deprecated and may be removed in the next major version update.
Returns Optional. Deprecated. The usage of the synthesized audio to be reported.
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 348 class CustomVoiceParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deprecated. The usage of the synthesized audio. Usage does not affect # billing. module ReportedUsage # Request with reported usage unspecified will be rejected. REPORTED_USAGE_UNSPECIFIED = 0 # For scenarios where the synthesized audio is not downloadable and can # only be used once. For example, real-time request in IVR system. REALTIME = 1 # For scenarios where the synthesized audio is downloadable and can be # reused. For example, the synthesized audio is downloaded, stored in # customer service system and played repeatedly. OFFLINE = 2 end end |