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

Document metadata contains the information of the document of the current chunk.

Attributes

  • structData (type: map(), default: nil) - Data representation. The structured JSON data for the document. It should conform to the registered Schema or an INVALID_ARGUMENT error is thrown.
  • title (type: String.t, default: nil) - Title of the document.
  • uri (type: String.t, default: nil) - Uri of the document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ChunkDocumentMetadata{
    structData: map() | nil,
    title: String.t() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.