Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult

Inherits:
Object
  • Object
show all
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

Search result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult

Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult.



1388
1389
1390
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1388

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#chunk_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo

Chunk information. Corresponds to the JSON property chunkInfo



1381
1382
1383
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1381

def chunk_info
  @chunk_info
end

#unstructured_document_infoGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo

Unstructured document information. Corresponds to the JSON property unstructuredDocumentInfo



1386
1387
1388
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1386

def unstructured_document_info
  @unstructured_document_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1393
1394
1395
1396
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1393

def update!(**args)
  @chunk_info = args[:chunk_info] if args.key?(:chunk_info)
  @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
end