Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio [−][src]
pub struct GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio { pub audio_uri: Option<String>, }
Plays audio from a file in Telephony Gateway.
This type is not used in any activity, and only used as part of another schema.
Fields
audio_uri: Option<String>
Required. URI to a Google Cloud Storage object containing the audio to play, e.g., "gs://bucket/object". The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz.
This object must be readable by the service-<Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com
service account
where
For audio from other sources, consider using the
TelephonySynthesizeSpeech
message with SSML.
Trait Implementations
impl Default for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
impl Default for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
impl Debug for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
[src]
impl Part for GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio