Struct AggregationMetric
Aggregation metric. This enum is not supported in Gemini API.
[JsonConverter(typeof(AggregationMetricConverter))]
public readonly record struct AggregationMetric : IEquatable<AggregationMetric>
- Implements
- Inherited Members
Properties
AggregationMetricUnspecified
Unspecified aggregation metric.
public static AggregationMetric AggregationMetricUnspecified { get; }
Property Value
AllValues
public static IReadOnlyList<AggregationMetric> AllValues { get; }
Property Value
Average
Average aggregation metric. Not supported for Pairwise metric.
public static AggregationMetric Average { get; }
Property Value
Maximum
Maximum aggregation metric. Not supported for pairwise metric.
public static AggregationMetric Maximum { get; }
Property Value
Median
Median aggregation metric. Not supported for pairwise metric.
public static AggregationMetric Median { get; }
Property Value
Minimum
Minimum aggregation metric. Not supported for pairwise metric.
public static AggregationMetric Minimum { get; }
Property Value
Mode
Mode aggregation metric.
public static AggregationMetric Mode { get; }
Property Value
PercentileP90
90th percentile aggregation metric. Not supported for pairwise metric.
public static AggregationMetric PercentileP90 { get; }
Property Value
PercentileP95
95th percentile aggregation metric. Not supported for pairwise metric.
public static AggregationMetric PercentileP95 { get; }
Property Value
PercentileP99
99th percentile aggregation metric. Not supported for pairwise metric.
public static AggregationMetric PercentileP99 { get; }
Property Value
StandardDeviation
Standard deviation aggregation metric. Not supported for pairwise metric.
public static AggregationMetric StandardDeviation { get; }
Property Value
Value
public string Value { get; }
Property Value
Variance
Variance aggregation metric. Not supported for pairwise metric.
public static AggregationMetric Variance { get; }
Property Value
Methods
Equals(AggregationMetric)
public bool Equals(AggregationMetric other)
Parameters
otherAggregationMetric
Returns
FromString(string)
public static AggregationMetric FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator AggregationMetric(string)
public static implicit operator AggregationMetric(string value)
Parameters
valuestring