Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount

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 types of QueryInput of the requests in the conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount.



5388
5389
5390
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5388

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

Instance Attribute Details

#audio_countFixnum

The number of AudioInput in the conversation. Corresponds to the JSON property audioCount

Returns:

  • (Fixnum)


5366
5367
5368
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5366

def audio_count
  @audio_count
end

#dtmf_countFixnum

The number of DtmfInput in the conversation. Corresponds to the JSON property dtmfCount

Returns:

  • (Fixnum)


5371
5372
5373
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5371

def dtmf_count
  @dtmf_count
end

#event_countFixnum

The number of EventInput in the conversation. Corresponds to the JSON property eventCount

Returns:

  • (Fixnum)


5376
5377
5378
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5376

def event_count
  @event_count
end

#intent_countFixnum

The number of IntentInput in the conversation. Corresponds to the JSON property intentCount

Returns:

  • (Fixnum)


5381
5382
5383
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5381

def intent_count
  @intent_count
end

#text_countFixnum

The number of TextInput in the conversation. Corresponds to the JSON property textCount

Returns:

  • (Fixnum)


5386
5387
5388
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5386

def text_count
  @text_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5393
5394
5395
5396
5397
5398
5399
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5393

def update!(**args)
  @audio_count = args[:audio_count] if args.key?(:audio_count)
  @dtmf_count = args[:dtmf_count] if args.key?(:dtmf_count)
  @event_count = args[:event_count] if args.key?(:event_count)
  @intent_count = args[:intent_count] if args.key?(:intent_count)
  @text_count = args[:text_count] if args.key?(:text_count)
end