Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval.
Interval of acceptable load amounts.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#max
defmax()->::Integer
Returns
(::Integer) — A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum
load is unrestricted by this message.
If they're both specified,
min must
be ≤
max.
#max=
defmax=(value)->::Integer
Parameter
value (::Integer) — A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum
load is unrestricted by this message.
If they're both specified,
min must
be ≤
max.
Returns
(::Integer) — A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum
load is unrestricted by this message.
If they're both specified,
min must
be ≤
max.
#min
defmin()->::Integer
Returns
(::Integer) — A minimum acceptable load. Must be ≥ 0.
If they're both specified,
min must
be ≤
max.
#min=
defmin=(value)->::Integer
Parameter
value (::Integer) — A minimum acceptable load. Must be ≥ 0.
If they're both specified,
min must
be ≤
max.
Returns
(::Integer) — A minimum acceptable load. Must be ≥ 0.
If they're both specified,
min must
be ≤
max.