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.



5164
5165
5166
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5164

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)


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

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)


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

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)


5142
5143
5144
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5142

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)


5147
5148
5149
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5147

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)


5152
5153
5154
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5152

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)


5157
5158
5159
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5157

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)


5162
5163
5164
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5162

def unspecified_count
  @unspecified_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5169
5170
5171
5172
5173
5174
5175
5176
5177
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5169

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