A session event.
Package
@google-cloud/agentplatformProperties
actions
actions?: EventActions;Optional. Actions executed by the agent.
author
author?: string;Required. The name of the agent that sent the event, or user.
content
content?: genaiTypes.Content;Optional. Content of the event provided by the author.
errorCode
errorCode?: string;Optional. Error code if the response is an error. Code varies by model.
errorMessage
errorMessage?: string;Optional. Error message if the response is an error.
eventMetadata
eventMetadata?: EventMetadata;Optional. Metadata relating to this event.
invocationId
invocationId?: string;Required. The invocation id of the event, multiple events can have the same invocation id.
name
name?: string;Identifier. The resource name of the event. Format:projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}.
rawEvent
rawEvent?: Record<string, unknown>;Optional. Weakly typed raw event data in proto struct format.
timestamp
timestamp?: string;Required. Timestamp when the event was created on client side.