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.



321
322
323
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 321

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



289
290
291
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 289

def annotations
  @annotations
end

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

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



294
295
296
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 294

def entities
  @entities
end

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

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



299
300
301
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 299

def intents
  @intents
end

#issue_model_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelResult

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



304
305
306
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 304

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



309
310
311
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 309

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



314
315
316
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 314

def sentiments
  @sentiments
end

#silenceGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationLevelSilence

Conversation-level silence data. Corresponds to the JSON property silence



319
320
321
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 319

def silence
  @silence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



326
327
328
329
330
331
332
333
334
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 326

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)
  @silence = args[:silence] if args.key?(:silence)
end