struct

Google::GenerativeAI::Files

Inherits Struct < Value < Object

Constructors

new(client : Google::GenerativeAI::Client, http : HTTP::Client = client.http, api_key : String = client.api_key)
Source

Instance methods

api_key
Source
client
Source
get(name : String)
Source
http
Source
list(page_size : Int | Nil = nil, page_token : String | Nil = nil)
Source
upload(file : Path, content_type : String)
Source

Nested types