Struct google_api_proto::google::cloud::dialogflow::cx::v3beta1::conversation::Metrics
source · pub struct Metrics {
pub interaction_count: i32,
pub input_audio_duration: Option<Duration>,
pub output_audio_duration: Option<Duration>,
pub max_webhook_latency: Option<Duration>,
pub has_end_interaction: bool,
pub has_live_agent_handoff: bool,
pub average_match_confidence: f32,
pub query_input_count: Option<QueryInputCount>,
pub match_type_count: Option<MatchTypeCount>,
}Expand description
Represents metrics for the conversation.
Fields§
§interaction_count: i32The number of interactions in the conversation.
input_audio_duration: Option<Duration>Duration of all the input’s audio in the conversation.
output_audio_duration: Option<Duration>Duration of all the output’s audio in the conversation.
max_webhook_latency: Option<Duration>Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
has_end_interaction: boolA signal that indicates the interaction with the Dialogflow agent has ended. If any response has the [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction] signal, this is set to true.
has_live_agent_handoff: boolHands off conversation to a human agent. If any response has the [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal, this is set to true.
average_match_confidence: f32The average confidence all of the [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
query_input_count: Option<QueryInputCount>Query input counts.
match_type_count: Option<MatchTypeCount>Match type counts.
Trait Implementations§
source§impl Message for Metrics
impl Message for Metrics
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 Metrics
impl PartialEq for Metrics
impl Copy for Metrics
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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