Service Control v1 API - Class Distribution.Types.LinearBuckets (2.3.0)

public sealed class Distribution.Types.LinearBuckets : IMessage<Distribution.Types.LinearBuckets>, IEquatable<Distribution.Types.LinearBuckets>, IDeepCloneable<Distribution.Types.LinearBuckets>, IBufferMessage, IMessage

Reference documentation and code samples for the Service Control v1 API class Distribution.Types.LinearBuckets.

Describing buckets with constant width.

Inheritance

object > Distribution.Types.LinearBuckets

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

LinearBuckets()

public LinearBuckets()

LinearBuckets(LinearBuckets)

public LinearBuckets(Distribution.Types.LinearBuckets other)
Parameter
Name Description
other DistributionTypesLinearBuckets

Properties

NumFiniteBuckets

public int NumFiniteBuckets { get; set; }

The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is num_finite_buckets + 2. See comments on bucket_options for details.

Property Value
Type Description
int

Offset

public double Offset { get; set; }

The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive.

Property Value
Type Description
double

Width

public double Width { get; set; }

The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.

Property Value
Type Description
double