Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply

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

Defines a reply message to user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1Reply

Returns a new instance of GoogleCloudDiscoveryengineV1Reply.



5810
5811
5812
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5810

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

Instance Attribute Details

#summaryGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSummary

Summary of the top N search results specified by the summary spec. Corresponds to the JSON property summary



5808
5809
5810
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5808

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5815
5816
5817
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5815

def update!(**args)
  @summary = args[:summary] if args.key?(:summary)
end