Response from the register_files method.
Contains the list of files that were registered with the Gemini file service.
Example
{:ok, response} = Gemini.APIs.Files.register_files(
["gs://bucket/file.pdf"],
credentials: credentials
)
Enum.each(response.files, fn file ->
IO.puts("Registered: #{file.name} - #{file.uri}")
end)
Summary
Functions
Creates a RegisterFilesResponse from API response.
Types
@type t() :: %Gemini.Types.RegisterFilesResponse{files: [Gemini.Types.File.t()]}
Response containing registered files.
files- List of File structs for the registered files