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.



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

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

Instance Attribute Details

#article_suggestion_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer

Corresponds to the JSON property articleSuggestionAnswer



6998
6999
7000
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6998

def article_suggestion_answer
  @article_suggestion_answer
end

#dialogflow_assist_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer

Corresponds to the JSON property dialogflowAssistAnswer



7003
7004
7005
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7003

def dialogflow_assist_answer
  @dialogflow_assist_answer
end

#faq_answerGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer

Corresponds to the JSON property faqAnswer



7008
7009
7010
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7008

def faq_answer
  @faq_answer
end

#generator_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion

Corresponds to the JSON property generatorSuggestion



7013
7014
7015
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7013

def generator_suggestion
  @generator_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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