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
-
#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.
4503 4504 4505 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4503 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
4496 4497 4498 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4496 def document @document end |
#id ⇒ String
Document.id of the searched Document.
Corresponds to the JSON property id
4501 4502 4503 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4501 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4508 4509 4510 4511 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4508 def update!(**args) @document = args[:document] if args.key?(:document) @id = args[:id] if args.key?(:id) end |