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.
37445 37446 37447 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37445 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
37443 37444 37445 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37443 def prebuilt_voice_config @prebuilt_voice_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37450 37451 37452 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37450 def update!(**args) @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config) end |