Struct google_api_proto::google::cloud::dialogflow::cx::v3::security_settings::AudioExportSettings
source · pub struct AudioExportSettings {
pub gcs_bucket: String,
pub audio_export_pattern: String,
pub enable_audio_redaction: bool,
pub audio_format: i32,
pub store_tts_audio: bool,
}
Expand description
Settings for exporting audio.
Fields§
§gcs_bucket: String
Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
audio_export_pattern: String
Filename pattern for exported audio.
enable_audio_redaction: bool
Enable audio redaction if it is true. Note that this only redacts end-user audio data; Synthesised audio from the virtual agent is not redacted.
audio_format: i32
File format for exported audio file. Currently only in telephony recordings.
store_tts_audio: bool
Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.
Implementations§
source§impl AudioExportSettings
impl AudioExportSettings
sourcepub fn audio_format(&self) -> AudioFormat
pub fn audio_format(&self) -> AudioFormat
Returns the enum value of audio_format
, or the default if the field is set to an invalid enum value.
sourcepub fn set_audio_format(&mut self, value: AudioFormat)
pub fn set_audio_format(&mut self, value: AudioFormat)
Sets audio_format
to the provided enum value.
Trait Implementations§
source§impl Clone for AudioExportSettings
impl Clone for AudioExportSettings
source§fn clone(&self) -> AudioExportSettings
fn clone(&self) -> AudioExportSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AudioExportSettings
impl Debug for AudioExportSettings
source§impl Default for AudioExportSettings
impl Default for AudioExportSettings
source§impl Message for AudioExportSettings
impl Message for AudioExportSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AudioExportSettings
impl PartialEq for AudioExportSettings
source§fn eq(&self, other: &AudioExportSettings) -> bool
fn eq(&self, other: &AudioExportSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudioExportSettings
Auto Trait Implementations§
impl Freeze for AudioExportSettings
impl RefUnwindSafe for AudioExportSettings
impl Send for AudioExportSettings
impl Sync for AudioExportSettings
impl Unpin for AudioExportSettings
impl UnwindSafe for AudioExportSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request