Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata

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

Call-specific metadata created during analysis.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata

Returns a new instance of GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata.



123
124
125
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 123

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

Instance Attribute Details

#annotationsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CallAnnotation>

A list of call annotations that apply to this call. Corresponds to the JSON property annotations



96
97
98
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 96

def annotations
  @annotations
end

#entitiesHash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Entity>

All the entities in the call. Corresponds to the JSON property entities



101
102
103
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 101

def entities
  @entities
end

#intentsHash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Intent>

All the matched intents in the call. Corresponds to the JSON property intents



106
107
108
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 106

def intents
  @intents
end

#issue_model_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelResult

Issue Modeling result on a conversation. Corresponds to the JSON property issueModelResult



111
112
113
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 111

def issue_model_result
  @issue_model_result
end

#phrase_matchersHash<String,Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchData>

All the matched phrase matchers in the call. Corresponds to the JSON property phraseMatchers



116
117
118
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 116

def phrase_matchers
  @phrase_matchers
end

#sentimentsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationLevelSentiment>

Overall conversation-level sentiment for each channel of the call. Corresponds to the JSON property sentiments



121
122
123
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 121

def sentiments
  @sentiments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



128
129
130
131
132
133
134
135
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 128

def update!(**args)
  @annotations = args[:annotations] if args.key?(:annotations)
  @entities = args[:entities] if args.key?(:entities)
  @intents = args[:intents] if args.key?(:intents)
  @issue_model_result = args[:issue_model_result] if args.key?(:issue_model_result)
  @phrase_matchers = args[:phrase_matchers] if args.key?(:phrase_matchers)
  @sentiments = args[:sentiments] if args.key?(:sentiments)
end