Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Response message for ConversationalSearchService.ConverseConversation method.
Instance Attribute Summary collapse
-
#conversation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
External conversation proto definition.
-
#related_questions ⇒ Array<String>
Suggested related questions.
-
#reply ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
Defines a reply message to user.
-
#search_results ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult>
Search Results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConverseConversationResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConverseConversationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConverseConversationResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConverseConversationResponse.
1066 1067 1068 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
External conversation proto definition.
Corresponds to the JSON property conversation
1049 1050 1051 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1049 def conversation @conversation end |
#related_questions ⇒ Array<String>
Suggested related questions.
Corresponds to the JSON property relatedQuestions
1054 1055 1056 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1054 def @related_questions end |
#reply ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
Defines a reply message to user.
Corresponds to the JSON property reply
1059 1060 1061 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1059 def reply @reply end |
#search_results ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult>
Search Results.
Corresponds to the JSON property searchResults
1064 1065 1066 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1064 def search_results @search_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1071 1072 1073 1074 1075 1076 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1071 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @related_questions = args[:related_questions] if args.key?(:related_questions) @reply = args[:reply] if args.key?(:reply) @search_results = args[:search_results] if args.key?(:search_results) end |