Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#additional_suggested_query_results ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult>
Corresponds to the JSON property
additionalSuggestedQueryResults. -
#context_size ⇒ Fixnum
Corresponds to the JSON property
contextSize. -
#knowledge_assist_answer ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer
Corresponds to the JSON property
knowledgeAssistAnswer. -
#latest_message ⇒ String
Corresponds to the JSON property
latestMessage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
constructor
A new instance of GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
Returns a new instance of GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.
18180 18181 18182 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_suggested_query_results ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult>
Corresponds to the JSON property additionalSuggestedQueryResults
18163 18164 18165 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18163 def additional_suggested_query_results @additional_suggested_query_results end |
#context_size ⇒ Fixnum
Corresponds to the JSON property contextSize
18168 18169 18170 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18168 def context_size @context_size end |
#knowledge_assist_answer ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer
Corresponds to the JSON property knowledgeAssistAnswer
18173 18174 18175 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18173 def knowledge_assist_answer @knowledge_assist_answer end |
#latest_message ⇒ String
Corresponds to the JSON property latestMessage
18178 18179 18180 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18178 def @latest_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18185 18186 18187 18188 18189 18190 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18185 def update!(**args) @additional_suggested_query_results = args[:additional_suggested_query_results] if args.key?(:additional_suggested_query_results) @context_size = args[:context_size] if args.key?(:context_size) @knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer) @latest_message = args[:latest_message] if args.key?(:latest_message) end |