Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetrics

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationMetrics.



5083
5084
5085
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5083

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#average_match_confidenceFloat

Corresponds to the JSON property averageMatchConfidence

Returns:

  • (Float)


5039
5040
5041
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5039

def average_match_confidence
  @average_match_confidence
end

#has_end_interactionBoolean Also known as: has_end_interaction?

Corresponds to the JSON property hasEndInteraction

Returns:

  • (Boolean)


5044
5045
5046
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5044

def has_end_interaction
  @has_end_interaction
end

#has_live_agent_handoffBoolean Also known as: has_live_agent_handoff?

Corresponds to the JSON property hasLiveAgentHandoff

Returns:

  • (Boolean)


5050
5051
5052
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5050

def has_live_agent_handoff
  @has_live_agent_handoff
end

#input_audio_durationString

Corresponds to the JSON property inputAudioDuration

Returns:

  • (String)


5056
5057
5058
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5056

def input_audio_duration
  @input_audio_duration
end

#interaction_countFixnum

Corresponds to the JSON property interactionCount

Returns:

  • (Fixnum)


5061
5062
5063
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5061

def interaction_count
  @interaction_count
end

#match_type_countGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount

Corresponds to the JSON property matchTypeCount



5066
5067
5068
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5066

def match_type_count
  @match_type_count
end

#max_webhook_latencyString

Corresponds to the JSON property maxWebhookLatency

Returns:

  • (String)


5071
5072
5073
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5071

def max_webhook_latency
  @max_webhook_latency
end

#output_audio_durationString

Corresponds to the JSON property outputAudioDuration

Returns:

  • (String)


5076
5077
5078
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5076

def output_audio_duration
  @output_audio_duration
end

#query_input_countGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount

Corresponds to the JSON property queryInputCount



5081
5082
5083
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5081

def query_input_count
  @query_input_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5088

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