Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation

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

An annotation that was generated during the customer and agent interaction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation.



7526
7527
7528
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7526

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

Instance Attribute Details

#annotation_idString

The unique identifier of the annotation. Format: projects/project/locations/ location/conversationDatasets/dataset/conversationDataItems/data_item/ conversationAnnotations/annotation Corresponds to the JSON property annotationId

Returns:

  • (String)


7458
7459
7460
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7458

def annotation_id
  @annotation_id
end

#answer_feedbackGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback

The feedback that the customer has about a certain answer in the conversation. Corresponds to the JSON property answerFeedback



7463
7464
7465
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7463

def answer_feedback
  @answer_feedback
end

#article_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData

Agent Assist Article Suggestion data. Corresponds to the JSON property articleSuggestion



7468
7469
7470
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7468

def article_suggestion
  @article_suggestion
end

#conversation_summarization_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData

Conversation summarization suggestion data. Corresponds to the JSON property conversationSummarizationSuggestion



7473
7474
7475
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7473

def conversation_summarization_suggestion
  @conversation_summarization_suggestion
end

#create_timeString

The time at which this annotation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


7478
7479
7480
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7478

def create_time
  @create_time
end

#dialogflow_interactionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData

Dialogflow interaction data. Corresponds to the JSON property dialogflowInteraction



7483
7484
7485
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7483

def dialogflow_interaction
  @dialogflow_interaction
end

#end_boundaryGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary

A point in a conversation that marks the start or the end of an annotation. Corresponds to the JSON property endBoundary



7488
7489
7490
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7488

def end_boundary
  @end_boundary
end

#faq_answerGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData

Agent Assist frequently-asked-question answer data. Corresponds to the JSON property faqAnswer



7493
7494
7495
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7493

def faq_answer
  @faq_answer
end

#generator_suggestion_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse

Represents response from generators. Corresponds to the JSON property generatorSuggestionResult



7498
7499
7500
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7498

def generator_suggestion_result
  @generator_suggestion_result
end

#knowledge_assist_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse

Response for Knowledge Assist. Contains suggested query and optionally includes an answer for the query. Corresponds to the JSON property knowledgeAssistResult



7504
7505
7506
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7504

def knowledge_assist_result
  @knowledge_assist_result
end

#knowledge_search_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer

Represents a SearchKnowledge answer. Corresponds to the JSON property knowledgeSearchResult



7509
7510
7511
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7509

def knowledge_search_result
  @knowledge_search_result
end

#smart_compose_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data. Corresponds to the JSON property smartComposeSuggestion



7514
7515
7516
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7514

def smart_compose_suggestion
  @smart_compose_suggestion
end

#smart_replyGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SmartReplyData

Agent Assist Smart Reply data. Corresponds to the JSON property smartReply



7519
7520
7521
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7519

def smart_reply
  @smart_reply
end

#start_boundaryGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary

A point in a conversation that marks the start or the end of an annotation. Corresponds to the JSON property startBoundary



7524
7525
7526
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7524

def start_boundary
  @start_boundary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7531

def update!(**args)
  @annotation_id = args[:annotation_id] if args.key?(:annotation_id)
  @answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
  @article_suggestion = args[:article_suggestion] if args.key?(:article_suggestion)
  @conversation_summarization_suggestion = args[:conversation_summarization_suggestion] if args.key?(:conversation_summarization_suggestion)
  @create_time = args[:create_time] if args.key?(:create_time)
  @dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
  @end_boundary = args[:end_boundary] if args.key?(:end_boundary)
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
  @generator_suggestion_result = args[:generator_suggestion_result] if args.key?(:generator_suggestion_result)
  @knowledge_assist_result = args[:knowledge_assist_result] if args.key?(:knowledge_assist_result)
  @knowledge_search_result = args[:knowledge_search_result] if args.key?(:knowledge_search_result)
  @smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
  @smart_reply = args[:smart_reply] if args.key?(:smart_reply)
  @start_boundary = args[:start_boundary] if args.key?(:start_boundary)
end