Class MetricSource (1.158.0)

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

The metric source used for evaluation.

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

Name Description
metric google.cloud.aiplatform_v1beta1.types.Metric
Inline metric config. This field is a member of oneof_ metric_source.
metric_resource_name str
Resource name for registered metric. This field is a member of oneof_ metric_source.

Methods

MetricSource

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

The metric source used for evaluation.

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