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.withCreated(String created) Output only.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.Output only.Interaction.withSystemInstruction(String systemInstruction) System instruction for the interaction.A list of tool declarations the model may call during interaction.Interaction.withUpdated(String updated) Output only.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 cancellation of the interaction.CreateInteractionResponse.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 cancellation of the interaction.CreateInteractionResponse.Builder.interaction(Interaction interaction) Successful operationGetInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful retrieval of the interaction.CancelInteractionByIdResponse.withInteraction(Interaction interaction) Successful cancellation of the interaction.CreateInteractionResponse.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 cancellation of the interaction.CreateInteractionResponse.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 cancellation of the interaction.CreateInteractionResponse.Builder.interaction(Interaction interaction) Successful operationGetInteractionByIdResponse.Builder.interaction(Interaction interaction) Successful retrieval of the interaction.CancelInteractionByIdResponse.withInteraction(Interaction interaction) Successful cancellation of the interaction.CreateInteractionResponse.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) -
Uses of Interaction in com.google.genai.gaos.models.triggers
Methods in com.google.genai.gaos.models.triggers that return types with arguments of type InteractionMethods in com.google.genai.gaos.models.triggers with parameters of type InteractionModifier and TypeMethodDescriptionTrigger.Builder.interaction(Interaction interaction) The Interaction resource.Trigger.withInteraction(Interaction interaction) The Interaction resource.Constructors in com.google.genai.gaos.models.triggers with parameters of type InteractionModifierConstructorDescriptionTrigger(Integer consecutiveFailureCount, OffsetDateTime createTime, String displayName, String environmentId, Integer executionTimeoutSeconds, String id, Interaction interaction, OffsetDateTime lastPauseTime, OffsetDateTime lastResumeTime, OffsetDateTime lastRunTime, Integer maxConsecutiveFailures, OffsetDateTime nextRunTime, String previousInteractionId, String schedule, TriggerStatus status, String timeZone, OffsetDateTime updateTime) Trigger(String id, Interaction interaction, String schedule, String timeZone)