Cloud Optimization v1 API - Class CapacityQuantityInterval (2.0.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][] 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
Boolean

HasMinValue

public bool HasMinValue { get; }

Gets whether the "min_value" field is set

Property Value
TypeDescription
Boolean

MaxValue

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

MinValue

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

Type

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