View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ChunkChunkMetadata (google_api_discovery_engine v0.16.0)

Metadata of the current chunk. This field is only populated on SearchService.Search API.

Attributes

  • nextChunks (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Chunk.t), default: nil) - The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.
  • previousChunks (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Chunk.t), default: nil) - The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ChunkChunkMetadata{
    nextChunks:
      [GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Chunk.t()]
      | nil,
    previousChunks:
      [GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Chunk.t()]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.