Cloud Tasks V2beta3 API - Module Google::Cloud::Tasks::V2beta3::BatchDeleteTasksMetadata::State (v0.20.1)

Reference documentation and code samples for the Cloud Tasks V2beta3 API module Google::Cloud::Tasks::V2beta3::BatchDeleteTasksMetadata::State.

The state of the batch delete operation. This enum is not frozen and new values may be added in the future.

Constants

STATE_UNSPECIFIED

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

RUNNING

value: 1
The batch delete is running.

SUCCEEDED

value: 2
The batch delete has finished and all tasks were successfully deleted.

PARTIALLY_SUCCEEDED

value: 3
The batch delete has finished with partial success. The tasks that failed to be deleted are reported in failed_requests. When all requests in the batch fail, google.longrunning.Operation.error will be set with code = google.rpc.Code.ABORTED and message = "None of the requests succeeded, refer to BatchDeleteTasksMetadata.failed_requests for individual error details".

FAILED

value: 4
The batch delete has failed. This means the overall batch delete operation failed to complete. This can happen due to an internal error preventing the operation from finishing.