Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

A breakdown of metrics grouped by intent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats.



13183
13184
13185
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13183

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

Instance Attribute Details

#conversation_countFixnum

Output only. The number of conversations associated with this intent. Corresponds to the JSON property conversationCount

Returns:

  • (Fixnum)


13160
13161
13162
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13160

def conversation_count
  @conversation_count
end

#intent_display_nameString

Output only. The display name of the intent. Corresponds to the JSON property intentDisplayName

Returns:

  • (String)


13165
13166
13167
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13165

def intent_display_name
  @intent_display_name
end

#intent_idString

Output only. The unique identifier for the intent (from Discovery Engine). Corresponds to the JSON property intentId

Returns:

  • (String)


13170
13171
13172
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13170

def intent_id
  @intent_id
end

#loss_patternsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1LossPattern>

Output only. A list of loss patterns identified for this intent. Corresponds to the JSON property lossPatterns



13175
13176
13177
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13175

def loss_patterns
  @loss_patterns
end

#metricsHash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1MetricValue>

Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics. Corresponds to the JSON property metrics



13181
13182
13183
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13181

def metrics
  @metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13188
13189
13190
13191
13192
13193
13194
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13188

def update!(**args)
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
  @intent_display_name = args[:intent_display_name] if args.key?(:intent_display_name)
  @intent_id = args[:intent_id] if args.key?(:intent_id)
  @loss_patterns = args[:loss_patterns] if args.key?(:loss_patterns)
  @metrics = args[:metrics] if args.key?(:metrics)
end