Struct googapis::google::cloud::contactcenterinsights::v1::Settings [−][src]
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: HashMap<String, String>,
pub analysis_config: Option<AnalysisConfig>,
}
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: HashMap<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.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more