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.



2140
2141
2142
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2140

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



2138
2139
2140
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2138

def prebuilt_voice_config
  @prebuilt_voice_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2145
2146
2147
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2145

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