Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResult
- 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
Represents the search results.
Instance Attribute Summary collapse
-
#chunk ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk
Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
-
#document ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document
Document captures all raw metadata information of items to be recommended or searched.
-
#id ⇒ String
Document.id of the searched Document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSearchResult
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchResponseSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchResponseSearchResult
Returns a new instance of GoogleCloudDiscoveryengineV1SearchResponseSearchResult.
7016 7017 7018 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk
Chunk captures all raw metadata information of items to be recommended or
searched in the chunk mode.
Corresponds to the JSON property chunk
7003 7004 7005 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7003 def chunk @chunk end |
#document ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
7009 7010 7011 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7009 def document @document end |
#id ⇒ String
Document.id of the searched Document.
Corresponds to the JSON property id
7014 7015 7016 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7014 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7021 7022 7023 7024 7025 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7021 def update!(**args) @chunk = args[:chunk] if args.key?(:chunk) @document = args[:document] if args.key?(:document) @id = args[:id] if args.key?(:id) end |