Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantRecord

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

Represents a record of a human agent assist answer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantRecord

Returns a new instance of GoogleCloudDialogflowV2AgentAssistantRecord.



7957
7958
7959
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7957

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

Instance Attribute Details

#article_suggestion_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer

Represents article answer. Corresponds to the JSON property articleSuggestionAnswer



7945
7946
7947
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7945

def article_suggestion_answer
  @article_suggestion_answer
end

#dialogflow_assist_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer

Represents a Dialogflow assist answer. Corresponds to the JSON property dialogflowAssistAnswer



7950
7951
7952
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7950

def dialogflow_assist_answer
  @dialogflow_assist_answer
end

#faq_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer

Represents answer from "frequently asked questions". Corresponds to the JSON property faqAnswer



7955
7956
7957
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7955

def faq_answer
  @faq_answer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7962
7963
7964
7965
7966
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7962

def update!(**args)
  @article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer)
  @dialogflow_assist_answer = args[:dialogflow_assist_answer] if args.key?(:dialogflow_assist_answer)
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
end