Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
- 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
-
#audio_count ⇒ Fixnum
The number of AudioInput in the conversation.
-
#dtmf_count ⇒ Fixnum
The number of DtmfInput in the conversation.
-
#event_count ⇒ Fixnum
The number of EventInput in the conversation.
-
#intent_count ⇒ Fixnum
The number of IntentInput in the conversation.
-
#text_count ⇒ Fixnum
The number of TextInput in the conversation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount.
5209 5210 5211 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5209 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_count ⇒ Fixnum
The number of AudioInput in the conversation.
Corresponds to the JSON property audioCount
5187 5188 5189 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5187 def audio_count @audio_count end |
#dtmf_count ⇒ Fixnum
The number of DtmfInput in the conversation.
Corresponds to the JSON property dtmfCount
5192 5193 5194 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5192 def dtmf_count @dtmf_count end |
#event_count ⇒ Fixnum
The number of EventInput in the conversation.
Corresponds to the JSON property eventCount
5197 5198 5199 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5197 def event_count @event_count end |
#intent_count ⇒ Fixnum
The number of IntentInput in the conversation.
Corresponds to the JSON property intentCount
5202 5203 5204 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5202 def intent_count @intent_count end |
#text_count ⇒ Fixnum
The number of TextInput in the conversation.
Corresponds to the JSON property textCount
5207 5208 5209 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5207 def text_count @text_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5214 5215 5216 5217 5218 5219 5220 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5214 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 |