Struct google_api_proto::google::cloud::contactcenterinsights::v1::Settings
source · pub struct Settings {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub language_code: String,
pub conversation_ttl: Option<Duration>,
pub pubsub_notification_settings: BTreeMap<String, String>,
pub analysis_config: Option<AnalysisConfig>,
pub redaction_config: Option<RedactionConfig>,
pub speech_config: Option<SpeechConfig>,
}
Expand description
The settings resource.
Fields§
§name: String
Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings
create_time: Option<Timestamp>
Output only. The time at which the settings was created.
update_time: Option<Timestamp>
Output only. The time at which the settings were last updated.
language_code: String
A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to “en-US” if it is neither specified on the segment nor here.
conversation_ttl: Option<Duration>
The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.
pubsub_notification_settings: BTreeMap<String, String>
A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.
Keys are notification triggers. Supported keys are:
- “all-triggers”: Notify each time any of the supported triggers occurs.
- “create-analysis”: Notify each time an analysis is created.
- “create-conversation”: Notify each time a conversation is created.
- “export-insights-data”: Notify each time an export is complete.
- “update-conversation”: Notify each time a conversation is updated via UpdateConversation.
Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
analysis_config: Option<AnalysisConfig>
Default analysis settings.
redaction_config: Option<RedactionConfig>
Default DLP redaction resources to be applied while ingesting conversations.
speech_config: Option<SpeechConfig>
Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.
Trait Implementations§
source§impl Message for Settings
impl Message for Settings
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 Settings
impl PartialEq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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