Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
The speech generation config.
Instance Attribute Summary collapse
-
#voice_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig
The configuration for the voice to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SpeechConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1SpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SpeechConfig
Returns a new instance of GoogleCloudAiplatformV1beta1SpeechConfig.
1858 1859 1860 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#voice_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig
The configuration for the voice to use.
Corresponds to the JSON property voiceConfig
1856 1857 1858 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1856 def voice_config @voice_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1863 1864 1865 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1863 def update!(**args) @voice_config = args[:voice_config] if args.key?(:voice_config) end |