# Class OperationMetadata (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.21

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

Represents the metadata of the long-running operation.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `deployment_metadata` | `https://docs.cloud.google.com/python/docs/reference/config/latest/google.cloud.config_v1.types.DeploymentOperationMetadata` Output only. Metadata about the deployment operation state. This field is a member of `oneof`_ `resource_metadata`. |
| `preview_metadata` | `https://docs.cloud.google.com/python/docs/reference/config/latest/google.cloud.config_v1.types.PreviewOperationMetadata` Output only. Metadata about the preview operation state. This field is a member of `oneof`_ `resource_metadata`. |
| `provision_deployment_group_metadata` | `https://docs.cloud.google.com/python/docs/reference/config/latest/google.cloud.config_v1.types.ProvisionDeploymentGroupOperationMetadata` Output only. Metadata about ProvisionDeploymentGroup operation state. This field is a member of `oneof`_ `resource_metadata`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Time when the operation was created. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Time when the operation finished running. |
| `target` | `str` Output only. Server-defined resource path for the target of the operation. |
| `verb` | `str` Output only. Name of the verb executed by the operation. |
| `status_message` | `str` Output only. Human-readable status of the operation, if any. |
| `requested_cancellation` | `bool` Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have `google.longrunning.Operation.error][google.longrunning.Operation.error]` value with a `google.rpc.Status.code][google.rpc.Status.code]` of `1`, corresponding to `Code.CANCELLED`. |
| `api_version` | `str` Output only. API version used to start the operation. |