Discovery Engine v1 API - Class SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec (1.5.0)

public sealed class SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec : IMessage<SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec>, IEquatable<SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec>, IDeepCloneable<SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec.

Specifies the chunk spec to be returned from the search response. Only available if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]

Inheritance

object > SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ChunkSpec()

public ChunkSpec()

ChunkSpec(ChunkSpec)

public ChunkSpec(SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec other)
Parameter
Name Description
other SearchRequestTypesContentSearchSpecTypesChunkSpec

Properties

NumNextChunks

public int NumNextChunks { get; set; }

The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.

Property Value
Type Description
int

NumPreviousChunks

public int NumPreviousChunks { get; set; }

The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.

Property Value
Type Description
int