[![](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/logo.svg)](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/index.html)
- 
[Show / Hide Table of Contents](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.SearchDocumentChunksResponse#sidetoggle) Response message for
\[DeveloperKnowledge.SearchDocumentChunks\]\[google.developers.knowledge.v1.DeveloperKnowledge.SearchDocumentChunks\].

##### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) SearchDocumentChunksResponse

##### Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)\<[SearchDocumentChunksResponse](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.SearchDocumentChunksResponse)\> [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)\<[SearchDocumentChunksResponse](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.SearchDocumentChunksResponse)\> [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)\<[SearchDocumentChunksResponse](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.SearchDocumentChunksResponse)\> [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html) [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)\<[DocumentChunk](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentChunk)\> [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[DocumentChunk](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentChunk)\> [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

##### Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

###### **Namespace** : [Google](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google).[Developers](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers).[DeveloperKnowledge](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge).[V1](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/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](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.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](https://learn.microsoft.com/dotnet/api/system.string) |   |

##### Implements

[IPageResponse\<TResource\>.NextPageToken](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html#Google_Api_Gax_Grpc_IPageResponse_1_NextPageToken)

#### 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](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.html)\<[DocumentChunk](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentChunk)\> |   |

### Methods

#### GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

##### Declaration

    public IEnumerator<DocumentChunk> GetEnumerator()

##### Returns

| Type | Description |
|---|---|
| [IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1)\<[DocumentChunk](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.DocumentChunk)\> |   |

##### Implements

[IEnumerable\<T\>.GetEnumerator()](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1.getenumerator)

##### In this article

[Back to top](https://developers.google.com/dotnet/docs/reference/Google.Developers.DeveloperKnowledge.V1/latest/api/Google.Developers.DeveloperKnowledge.V1.SearchDocumentChunksResponse#top) Generated by **DocFX**