Class: Google::Cloud::Dialogflow::CX::V3::VoiceSelectionParams

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb

Overview

Description of which voice to use for speech synthesis.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.

For the list of available voices, please refer to Supported voices and languages.

Returns:

  • (::String)

    Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.

    For the list of available voices, please refer to Supported voices and languages.



167
168
169
170
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 167

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

#ssml_gender::Google::Cloud::Dialogflow::CX::V3::SsmlVoiceGender

Returns Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer substitutes a voice with a different gender rather than failing the request.

Returns:

  • (::Google::Cloud::Dialogflow::CX::V3::SsmlVoiceGender)

    Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer substitutes a voice with a different gender rather than failing the request.



167
168
169
170
# File 'proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb', line 167

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