Struct google_api_proto::google::cloud::dialogflow::cx::v3beta1::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,
}
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for AudioExportSettings
impl PartialEq for AudioExportSettings
source§fn eq(&self, other: &AudioExportSettings) -> bool
fn eq(&self, other: &AudioExportSettings) -> bool
This method tests for
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request