Class CreateInteractionRequestBuilder
java.lang.Object
com.google.genai.gaos.models.operations.async.CreateInteractionRequestBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) call()Executes the request and returns the response.retryConfig(RetryConfig retryConfig)
-
Constructor Details
-
CreateInteractionRequestBuilder
-
-
Method Details
-
apiVersion
-
body
-
retryConfig
-
header
-
call
Executes the request and returns the response.This operation returns a
EventStream<InteractionSSEStreamEvent>blocking SSE (Server-Sent Events) stream.The returned CompletableFuture completes with the blocking event stream once response headers are received. Iterating the stream blocks the calling thread; close it after use.
- Returns:
- A CompletableFuture that completes with a blocking event stream of typed events from the server.
-