Reference documentation and code samples for the Google Cloud Tasks V2 Client class State.
The state of the batch create operation.
Protobuf type google.cloud.tasks.v2.BatchCreateTasksMetadata.State
Namespace
Google \ Cloud \ Tasks \ V2 \ BatchCreateTasksMetadataMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0The default value. This value is used if the state is omitted.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
RUNNING
Value: 1The batch create is running.
Generated from protobuf enum RUNNING = 1;
SUCCEEDED
Value: 2The batch create has finished.
All tasks in the request were successfully created.
Generated from protobuf enum SUCCEEDED = 2;
PARTIALLY_SUCCEEDED
Value: 5The batch create has finished with partial success.
The tasks that failed to be created are reported in failed_requests.
Generated from protobuf enum PARTIALLY_SUCCEEDED = 5;
FAILED
Value: 3The batch create has failed.
This means the overall batch create operation failed to complete. This can happen due to an internal error preventing the operation from finishing.
Generated from protobuf enum FAILED = 3;
CANCELLED
Value: 4The batch create was cancelled.
Generated from protobuf enum CANCELLED = 4;