Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval (v0.10.0)

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

def max() -> ::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=

def max=(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

def min() -> ::Integer
Returns
  • (::Integer) — A minimum acceptable load. Must be ≥ 0. If they're both specified, min must be ≤ max.

#min=

def min=(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.