# Cloud Optimization V1 API - Module Google::Cloud::Optimization::V1::AsyncModelMetadata::State (v0.16.0)

0.16.0 (latest) 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.1 0.1.1 Reference documentation and code samples for the Cloud Optimization V1 API module Google::Cloud::Optimization::V1::AsyncModelMetadata::State.

Possible states of the operation.

## Constants

### STATE_UNSPECIFIED

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

### RUNNING

**value:** 1  
Request is being processed.

### SUCCEEDED

**value:** 2  
The operation completed successfully.

### CANCELLED

**value:** 3  
The operation was cancelled.

### FAILED

**value:** 4  
The operation has failed.