Cloud Vision V1 Client - Class State (2.1.1)

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

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

  Value: 0 
 

Invalid.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

  Value: 1 
 

Request is actively being processed.

Generated from protobuf enum PROCESSING = 1;

  Value: 2 
 

The request is done and at least one item has been successfully processed.

Generated from protobuf enum SUCCESSFUL = 2;

  Value: 3 
 

The request is done and no item has been successfully processed.

Generated from protobuf enum FAILED = 3;

  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.

Generated from protobuf enum CANCELLED = 4;

Create a Mobile Website
View Site in Mobile | Classic
Share by: