Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Defines a reply message to user.
Instance Attribute Summary collapse
-
#references ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReplyReference>
References in the reply.
-
#reply ⇒ String
DEPRECATED: use
summaryinstead. -
#summary ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary
Summary of the top N search result specified by the summary spec.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaReply
constructor
A new instance of GoogleCloudDiscoveryengineV1betaReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaReply
Returns a new instance of GoogleCloudDiscoveryengineV1betaReply.
3531 3532 3533 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#references ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReplyReference>
References in the reply.
Corresponds to the JSON property references
3519 3520 3521 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3519 def references @references end |
#reply ⇒ String
DEPRECATED: use summary instead. Text reply.
Corresponds to the JSON property reply
3524 3525 3526 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3524 def reply @reply end |
#summary ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary
Summary of the top N search result specified by the summary spec.
Corresponds to the JSON property summary
3529 3530 3531 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3529 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3536 3537 3538 3539 3540 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3536 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 |