# Types for Google Cloud Common API

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.5 1.2.0 1.1.0 1.0.6 0.2.0 0.1.0

### *class* google.cloud.common.types.OperationMetadata(mapping=None, \*, ignore_unknown_fields=False, \*\*kwargs)

Bases: [`proto.message.Message`](https://proto-plus-python.readthedocs.io/en/latest/reference/message.html#proto.message.Message)

Represents the metadata of the long-running operation.

#### create_time()

Output only. The time the operation was
created.

- **Type**

  [google.protobuf.timestamp_pb2.Timestamp](https://googleapis.dev/python/protobuf/latest/google/protobuf/timestamp_pb2.html#google.protobuf.timestamp_pb2.Timestamp)

#### end_time()

Output only. The time the operation finished
running.

- **Type**

  [google.protobuf.timestamp_pb2.Timestamp](https://googleapis.dev/python/protobuf/latest/google/protobuf/timestamp_pb2.html#google.protobuf.timestamp_pb2.Timestamp)

#### target()

Output only. Server-defined resource path for
the target of the operation.

- **Type**

  [str](https://docs.python.org/3/library/stdtypes.html#str)

#### verb()

Output only. Name of the verb executed by the
operation.

- **Type**

  [str](https://docs.python.org/3/library/stdtypes.html#str)

#### status_detail()

Output only. Human-readable status of the
operation, if any.

- **Type**

  [str](https://docs.python.org/3/library/stdtypes.html#str)

#### cancel_requested()

Output only. Identifies whether the user has requested
cancellation of the operation. Operations that have
successfully been cancelled have \[Operation.error\]\[\] value
with a \[google.rpc.Status.code\]\[\] of 1, corresponding to
`Code.CANCELLED`.

- **Type**

  [bool](https://docs.python.org/3/library/functions.html#bool)

#### api_version()

Output only. API version used to start the
operation.

- **Type**

  [str](https://docs.python.org/3/library/stdtypes.html#str)