Class: Google::Cloud::Optimization::V1::BreakRule::BreakRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::BreakRule::BreakRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
The sequence of breaks (i.e. their number and order) that apply to each
vehicle must be known beforehand. The repeated BreakRequest
s define
that sequence, in the order in which they must occur. Their time windows
(earliest_start_time
/ latest_start_time
) may overlap, but they must
be compatible with the order (this is checked).
Instance Attribute Summary collapse
-
#earliest_start_time ⇒ ::Google::Protobuf::Timestamp
Required.
-
#latest_start_time ⇒ ::Google::Protobuf::Timestamp
Required.
-
#min_duration ⇒ ::Google::Protobuf::Duration
Required.
Instance Attribute Details
#earliest_start_time ⇒ ::Google::Protobuf::Timestamp
Returns Required. Lower bound (inclusive) on the start of the break.
1798 1799 1800 1801 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1798 class BreakRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#latest_start_time ⇒ ::Google::Protobuf::Timestamp
Returns Required. Upper bound (inclusive) on the start of the break.
1798 1799 1800 1801 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1798 class BreakRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_duration ⇒ ::Google::Protobuf::Duration
Returns Required. Minimum duration of the break. Must be positive.
1798 1799 1800 1801 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1798 class BreakRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |