Class Files

java.lang.Object
com.google.genai.gaos.Files

public class Files extends Object
  • Method Details

    • async

      public AsyncFiles 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