Module: Google::Cloud::DocumentAI::V1::Processor::State
- Defined in:
- proto_docs/google/cloud/documentai/v1/processor.rb
Overview
The possible states of the processor.
Constant Summary collapse
- STATE_UNSPECIFIED =
The processor is in an unspecified state.
0
- ENABLED =
The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.
1
- DISABLED =
The processor is disabled.
2
- ENABLING =
The processor is being enabled, will become
ENABLED
if successful. 3
- DISABLING =
The processor is being disabled, will become
DISABLED
if successful. 4
- CREATING =
The processor is being created, will become either
ENABLED
(for successful creation) orFAILED
(for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet. 5
- FAILED =
The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.
6
- DELETING =
The processor is being deleted, will be removed if successful.
7