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
-
#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.
6120 6121 6122 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
6108 6109 6110 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6108 def document @document end |
#id ⇒ String
Document.id of the searched Document.
Corresponds to the JSON property id
6113 6114 6115 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6113 def id @id end |
#model_scores ⇒ Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>
Google provided available scores.
Corresponds to the JSON property modelScores
6118 6119 6120 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6118 def model_scores @model_scores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6125 6126 6127 6128 6129 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6125 def update!(**args) @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 |