GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponse
Table of Contents ▼
Jump to a specific part of the page:
Description
Response message for DocumentService.SearchDocuments.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
histogramQueryResults
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryResult)
, default:nil
)
- The histogram results that match with the specified SearchDocumentsRequest.histogram_queries. -
matchingDocuments
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument)
, default:nil
)
- The document entities that match the specified SearchDocumentsRequest. -
metadata
(type:GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1ResponseMetadata
, default:nil
)
- Additional information for the API invocation, such as the request tracking id. -
nextPageToken
(type:String.t
, default:nil
)
- The token that specifies the starting position of the next page of results. This field is empty if there are no more results. -
questionAnswer
(type:String.t
, default:nil
)
- Experimental. Question answer from the query against the document. -
totalSize
(type:integer()
, default:nil
)
- The total number of matched documents which is available only if the client set SearchDocumentsRequest.require_total_size totrue
or set SearchDocumentsRequest.total_result_size toESTIMATED_SIZE
orACTUAL_SIZE
. Otherwise, the value will be-1
. Typically a UI would handle this condition by displaying "of many", for example: "Displaying 10 of many".
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponse{
histogramQueryResults: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryResult.t() ] | nil,
matchingDocuments: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.t() ] | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1ResponseMetadata.t() | nil,
nextPageToken: String.t() | nil,
questionAnswer: String.t() | nil,
totalSize: integer() | nil
}
histogramQueryResults: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryResult.t() ] | nil,
matchingDocuments: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.t() ] | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1ResponseMetadata.t() | nil,
nextPageToken: String.t() | nil,
questionAnswer: String.t() | nil,
totalSize: integer() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponse