Uses of Class
com.google.genai.gaos.models.interactions.Interaction
Packages that use Interaction
Package
Description
-
Uses of Interaction in com.google.genai.gaos.models.interactions
Methods in com.google.genai.gaos.models.interactions that return InteractionModifier and TypeMethodDescriptionInteraction.Builder.build()Interaction.withAgent(AgentOption agent) The agent to interact with.Interaction.withAgentConfig(InteractionAgentConfig agentConfig) Configuration parameters for the agent interaction.Interaction.withCachedContent(String cachedContent) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Interaction.withContinuationToken(String continuationToken) Opaque token to resume a long decode.Interaction.withCreated(String created) Required.Interaction.withEnvironment(InteractionEnvironment environment) The environment configuration for the interaction.Interaction.withEnvironmentId(String environmentId) Output only.Interaction.withErrors(List<Error> errors) Output only.Interaction.withGenerationConfig(GenerationConfig generationConfig) Configuration parameters for model interactions.Required.Interaction.withInput(InteractionsInput input) The input for the interaction.Interaction.withLabels(Map<String, String> labels) The labels with user-defined metadata for the request.The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.Interaction.withOutputAudio(AudioContent outputAudio) An audio content block.Interaction.withOutputImage(ImageContent outputImage) An image content block.Interaction.withOutputText(String outputText) Concatenated text from the last model output in response to the current request.Interaction.withOutputVideo(VideoContent outputVideo) A video content block.Interaction.withPreviousInteractionId(String previousInteractionId) The ID of the previous interaction, if any.Interaction.withResponseFormat(InteractionResponseFormat responseFormat) Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.Interaction.withResponseMimeType(String responseMimeType) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Interaction.withResponseModalities(List<ResponseModality> responseModalities) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Interaction.withSafetySettings(List<SafetySetting> safetySettings) Safety settings for the interaction.Interaction.withServiceTier(ServiceTier serviceTier) Interaction.withStatus(InteractionStatus status) Required.Required.Interaction.withSystemInstruction(String systemInstruction) System instruction for the interaction.A list of tool declarations the model may call during interaction.Interaction.withUpdated(String updated) Required.Statistics on the interaction request's token usage.Interaction.withWebhookConfig(WebhookConfig webhookConfig) Message for configuring webhook events for a request. -
Uses of Interaction in com.google.genai.gaos.models.operations
Methods in com.google.genai.gaos.models.operations that return types with arguments of type InteractionModifier and TypeMethodDescriptionCancelInteractionByIdResponse.interaction()Successful operationCreateInteractionResponse.interaction()Successful operationGetInteractionByIdResponse.interaction()Successful retrieval of the interaction.Methods in com.google.genai.gaos.models.operations with parameters of type InteractionModifier and TypeMethodDescriptionCancelInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful operationCreateInteractionResponse.Builder.interaction(Interaction interaction) Successful operationGetInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful retrieval of the interaction.CancelInteractionByIdResponse.withInteraction(Interaction interaction) Successful operationCreateInteractionResponse.withInteraction(Interaction interaction) Successful operationGetInteractionByIdResponse.withInteraction(Interaction interaction) Successful retrieval of the interaction.Constructors in com.google.genai.gaos.models.operations with parameters of type InteractionModifierConstructorDescriptionCancelInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) CreateInteractionResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) GetInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) -
Uses of Interaction in com.google.genai.gaos.models.operations.async
Methods in com.google.genai.gaos.models.operations.async that return types with arguments of type InteractionModifier and TypeMethodDescriptionCancelInteractionByIdResponse.interaction()Successful operationCreateInteractionResponse.interaction()Successful operationGetInteractionByIdResponse.interaction()Successful retrieval of the interaction.Methods in com.google.genai.gaos.models.operations.async with parameters of type InteractionModifier and TypeMethodDescriptionCancelInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful operationCreateInteractionResponse.Builder.interaction(Interaction interaction) Successful operationGetInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful retrieval of the interaction.CancelInteractionByIdResponse.withInteraction(Interaction interaction) Successful operationCreateInteractionResponse.withInteraction(Interaction interaction) Successful operationGetInteractionByIdResponse.withInteraction(Interaction interaction) Successful retrieval of the interaction.Constructors in com.google.genai.gaos.models.operations.async with parameters of type InteractionModifierConstructorDescriptionCancelInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) CreateInteractionResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) GetInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction)