Class: Google::Apis::TexttospeechV1::GenerateVoiceCloningKeyResponse
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1::GenerateVoiceCloningKeyResponse
- 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
Response message for the GenerateVoiceCloningKey method.
Instance Attribute Summary collapse
-
#voice_cloning_key ⇒ String
The voice clone key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateVoiceCloningKeyResponse
constructor
A new instance of GenerateVoiceCloningKeyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateVoiceCloningKeyResponse
Returns a new instance of GenerateVoiceCloningKeyResponse.
276 277 278 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#voice_cloning_key ⇒ String
The voice clone key. Use it in the SynthesizeSpeechRequest by setting [voice.
voice_clone.voice_cloning_key].
Corresponds to the JSON property voiceCloningKey
274 275 276 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 274 def voice_cloning_key @voice_cloning_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
281 282 283 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 281 def update!(**args) @voice_cloning_key = args[:voice_cloning_key] if args.key?(:voice_cloning_key) end |