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.



5343
5344
5345
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5343

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)


5311
5312
5313
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5311

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)


5316
5317
5318
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5316

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)


5321
5322
5323
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5321

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)


5326
5327
5328
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5326

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)


5331
5332
5333
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5331

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)


5336
5337
5338
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5336

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)


5341
5342
5343
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5341

def unspecified_count
  @unspecified_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5348
5349
5350
5351
5352
5353
5354
5355
5356
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5348

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