# Event

constructor(id: String = Uuid.random(), invocationId: String? = null, author: String, content: Content? = null, actions: EventActions = EventActions(), longRunningToolIds: Set<String> = emptySet(), partial: Boolean = false, turnComplete: Boolean = false, errorCode: String? = null, errorMessage: String? = null, finishReason: FinishReason? = null, usageMetadata: UsageMetadata? = null, avgLogProbs: Double? = null, interrupted: Boolean = false, branch: String? = null, groundingMetadata: GroundingMetadata? = null, modelVersion: String? = null, citationMetadata: CitationMetadata? = null, customMetadata: Map<String, Any>? = null, timestamp: Long = Clock.System.now().toEpochMilliseconds())