Class: Google::Apis::TexttospeechV1::VoiceCloneParams
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1::VoiceCloneParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/texttospeech_v1/classes.rb,
lib/google/apis/texttospeech_v1/representations.rb,
lib/google/apis/texttospeech_v1/representations.rb
Overview
The configuration of Voice Clone feature.
Instance Attribute Summary collapse
-
#voice_cloning_key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VoiceCloneParams
constructor
A new instance of VoiceCloneParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VoiceCloneParams
Returns a new instance of VoiceCloneParams.
669 670 671 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#voice_cloning_key ⇒ String
Required. Created by GenerateVoiceCloningKey.
Corresponds to the JSON property voiceCloningKey
667 668 669 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 667 def voice_cloning_key @voice_cloning_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
674 675 676 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 674 def update!(**args) @voice_cloning_key = args[:voice_cloning_key] if args.key?(:voice_cloning_key) end |