Reference documentation and code samples for the Cloud Vision V1 Client class State.
Enumerates the possible states that the batch request can be in.
Protobuf type google.cloud.vision.v1.BatchOperationMetadata.State
Namespace
Google \ Cloud \ Vision \ V1 \ BatchOperationMetadata
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
STATE_UNSPECIFIED
Value: 0
Invalid.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
PROCESSING
Value: 1
Request is actively being processed.
Generated from protobuf enum PROCESSING = 1;
SUCCESSFUL
Value: 2
The request is done and at least one item has been successfully
processed.
Generated from protobuf enum SUCCESSFUL = 2;
FAILED
Value: 3
The request is done and no item has been successfully processed.
Generated from protobuf enum FAILED = 3;
CANCELLED
Value: 4
The request is done after the longrunning.Operations.CancelOperation has
been called by the user. Any records that were processed before the
cancel command are output as specified in the request.