Class: Google::Cloud::AIPlatform::V1::SpeechConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/content.rb

Overview

Configuration for speech generation.

Instance Attribute Summary collapse

Instance Attribute Details

#language_code::String

Returns Optional. The language code (ISO 639-1) for the speech synthesis.

Returns:

  • (::String)

    Optional. The language code (ISO 639-1) for the speech synthesis.



221
222
223
224
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 221

class SpeechConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#multi_speaker_voice_config::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig

Returns The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

Returns:



221
222
223
224
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 221

class SpeechConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#voice_config::Google::Cloud::AIPlatform::V1::VoiceConfig

Returns The configuration for the voice to use.

Returns:



221
222
223
224
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 221

class SpeechConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end