Class SearchDocumentChunksResponse
Response message for [DeveloperKnowledge.SearchDocumentChunks][google.developers.knowledge.v1.DeveloperKnowledge.SearchDocumentChunks].
Implements
Namespace: Google.Developers.DeveloperKnowledge.V1
Assembly: Google.Developers.DeveloperKnowledge.V1.dll
Syntax
public sealed class SearchDocumentChunksResponse : IMessage<SearchDocumentChunksResponse>, IEquatable<SearchDocumentChunksResponse>, IDeepCloneable<SearchDocumentChunksResponse>, IBufferMessage, IMessage, IPageResponse<DocumentChunk>, IEnumerable<DocumentChunk>, IEnumerable
Constructors
SearchDocumentChunksResponse()
Declaration
public SearchDocumentChunksResponse()
SearchDocumentChunksResponse(SearchDocumentChunksResponse)
Declaration
public SearchDocumentChunksResponse(SearchDocumentChunksResponse other)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchDocumentChunksResponse | other |
Properties
NextPageToken
Optional. Provides a token that can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Declaration
public string NextPageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
Results
Contains the search results for the given query. Each [DocumentChunk][google.developers.knowledge.v1.DocumentChunk] in this list contains a snippet of content relevant to the search query. Use the [DocumentChunk.parent][google.developers.knowledge.v1.DocumentChunk.parent] field of each result with [DeveloperKnowledge.GetDocument][google.developers.knowledge.v1.DeveloperKnowledge.GetDocument] or [DeveloperKnowledge.BatchGetDocuments][google.developers.knowledge.v1.DeveloperKnowledge.BatchGetDocuments] to retrieve the full document content.
Declaration
public RepeatedField<DocumentChunk> Results { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<DocumentChunk> |
Methods
GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Declaration
public IEnumerator<DocumentChunk> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<DocumentChunk> |