# Class OperationMetadata (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.5 1.16.1 1.15.1 1.14.0 1.13.1 1.12.2 1.11.1 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.5.0 1.4.4 1.3.2 1.2.1 1.1.0 1.0.0 0.1.3

    OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata describing an operation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `state` | `https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1beta1.types.OperationMetadata.State` Output only. The current operation state. |
| `operation_type` | `https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1beta1.types.OperationMetadata.Type` Output only. The type of operation being performed. |
| `resource` | `str` Output only. The resource being operated on, as a \`relative resource name \`__. |
| `resource_uuid` | `str` Output only. The UUID of the resource being operated on. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the operation was submitted to the server. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing. |

## Classes

### State

    State(value)

An enum describing the overall state of an operation.

### Type

    Type(value)

Type of longrunning operation.