Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
- 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
Represents the search results.
Instance Attribute Summary collapse
-
#chunk ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk
Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
-
#document ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument
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::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList>
Google provided available scores.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.
19137 19138 19139 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk
Chunk captures all raw metadata information of items to be recommended or
searched in the chunk mode.
Corresponds to the JSON property chunk
19119 19120 19121 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19119 def chunk @chunk end |
#document ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
19125 19126 19127 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19125 def document @document end |
#id ⇒ String
Document.id of the searched Document.
Corresponds to the JSON property id
19130 19131 19132 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19130 def id @id end |
#model_scores ⇒ Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList>
Google provided available scores.
Corresponds to the JSON property modelScores
19135 19136 19137 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19135 def model_scores @model_scores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19142 19143 19144 19145 19146 19147 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19142 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 |