interface InteractionCreatedEvent {
    event_id?: string;
    event_type: "interaction.created";
    interaction: GeminiNextGenAPIClient.Interactions.Interaction;
    metadata?: GeminiNextGenAPIClient.Interactions.InteractionCreatedEvent.Metadata;
}

Properties

event_id?: string

The event_id token to be used to resume the interaction stream, from this event.

event_type: "interaction.created"

The Interaction resource.

Optional metadata accompanying ANY streamed event.