Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams[][src]

pub struct GoogleCloudDialogflowV2beta1VoiceSelectionParams {
    pub ssml_gender: Option<String>,
    pub name: Option<String>,
}

Description of which voice to use for speech synthesis.

This type is not used in any activity, and only used as part of another schema.

Fields

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.

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 gender.

Trait Implementations

Auto Trait Implementations