Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConverseConversationResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConverseConversationResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Response message for ConversationalSearchService.ConverseConversation method.
Instance Attribute Summary collapse
-
#conversation ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation
External conversation proto definition.
-
#reply ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply
Defines a reply message to user.
-
#search_results ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResult>
Search Results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConverseConversationResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1ConverseConversationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConverseConversationResponse
Returns a new instance of GoogleCloudDiscoveryengineV1ConverseConversationResponse.
3137 3138 3139 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation
External conversation proto definition.
Corresponds to the JSON property conversation
3125 3126 3127 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3125 def conversation @conversation end |
#reply ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply
Defines a reply message to user.
Corresponds to the JSON property reply
3130 3131 3132 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3130 def reply @reply end |
#search_results ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResult>
Search Results.
Corresponds to the JSON property searchResults
3135 3136 3137 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3135 def search_results @search_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3142 3143 3144 3145 3146 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3142 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @reply = args[:reply] if args.key?(:reply) @search_results = args[:search_results] if args.key?(:search_results) end |