Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig

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

The configuration for the voice to use.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1VoiceConfig

Returns a new instance of GoogleCloudAiplatformV1beta1VoiceConfig.



2099
2100
2101
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2099

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

Instance Attribute Details

#prebuilt_voice_configGoogle::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig

The configuration for the prebuilt speaker to use. Corresponds to the JSON property prebuiltVoiceConfig



2097
2098
2099
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2097

def prebuilt_voice_config
  @prebuilt_voice_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2104
2105
2106
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2104

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