GoogleCloudContentwarehouseV1SearchDocumentsResponse

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):

View Attributes

Attributes

  1. histogramQueryResults (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryResult), default: nil)
    - The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
  2. matchingDocuments (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument), default: nil)
    - The document entities that match the specified SearchDocumentsRequest.
  3. metadata (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1ResponseMetadata, default: nil)
    - Additional information for the API invocation, such as the request tracking id.
  4. 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.
  5. questionAnswer (type: String.t, default: nil)
    - Experimental. Question answer from the query against the document.
  6. totalSize (type: integer(), default: nil)
    - The total number of matched documents which is available only if the client set SearchDocumentsRequest.require_total_size to true or set SearchDocumentsRequest.total_result_size to ESTIMATED_SIZE or ACTUAL_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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponse