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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantRecord

Returns a new instance of GoogleCloudDialogflowV2AgentAssistantRecord.



7027
7028
7029
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7027

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

Instance Attribute Details

#article_suggestion_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer

Corresponds to the JSON property articleSuggestionAnswer



7010
7011
7012
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7010

def article_suggestion_answer
  @article_suggestion_answer
end

#dialogflow_assist_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer

Corresponds to the JSON property dialogflowAssistAnswer



7015
7016
7017
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7015

def dialogflow_assist_answer
  @dialogflow_assist_answer
end

#faq_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer

Corresponds to the JSON property faqAnswer



7020
7021
7022
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7020

def faq_answer
  @faq_answer
end

#generator_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion

Corresponds to the JSON property generatorSuggestion



7025
7026
7027
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7025

def generator_suggestion
  @generator_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7032
7033
7034
7035
7036
7037
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7032

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