Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class SearchResult.
Search result.
Generated from protobuf message google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ AnswerQueryRequest \ SearchSpec \ SearchResultListMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unstructured_document_info |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo
Unstructured document information. |
↳ chunk_info |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\ChunkInfo
Chunk information. |
getUnstructuredDocumentInfo
Unstructured document information.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo|null |
hasUnstructuredDocumentInfo
setUnstructuredDocumentInfo
Unstructured document information.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo
|
Returns | |
---|---|
Type | Description |
$this |
getChunkInfo
Chunk information.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\ChunkInfo|null |
hasChunkInfo
setChunkInfo
Chunk information.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\ChunkInfo
|
Returns | |
---|---|
Type | Description |
$this |
getContent
Returns | |
---|---|
Type | Description |
string |