Types for Google Cloud Common API

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

Bases: proto.message.Message

Represents the metadata of the long-running operation.

create_time()

Output only. The time the operation was created.

end_time()

Output only. The time the operation finished running.

target()

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

verb()

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

status_detail()

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

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.

api_version()

Output only. API version used to start the operation.