Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
- 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
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
Returns a new instance of GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig.
30135 30136 30137 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#speaker_voice_configs ⇒ Array<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
30133 30134 30135 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30133 def speaker_voice_configs @speaker_voice_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30140 30141 30142 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30140 def update!(**args) @speaker_voice_configs = args[:speaker_voice_configs] if args.key?(:speaker_voice_configs) end |