Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrebuiltVoiceConfig

Inherits:
Object
  • Object
show all
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 prebuilt speaker to use.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PrebuiltVoiceConfig

Returns a new instance of GoogleCloudAiplatformV1PrebuiltVoiceConfig.



22013
22014
22015
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22013

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

Instance Attribute Details

#voice_nameString

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

Returns:

  • (String)


22011
22012
22013
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22011

def voice_name
  @voice_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22018
22019
22020
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22018

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