Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/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.



2631
2632
2633
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2631

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)


2629
2630
2631
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2629

def voice_name
  @voice_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2636
2637
2638
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2636

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