Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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.



35660
35661
35662
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35660

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

Instance Attribute Details

#speaker_voice_configsArray<Google::Apis::AiplatformV1beta1::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



35658
35659
35660
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35658

def speaker_voice_configs
  @speaker_voice_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35665
35666
35667
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35665

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