Package com.google.genai.gaos
Class Files
java.lang.Object
com.google.genai.gaos.Files
-
Method Summary
Modifier and TypeMethodDescriptionasync()Switches to the async SDK.list()Retrieves a file or directory from an environment's snapshot.list(GetEnvironmentFilesRequest request) Retrieves a file or directory from an environment's snapshot.list(GetEnvironmentFilesRequest request, Options options) Retrieves a file or directory from an environment's snapshot.
-
Method Details
-
async
Switches to the async SDK.- Returns:
- The async SDK
-
list
Retrieves a file or directory from an environment's snapshot.- Returns:
- The call builder
-
list
Retrieves a file or directory from an environment's snapshot.- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
RuntimeException- subclass if the API call fails
-
list
public GetEnvironmentFilesResponse list(@Nonnull GetEnvironmentFilesRequest request, @Nullable Options options) Retrieves a file or directory from an environment's snapshot.- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
RuntimeException- subclass if the API call fails
-