Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Represents metrics for the conversation.
Instance Attribute Summary collapse
-
#average_match_confidence ⇒ Float
The average confidence all of the Match in the conversation.
-
#has_end_interaction ⇒ Boolean
(also: #has_end_interaction?)
A signal that indicates the interaction with the Dialogflow agent has ended.
-
#has_live_agent_handoff ⇒ Boolean
(also: #has_live_agent_handoff?)
Hands off conversation to a human agent.
-
#input_audio_duration ⇒ String
Duration of all the input's audio in the conversation.
-
#interaction_count ⇒ Fixnum
The number of interactions in the conversation.
-
#match_type_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
Count by Match.MatchType of the matches in the conversation.
-
#max_webhook_latency ⇒ String
Maximum latency of the Webhook calls in the conversation.
-
#output_audio_duration ⇒ String
Duration of all the output's audio in the conversation.
-
#query_input_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
Count by types of QueryInput of the requests in the conversation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetrics
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ConversationMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetrics
Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationMetrics.
5857 5858 5859 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average_match_confidence ⇒ Float
The average confidence all of the Match in the conversation. Values range from
0.0 (completely uncertain) to 1.0 (completely certain).
Corresponds to the JSON property averageMatchConfidence
5810 5811 5812 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5810 def average_match_confidence @average_match_confidence end |
#has_end_interaction ⇒ Boolean Also known as: has_end_interaction?
A signal that indicates the interaction with the Dialogflow agent has ended.
If any response has the ResponseMessage.end_interaction signal, this is set to
true.
Corresponds to the JSON property hasEndInteraction
5817 5818 5819 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5817 def has_end_interaction @has_end_interaction end |
#has_live_agent_handoff ⇒ Boolean Also known as: has_live_agent_handoff?
Hands off conversation to a human agent. If any response has the
ResponseMessage.live_agent_handoffsignal, this is set to true.
Corresponds to the JSON property hasLiveAgentHandoff
5824 5825 5826 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5824 def has_live_agent_handoff @has_live_agent_handoff end |
#input_audio_duration ⇒ String
Duration of all the input's audio in the conversation.
Corresponds to the JSON property inputAudioDuration
5830 5831 5832 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5830 def input_audio_duration @input_audio_duration end |
#interaction_count ⇒ Fixnum
The number of interactions in the conversation.
Corresponds to the JSON property interactionCount
5835 5836 5837 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5835 def interaction_count @interaction_count end |
#match_type_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
Count by Match.MatchType of the matches in the conversation.
Corresponds to the JSON property matchTypeCount
5840 5841 5842 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5840 def match_type_count @match_type_count end |
#max_webhook_latency ⇒ String
Maximum latency of the Webhook calls in the conversation.
Corresponds to the JSON property maxWebhookLatency
5845 5846 5847 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5845 def max_webhook_latency @max_webhook_latency end |
#output_audio_duration ⇒ String
Duration of all the output's audio in the conversation.
Corresponds to the JSON property outputAudioDuration
5850 5851 5852 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5850 def output_audio_duration @output_audio_duration end |
#query_input_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
Count by types of QueryInput of the requests in the conversation.
Corresponds to the JSON property queryInputCount
5855 5856 5857 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5855 def query_input_count @query_input_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5862 def update!(**args) @average_match_confidence = args[:average_match_confidence] if args.key?(:average_match_confidence) @has_end_interaction = args[:has_end_interaction] if args.key?(:has_end_interaction) @has_live_agent_handoff = args[:has_live_agent_handoff] if args.key?(:has_live_agent_handoff) @input_audio_duration = args[:input_audio_duration] if args.key?(:input_audio_duration) @interaction_count = args[:interaction_count] if args.key?(:interaction_count) @match_type_count = args[:match_type_count] if args.key?(:match_type_count) @max_webhook_latency = args[:max_webhook_latency] if args.key?(:max_webhook_latency) @output_audio_duration = args[:output_audio_duration] if args.key?(:output_audio_duration) @query_input_count = args[:query_input_count] if args.key?(:query_input_count) end |