google.ai.generativelanguage.File.State

States for the lifecycle of a File.

STATE_UNSPECIFIED 0

The default value. This value is used if the state is omitted.

PROCESSING 1

File is being processed and cannot be used for inference yet.

ACTIVE 2

File is processed and available for inference.

FAILED 10

File failed processing.

ACTIVE <State.ACTIVE: 2>
FAILED <State.FAILED: 10>
PROCESSING <State.PROCESSING: 1>
STATE_UNSPECIFIED <State.STATE_UNSPECIFIED: 0>