Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
- 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
Represents the search results.
Instance Attribute Summary collapse
-
#chunk ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk
Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
-
#document ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
Document captures all raw metadata information of items to be recommended or searched.
-
#id ⇒ String
Document.id of the searched Document.
-
#model_scores ⇒ Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>
Google provided available scores.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult.
12236 12237 12238 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk
Chunk captures all raw metadata information of items to be recommended or
searched in the chunk mode.
Corresponds to the JSON property chunk
12218 12219 12220 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12218 def chunk @chunk end |
#document ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
12224 12225 12226 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12224 def document @document end |
#id ⇒ String
Document.id of the searched Document.
Corresponds to the JSON property id
12229 12230 12231 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12229 def id @id end |
#model_scores ⇒ Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>
Google provided available scores.
Corresponds to the JSON property modelScores
12234 12235 12236 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12234 def model_scores @model_scores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12241 12242 12243 12244 12245 12246 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12241 def update!(**args) @chunk = args[:chunk] if args.key?(:chunk) @document = args[:document] if args.key?(:document) @id = args[:id] if args.key?(:id) @model_scores = args[:model_scores] if args.key?(:model_scores) end |