Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation

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) ⇒ GoogleCloudContactcenterinsightsV1RuntimeAnnotation

Returns a new instance of GoogleCloudContactcenterinsightsV1RuntimeAnnotation.



3716
3717
3718
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3716

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)


3648
3649
3650
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3648

def annotation_id
  @annotation_id
end

#answer_feedbackGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnswerFeedback

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



3653
3654
3655
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3653

def answer_feedback
  @answer_feedback
end

#article_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ArticleSuggestionData

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



3658
3659
3660
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3658

def article_suggestion
  @article_suggestion
end

#conversation_summarization_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData

Conversation summarization suggestion data. Corresponds to the JSON property conversationSummarizationSuggestion



3663
3664
3665
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3663

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)


3668
3669
3670
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3668

def create_time
  @create_time
end

#dialogflow_interactionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DialogflowInteractionData

Dialogflow interaction data. Corresponds to the JSON property dialogflowInteraction



3673
3674
3675
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3673

def dialogflow_interaction
  @dialogflow_interaction
end

#end_boundaryGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary

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



3678
3679
3680
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3678

def end_boundary
  @end_boundary
end

#faq_answerGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FaqAnswerData

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



3683
3684
3685
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3683

def faq_answer
  @faq_answer
end

#generator_suggestion_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse

Represents response from generators. Corresponds to the JSON property generatorSuggestionResult



3688
3689
3690
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3688

def generator_suggestion_result
  @generator_suggestion_result
end

#knowledge_assist_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse

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



3694
3695
3696
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3694

def knowledge_assist_result
  @knowledge_assist_result
end

#knowledge_search_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer

Represents a SearchKnowledge answer. Corresponds to the JSON property knowledgeSearchResult



3699
3700
3701
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3699

def knowledge_search_result
  @knowledge_search_result
end

#smart_compose_suggestionGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData

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



3704
3705
3706
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3704

def smart_compose_suggestion
  @smart_compose_suggestion
end

#smart_replyGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartReplyData

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



3709
3710
3711
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3709

def smart_reply
  @smart_reply
end

#start_boundaryGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary

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



3714
3715
3716
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3714

def start_boundary
  @start_boundary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3721

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