Class OperationProgress

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

Information about operation (or operation stage) progress.

Attributes

NameDescription
name str
A non-parameterized string describing an operation stage. Unset for single-stage operations.
status google.cloud.container_v1.types.Operation.Status
Status of an operation stage. Unset for single-stage operations.
metrics Sequence[google.cloud.container_v1.types.OperationProgress.Metric]
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
stages Sequence[google.cloud.container_v1.types.OperationProgress]
Substages of an operation or a stage.

Inheritance

builtins.object > proto.message.Message > OperationProgress

Classes

Metric

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

Progress metric is (string, int|float|string) pair.

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