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.



129
130
131
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 129

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



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

def annotations
  @annotations
end

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

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



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

def entities
  @entities
end

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

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



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

def intents
  @intents
end

#issue_model_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelResult

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



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

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



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

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



127
128
129
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 127

def sentiments
  @sentiments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



134
135
136
137
138
139
140
141
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 134

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