Class Metric (2.12.2)

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

Attributes

NameDescription
name str
Required. Metric name, e.g., "nodes total", "percent done".
int_value int
For metrics with integer value. This field is a member of oneof_ value.
double_value float
For metrics with floating point value. This field is a member of oneof_ value.
string_value str
For metrics with custom values (ratios, visual progress, etc.). This field is a member of oneof_ value.