Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount

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

Overview

Count by Match.MatchType of the matches in the conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount.



5140
5141
5142
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5140

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

Instance Attribute Details

#direct_intent_countFixnum

The number of matches with type Match.MatchType.DIRECT_INTENT. Corresponds to the JSON property directIntentCount

Returns:

  • (Fixnum)


5108
5109
5110
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5108

def direct_intent_count
  @direct_intent_count
end

#event_countFixnum

The number of matches with type Match.MatchType.EVENT. Corresponds to the JSON property eventCount

Returns:

  • (Fixnum)


5113
5114
5115
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5113

def event_count
  @event_count
end

#intent_countFixnum

The number of matches with type Match.MatchType.INTENT. Corresponds to the JSON property intentCount

Returns:

  • (Fixnum)


5118
5119
5120
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5118

def intent_count
  @intent_count
end

#no_input_countFixnum

The number of matches with type Match.MatchType.NO_INPUT. Corresponds to the JSON property noInputCount

Returns:

  • (Fixnum)


5123
5124
5125
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5123

def no_input_count
  @no_input_count
end

#no_match_countFixnum

The number of matches with type Match.MatchType.NO_MATCH. Corresponds to the JSON property noMatchCount

Returns:

  • (Fixnum)


5128
5129
5130
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5128

def no_match_count
  @no_match_count
end

#parameter_filling_countFixnum

The number of matches with type Match.MatchType.PARAMETER_FILLING. Corresponds to the JSON property parameterFillingCount

Returns:

  • (Fixnum)


5133
5134
5135
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5133

def parameter_filling_count
  @parameter_filling_count
end

#unspecified_countFixnum

The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED. Corresponds to the JSON property unspecifiedCount

Returns:

  • (Fixnum)


5138
5139
5140
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5138

def unspecified_count
  @unspecified_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5145
5146
5147
5148
5149
5150
5151
5152
5153
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5145

def update!(**args)
  @direct_intent_count = args[:direct_intent_count] if args.key?(:direct_intent_count)
  @event_count = args[:event_count] if args.key?(:event_count)
  @intent_count = args[:intent_count] if args.key?(:intent_count)
  @no_input_count = args[:no_input_count] if args.key?(:no_input_count)
  @no_match_count = args[:no_match_count] if args.key?(:no_match_count)
  @parameter_filling_count = args[:parameter_filling_count] if args.key?(:parameter_filling_count)
  @unspecified_count = args[:unspecified_count] if args.key?(:unspecified_count)
end