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.
18222 18223 18224 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_suggested_query_results ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult>
Corresponds to the JSON property additionalSuggestedQueryResults
18205 18206 18207 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18205 def additional_suggested_query_results @additional_suggested_query_results end |
#context_size ⇒ Fixnum
Corresponds to the JSON property contextSize
18210 18211 18212 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18210 def context_size @context_size end |
#knowledge_assist_answer ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer
Corresponds to the JSON property knowledgeAssistAnswer
18215 18216 18217 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18215 def knowledge_assist_answer @knowledge_assist_answer end |
#latest_message ⇒ String
Corresponds to the JSON property latestMessage
18220 18221 18222 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18220 def @latest_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18227 18228 18229 18230 18231 18232 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18227 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 |