Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
- 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 prebuilt voice.
Instance Attribute Summary collapse
-
#voice_name ⇒ String
The name of the prebuilt voice to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
Returns a new instance of GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig.
39090 39091 39092 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39090 def initialize(**args) update!(**args) end |
Instance Attribute Details
#voice_name ⇒ String
The name of the prebuilt voice to use.
Corresponds to the JSON property voiceName
39088 39089 39090 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39088 def voice_name @voice_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39095 39096 39097 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39095 def update!(**args) @voice_name = args[:voice_name] if args.key?(:voice_name) end |