Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
- 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 configuration for the prebuilt speaker to use.
Instance Attribute Summary collapse
-
#voice_name ⇒ String
The name of the preset voice to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
Returns a new instance of GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig.
1318 1319 1320 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#voice_name ⇒ String
The name of the preset voice to use.
Corresponds to the JSON property voiceName
1316 1317 1318 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1316 def voice_name @voice_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1323 1324 1325 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1323 def update!(**args) @voice_name = args[:voice_name] if args.key?(:voice_name) end |