Cloud Optimization v1 API - Class Vehicle.Types.LoadLimit.Types.Interval (2.6.0)

public sealed class Vehicle.Types.LoadLimit.Types.Interval : IMessage<Vehicle.Types.LoadLimit.Types.Interval>, IEquatable<Vehicle.Types.LoadLimit.Types.Interval>, IDeepCloneable<Vehicle.Types.LoadLimit.Types.Interval>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Optimization v1 API class Vehicle.Types.LoadLimit.Types.Interval.

Interval of acceptable load amounts.

Inheritance

object > Vehicle.Types.LoadLimit.Types.Interval

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

Interval()

public Interval()

Interval(Interval)

public Interval(Vehicle.Types.LoadLimit.Types.Interval other)
Parameter
Name Description
other VehicleTypesLoadLimitTypesInterval

Properties

HasMax

public bool HasMax { get; }

Gets whether the "max" field is set

Property Value
Type Description
bool

Max

public long Max { get; set; }

A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].

Property Value
Type Description
long

Min

public long Min { get; set; }

A minimum acceptable load. Must be ≥ 0. If they're both specified, [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].

Property Value
Type Description
long