Class: Google::Apis::TexttospeechV1beta1::VoiceCloneParams

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/texttospeech_v1beta1/classes.rb,
lib/google/apis/texttospeech_v1beta1/representations.rb,
lib/google/apis/texttospeech_v1beta1/representations.rb

Overview

The configuration of Voice Clone feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VoiceCloneParams

Returns a new instance of VoiceCloneParams.



685
686
687
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 685

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#voice_cloning_keyString

Required. Created by GenerateVoiceCloningKey. Corresponds to the JSON property voiceCloningKey

Returns:

  • (String)


683
684
685
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 683

def voice_cloning_key
  @voice_cloning_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



690
691
692
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 690

def update!(**args)
  @voice_cloning_key = args[:voice_cloning_key] if args.key?(:voice_cloning_key)
end