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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]