struct Google::GenerativeAI::Files::Upload::File

Included Modules

Extended Modules

Defined in:

gemini.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

define(name, *fields) define, field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def create_time : Time #

def display_name : String #

def expiration_time : Time #

def mime_type : String #

def name : String #

def sha256_hash : String #

def size_bytes : String #

def source : String #

def state : String #

def update_time : Time #

def uri : String #