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.



5242
5243
5244
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5242

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)


5210
5211
5212
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5210

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)


5215
5216
5217
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5215

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)


5220
5221
5222
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5220

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)


5225
5226
5227
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5225

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)


5230
5231
5232
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5230

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)


5235
5236
5237
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5235

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)


5240
5241
5242
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5240

def unspecified_count
  @unspecified_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5247
5248
5249
5250
5251
5252
5253
5254
5255
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5247

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