Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
- 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
Defines a reply message to user.
Instance Attribute Summary collapse
-
#references ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplyReference>
References in the reply.
-
#reply ⇒ String
DEPRECATED: use
summary
instead. -
#summary ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
Summary of the top N search results specified by the summary spec.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReply
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReply
Returns a new instance of GoogleCloudDiscoveryengineV1alphaReply.
13999 14000 14001 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#references ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplyReference>
References in the reply.
Corresponds to the JSON property references
13987 13988 13989 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13987 def references @references end |
#reply ⇒ String
DEPRECATED: use summary
instead. Text reply.
Corresponds to the JSON property reply
13992 13993 13994 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13992 def reply @reply end |
#summary ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
Summary of the top N search results specified by the summary spec.
Corresponds to the JSON property summary
13997 13998 13999 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13997 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14004 14005 14006 14007 14008 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14004 def update!(**args) @references = args[:references] if args.key?(:references) @reply = args[:reply] if args.key?(:reply) @summary = args[:summary] if args.key?(:summary) end |