Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput
- 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 the selection of a suggestion.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionInput
constructor
A new instance of GoogleCloudDialogflowV2SuggestionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionInput
Returns a new instance of GoogleCloudDialogflowV2SuggestionInput.
15801 15802 15803 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Required. The ID of a suggestion selected by the human agent. The suggestion(s)
were generated in a previous call to request Dialogflow assist. The format is:
projects//locations//answerRecords/
where is an alphanumeric string.
Corresponds to the JSON property answerRecord
15799 15800 15801 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15799 def answer_record @answer_record end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15806 15807 15808 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15806 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) end |