partMetadata property

Struct? partMetadata
final

Custom metadata associated with the Part. Agents using genai.Part as content representation may need to keep track of the additional information. For example it can be name of a file/source from which the Part originates or a way to multiplex multiple Part streams.

Implementation

final Struct? partMetadata;