GoogleCloudDialogflowV2VoiceSelectionParamsResponse class

Description of which voice to use for speech synthesis.

Constructors

GoogleCloudDialogflowV2VoiceSelectionParamsResponse({required Input<String> name, required Input<String> ssmlGender})
Creates a new GoogleCloudDialogflowV2VoiceSelectionParamsResponse. name 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. ssmlGender 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 should substitute a voice with a different gender rather than failing the request.
const
GoogleCloudDialogflowV2VoiceSelectionParamsResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ssmlGender → Input<String>
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 should substitute a voice with a different gender rather than failing the request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited