Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SpeechConfig

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

The speech generation config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SpeechConfig

Returns a new instance of GoogleCloudAiplatformV1beta1SpeechConfig.



36741
36742
36743
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36741

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

Instance Attribute Details

#voice_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig

The configuration for the voice to use. Corresponds to the JSON property voiceConfig



36739
36740
36741
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36739

def voice_config
  @voice_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36746
36747
36748
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36746

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