Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantRecord

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

Overview

Represents a record of a human agent assistant answer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentAssistantRecord

Returns a new instance of GoogleCloudDialogflowV2beta1AgentAssistantRecord.



12305
12306
12307
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12305

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

Instance Attribute Details

#article_suggestion_answerGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleAnswer

Represents article answer. Corresponds to the JSON property articleSuggestionAnswer



12288
12289
12290
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12288

def article_suggestion_answer
  @article_suggestion_answer
end

#dialogflow_assist_answerGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer

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



12293
12294
12295
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12293

def dialogflow_assist_answer
  @dialogflow_assist_answer
end

#faq_answerGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswer

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



12298
12299
12300
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12298

def faq_answer
  @faq_answer
end

#generator_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion

Suggestion generated using a Generator. Corresponds to the JSON property generatorSuggestion



12303
12304
12305
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12303

def generator_suggestion
  @generator_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12310
12311
12312
12313
12314
12315
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12310

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