Class OperationMetadata (1.6.1)

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

The metadata associated with a long running operation resource.

Attributes

NameDescription
resource_names MutableSequence[str]
The full name of the resources that this operation is directly associated with.
steps MutableSequence[google.cloud.servicemanagement_v1.types.OperationMetadata.Step]
Detailed status information for each step. The order is undetermined.
progress_percentage int
Percentage of completion of this operation, ranging from 0 to 100.
start_time google.protobuf.timestamp_pb2.Timestamp
The start time of the operation.

Classes

Status

Status(value)

Code describes the status of the operation (or one of its steps).

Values: STATUS_UNSPECIFIED (0): Unspecifed code. DONE (1): The operation or step has completed without errors. NOT_STARTED (2): The operation or step has not started yet. IN_PROGRESS (3): The operation or step is in progress. FAILED (4): The operation or step has completed with errors. If the operation is rollbackable, the rollback completed with errors too. CANCELLED (5): The operation or step has completed with cancellation.

Step

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

Represents the status of one operation step.