Class InteractionSseEventInteraction.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.InteractionSseEventInteraction.Builder
- Enclosing class:
- InteractionSseEventInteraction
-
Method Summary
Modifier and TypeMethodDescriptionThe agent to interact with.build()Output only.Required.The model that will complete your prompt.Output only.serviceTier(ServiceTier serviceTier) Required.Output only.Output only.Statistics on the interaction request's token usage.
-
Method Details
-
agent
The agent to interact with. -
created
Output only. The time at which the response was created in ISO 8601 format. -
id
Required. Output only. A unique identifier for the interaction completion. -
model
The model that will complete your prompt. -
object
Output only. The resource type. -
serviceTier
-
status
public InteractionSseEventInteraction.Builder status(@Nonnull InteractionSseEventInteractionStatus status) Required. Output only. The status of the interaction. -
steps
Output only. The steps that make up the interaction, if included in this event. -
updated
Output only. The time at which the response was last updated in ISO 8601 format. -
usage
Statistics on the interaction request's token usage. -
build
-