Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig

Returns a new instance of GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig.



41662
41663
41664
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41662

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#voice_nameString

The name of the prebuilt voice to use. Corresponds to the JSON property voiceName

Returns:

  • (String)


41660
41661
41662
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41660

def voice_name
  @voice_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41667
41668
41669
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41667

def update!(**args)
  @voice_name = args[:voice_name] if args.key?(:voice_name)
end