Struct google_api_proto::google::cloud::dialogflow::v2beta1::human_agent_assistant_config::SuggestionConfig
source · pub struct SuggestionConfig {
pub feature_configs: Vec<SuggestionFeatureConfig>,
pub group_suggestion_responses: bool,
pub generators: Vec<String>,
pub disable_high_latency_features_sync_delivery: bool,
}
Expand description
Detail human agent assistant config.
Fields§
§feature_configs: Vec<SuggestionFeatureConfig>
Configuration of different suggestion features. One feature can have only one config.
group_suggestion_responses: bool
If group_suggestion_responses
is false, and there are multiple
feature_configs
in event based suggestion
or
StreamingAnalyzeContent, we will try to deliver suggestions to customers
as soon as we get new suggestion. Different type of suggestions based on
the same context will be in separate Pub/Sub event or
StreamingAnalyzeContentResponse
.
If group_suggestion_responses
set to true. All the suggestions to the
same participant based on the same context will be grouped into a single
Pub/Sub event or StreamingAnalyzeContentResponse.
generators: Vec<String>
Optional. List of various generator resource names used in the conversation profile.
disable_high_latency_features_sync_delivery: bool
Optional. When disable_high_latency_features_sync_delivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The human_agent_assistant_config.notification_config must be configured and enable_event_based_suggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
Trait Implementations§
source§impl Clone for SuggestionConfig
impl Clone for SuggestionConfig
source§fn clone(&self) -> SuggestionConfig
fn clone(&self) -> SuggestionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SuggestionConfig
impl Debug for SuggestionConfig
source§impl Default for SuggestionConfig
impl Default for SuggestionConfig
source§impl Message for SuggestionConfig
impl Message for SuggestionConfig
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 SuggestionConfig
impl PartialEq for SuggestionConfig
source§fn eq(&self, other: &SuggestionConfig) -> bool
fn eq(&self, other: &SuggestionConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuggestionConfig
Auto Trait Implementations§
impl Freeze for SuggestionConfig
impl RefUnwindSafe for SuggestionConfig
impl Send for SuggestionConfig
impl Sync for SuggestionConfig
impl Unpin for SuggestionConfig
impl UnwindSafe for SuggestionConfig
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