Class Distribution
Distribution represents a frequency distribution of double-valued sample points. It contains the size of the population of sample points plus additional optional information: * the arithmetic mean of the samples * the minimum and maximum of the samples * the sum-squared-deviation of the samples, used to compute variance * a histogram of the values of the sample points
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v1.Data
Assembly: Google.Apis.ServiceControl.v1.dll
Syntax
public class Distribution : IDirectResponseSchema
Properties
BucketCounts
The number of samples in each histogram bucket. bucket_counts
are optional. If present, they must sum to
the count
value. The buckets are defined below in bucket_option
. There are N buckets. bucket_counts[0]
is the number of samples in the underflow bucket. bucket_counts[1]
to bucket_counts[N-1]
are the numbers
of samples in each of the finite buckets. And bucket_counts[N] is the number of samples in the overflow bucket. See the comments of
bucket_option` below for more details. Any suffix of trailing zeros may be
omitted.
Declaration
[JsonProperty("bucketCounts")]
public virtual IList<long?> BucketCounts { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
Count
The total number of samples in the distribution. Must be >= 0.
Declaration
[JsonProperty("count")]
public virtual long? Count { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Exemplars
Example points. Must be in increasing order of value
field.
Declaration
[JsonProperty("exemplars")]
public virtual IList<Exemplar> Exemplars { get; set; }
Property Value
Type | Description |
---|---|
IList<Exemplar> |
ExplicitBuckets
Buckets with arbitrary user-provided width.
Declaration
[JsonProperty("explicitBuckets")]
public virtual ExplicitBuckets ExplicitBuckets { get; set; }
Property Value
Type | Description |
---|---|
ExplicitBuckets |
ExponentialBuckets
Buckets with exponentially growing width.
Declaration
[JsonProperty("exponentialBuckets")]
public virtual ExponentialBuckets ExponentialBuckets { get; set; }
Property Value
Type | Description |
---|---|
ExponentialBuckets |
LinearBuckets
Buckets with constant width.
Declaration
[JsonProperty("linearBuckets")]
public virtual LinearBuckets LinearBuckets { get; set; }
Property Value
Type | Description |
---|---|
LinearBuckets |
Maximum
The maximum of the population of values. Ignored if count
is zero.
Declaration
[JsonProperty("maximum")]
public virtual double? Maximum { get; set; }
Property Value
Type | Description |
---|---|
double? |
Mean
The arithmetic mean of the samples in the distribution. If count
is zero then this field must be zero.
Declaration
[JsonProperty("mean")]
public virtual double? Mean { get; set; }
Property Value
Type | Description |
---|---|
double? |
Minimum
The minimum of the population of values. Ignored if count
is zero.
Declaration
[JsonProperty("minimum")]
public virtual double? Minimum { get; set; }
Property Value
Type | Description |
---|---|
double? |
SumOfSquaredDeviation
The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample
values. If count
is zero then this field must be zero, otherwise validation of the request fails.
Declaration
[JsonProperty("sumOfSquaredDeviation")]
public virtual double? SumOfSquaredDeviation { get; set; }
Property Value
Type | Description |
---|---|
double? |