Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MultiSpeakerVoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MultiSpeakerVoiceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Configuration for a multi-speaker text-to-speech request.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1MultiSpeakerVoiceConfig
constructor
A new instance of GoogleCloudAiplatformV1MultiSpeakerVoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1MultiSpeakerVoiceConfig
Returns a new instance of GoogleCloudAiplatformV1MultiSpeakerVoiceConfig.
23621 23622 23623 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#speaker_voice_configs ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeakerVoiceConfig>
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
23619 23620 23621 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23619 def speaker_voice_configs @speaker_voice_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23626 23627 23628 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23626 def update!(**args) @speaker_voice_configs = args[:speaker_voice_configs] if args.key?(:speaker_voice_configs) end |