Class OperationProgress (2.45.0)

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

Information about operation (or operation stage) progress.

Attributes

Name Description
name str
A non-parameterized string describing an operation stage. Unset for single-stage operations.
status google.cloud.container_v1beta1.types.Operation.Status
Status of an operation stage. Unset for single-stage operations.
metrics MutableSequence[google.cloud.container_v1beta1.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 MutableSequence[google.cloud.container_v1beta1.types.OperationProgress]
Substages of an operation or a stage.

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