Package com.google.genai
Class Operations
java.lang.Object
com.google.genai.Operations
Provides 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 -
Method Summary
Modifier and TypeMethodDescriptiongetVideosOperation
(GenerateVideosOperation operation, GetOperationConfig config) Gets the status of a GenerateVideosOperation.
-
Constructor Details
-
Operations
public Operations(com.google.genai.ApiClient apiClient)
-
-
Method Details
-
getVideosOperation
public 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.
-