Cloud Optimization v1 API - Class CapacityQuantityInterval (2.5.0)

[Obsolete]
public sealed class CapacityQuantityInterval : IMessage<CapacityQuantityInterval>, IEquatable<CapacityQuantityInterval>, IDeepCloneable<CapacityQuantityInterval>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Optimization v1 API class CapacityQuantityInterval.

Deprecated: Use [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval] instead.

Inheritance

object > CapacityQuantityInterval

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

CapacityQuantityInterval()

public CapacityQuantityInterval()

CapacityQuantityInterval(CapacityQuantityInterval)

public CapacityQuantityInterval(CapacityQuantityInterval other)
Parameter
NameDescription
otherCapacityQuantityInterval

Properties

HasMaxValue

public bool HasMaxValue { get; }

Gets whether the "max_value" field is set

Property Value
TypeDescription
bool

HasMinValue

public bool HasMinValue { get; }

Gets whether the "min_value" field is set

Property Value
TypeDescription
bool

MaxValue

public long MaxValue { get; set; }
Property Value
TypeDescription
long

MinValue

public long MinValue { get; set; }
Property Value
TypeDescription
long

Type

public string Type { get; set; }
Property Value
TypeDescription
string