Reference documentation and code samples for the Cloud Vision V1 API module Google::Cloud::Vision::V1::BatchOperationMetadata::State.
Enumerates the possible states that the batch request can be in.
Constants
STATE_UNSPECIFIED
value: 0 Invalid.
PROCESSING
value: 1 Request is actively being processed.
SUCCESSFUL
value: 2 The request is done and at least one item has been successfully
processed.
FAILED
value: 3 The request is done and no item has been successfully processed.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Vision V1 API - Module Google::Cloud::Vision::V1::BatchOperationMetadata::State (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [1.3.0](/ruby/docs/reference/google-cloud-vision-v1/1.3.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [1.2.1](/ruby/docs/reference/google-cloud-vision-v1/1.2.1/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision-v1/1.1.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision-v1/1.0.1/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.15.0](/ruby/docs/reference/google-cloud-vision-v1/0.15.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.14.0](/ruby/docs/reference/google-cloud-vision-v1/0.14.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.13.2](/ruby/docs/reference/google-cloud-vision-v1/0.13.2/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.12.0](/ruby/docs/reference/google-cloud-vision-v1/0.12.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.11.1](/ruby/docs/reference/google-cloud-vision-v1/0.11.1/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.10.0](/ruby/docs/reference/google-cloud-vision-v1/0.10.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.9.0](/ruby/docs/reference/google-cloud-vision-v1/0.9.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.8.0](/ruby/docs/reference/google-cloud-vision-v1/0.8.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.7.0](/ruby/docs/reference/google-cloud-vision-v1/0.7.0/Google-Cloud-Vision-V1-BatchOperationMetadata-State)\n- [0.6.4](/ruby/docs/reference/google-cloud-vision-v1/0.6.4/Google-Cloud-Vision-V1-BatchOperationMetadata-State) \nReference documentation and code samples for the Cloud Vision V1 API module Google::Cloud::Vision::V1::BatchOperationMetadata::State.\n\nEnumerates the possible states that the batch request can be in.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nInvalid.\n\n### PROCESSING\n\n**value:** 1 \nRequest is actively being processed.\n\n### SUCCESSFUL\n\n**value:** 2 \nThe request is done and at least one item has been successfully\nprocessed.\n\n### FAILED\n\n**value:** 3 \nThe request is done and no item has been successfully processed.\n\n### CANCELLED\n\n**value:** 4 \nThe request is done after the longrunning.Operations.CancelOperation has\nbeen called by the user. Any records that were processed before the\ncancel command are output as specified in the request."]]