Class FeatureStatsAndAnomalySpec (1.90.0)

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

Defines how to select FeatureStatsAndAnomaly to be populated in response. If set, retrieves FeatureStatsAndAnomaly generated by FeatureMonitors based on this spec.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
latest_stats_count int
Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range. This field is a member of oneof_ _latest_stats_count.
stats_time_range google.type.interval_pb2.Interval
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.

Methods

FeatureStatsAndAnomalySpec

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

Defines how to select FeatureStatsAndAnomaly to be populated in response. If set, retrieves FeatureStatsAndAnomaly generated by FeatureMonitors based on this spec.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields