Class CreateInteractionRequest
java.lang.Object
com.google.genai.gaos.models.operations.CreateInteractionRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateInteractionRequest(String apiVersion, CreateInteractionRequestBody body) CreateInteractionRequest(String apiVersion, CreateInteractionRequestBody body, Boolean automaticContinuation, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionAPI version for request routing.Whether automatic continuation is enabled for this call (defaults to true when empty).body()The request body.builder()booleaninthashCode()timeout()Wall-clock budget for the whole call, across all continuation hops.toString()withApiVersion(String apiVersion) API version for request routing.withAutomaticContinuation(Boolean automaticContinuation) Whether automatic continuation is enabled for this call (defaults to true when unset).The request body.withTimeout(Duration timeout) Wall-clock budget for the whole call, across all continuation hops.
-
Constructor Details
-
CreateInteractionRequest
public CreateInteractionRequest(@Nullable String apiVersion, @Nonnull CreateInteractionRequestBody body) -
CreateInteractionRequest
public CreateInteractionRequest(@Nullable String apiVersion, @Nonnull CreateInteractionRequestBody body, @Nullable Boolean automaticContinuation, @Nullable Duration timeout) -
CreateInteractionRequest
-
-
Method Details
-
apiVersion
API version for request routing. -
body
The request body. -
automaticContinuation
Whether automatic continuation is enabled for this call (defaults to true when empty). Client-side only; seeInteractions.create. -
timeout
Wall-clock budget for the whole call, across all continuation hops. Client-side only; seeInteractions.create. -
builder
-
withApiVersion
API version for request routing. -
withBody
The request body. -
withAutomaticContinuation
Whether automatic continuation is enabled for this call (defaults to true when unset). Client-side only; seeInteractions.create. -
withTimeout
Wall-clock budget for the whole call, across all continuation hops. Client-side only; seeInteractions.create. -
equals
-
hashCode
public int hashCode() -
toString
-