Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConverseConversationResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConverseConversationResponse

Returns a new instance of GoogleCloudDiscoveryengineV1ConverseConversationResponse.



3579
3580
3581
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3579

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversationGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation

External conversation proto definition. Corresponds to the JSON property conversation



3567
3568
3569
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3567

def conversation
  @conversation
end

#replyGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply

Defines a reply message to user. Corresponds to the JSON property reply



3572
3573
3574
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3572

def reply
  @reply
end

#search_resultsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResult>

Search Results. Corresponds to the JSON property searchResults



3577
3578
3579
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3577

def search_results
  @search_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3584
3585
3586
3587
3588
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3584

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