Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig
- 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
The configuration for the voice to use.
Instance Attribute Summary collapse
-
#prebuilt_voice_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrebuiltVoiceConfig
The configuration for the prebuilt speaker to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1VoiceConfig
constructor
A new instance of GoogleCloudAiplatformV1VoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1VoiceConfig
Returns a new instance of GoogleCloudAiplatformV1VoiceConfig.
40424 40425 40426 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prebuilt_voice_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrebuiltVoiceConfig
The configuration for the prebuilt speaker to use.
Corresponds to the JSON property prebuiltVoiceConfig
40422 40423 40424 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40422 def prebuilt_voice_config @prebuilt_voice_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40429 40430 40431 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 40429 def update!(**args) @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config) end |