Package com.google.genai
Class Operations
-
- All Implemented Interfaces:
public final class OperationsProvides methods for managing the long-running operations. Instantiating this class is not required. After instantiating a Client, access methods through `client.operations.methodName(...)` directly.
This module is experimental.
-
-
Constructor Summary
Constructors Constructor Description Operations(ApiClient apiClient)
-
Method Summary
Modifier and Type Method Description GenerateVideosOperationgetVideosOperation(GenerateVideosOperation operation, GetOperationConfig config)Gets the status of a GenerateVideosOperation. <T, U extends Operation<T, U>> Uget(U operation, GetOperationConfig config)Gets the status of an Operation. -
-
Constructor Detail
-
Operations
Operations(ApiClient apiClient)
-
-
Method Detail
-
getVideosOperation
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.
-
-
-
-