GoogleCloudDialogflowV2VoiceSelectionParams class
Description of which voice to use for speech synthesis.
Constructors
-
GoogleCloudDialogflowV2VoiceSelectionParams({Input<
String> ? name, Input<GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender> ? ssmlGender}) -
Creates a new GoogleCloudDialogflowV2VoiceSelectionParams.
nameOptional. 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.ssmlGenderOptional. 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 -
GoogleCloudDialogflowV2VoiceSelectionParams.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<
GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender> ? -
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