Package com.google.genai
Class AsyncOperations
java.lang.Object
com.google.genai.AsyncOperations
Async module of
Operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVideosOperation
(GenerateVideosOperation operation, GetOperationConfig config) Gets the status of a GenerateVideosOperation.
-
Constructor Details
-
AsyncOperations
public AsyncOperations(com.google.genai.ApiClient apiClient)
-
-
Method Details
-
getVideosOperation
public CompletableFuture<GenerateVideosOperation> getVideosOperation(GenerateVideosOperation operation, GetOperationConfig config) Gets the status of a GenerateVideosOperation.- Parameters:
operation
- A GenerateVideosOperation.config
- The configuration for getting the operation.- Returns:
- A GenerateVideosOperation with the updated status of the operation.
-