Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig

Inherits:
Object
  • Object
show all
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

Configuration for a multi-speaker text-to-speech request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig

Returns a new instance of GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig.



2654
2655
2656
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2654

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

Instance Attribute Details

#speaker_voice_configsArray<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeakerVoiceConfig>

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. Corresponds to the JSON property speakerVoiceConfigs



2652
2653
2654
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2652

def speaker_voice_configs
  @speaker_voice_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2659
2660
2661
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2659

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