enum

Google::GenerativeAI::Files::File::Source

Inherits Enum < Comparable < Value < Object

Constants

SOURCE_UNSPECIFIED = 0
UPLOADED = 1
GENERATED = 2

Instance methods

generated?

Returns true if this enum value equals GENERATED

Source
source_unspecified?

Returns true if this enum value equals SOURCE_UNSPECIFIED

Source
uploaded?

Returns true if this enum value equals UPLOADED

Source