Class: Google::Cloud::Optimization::V1::ShipmentModel::BreakRule::BreakRequest

Inherits:
Object
  • Object
show all
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 BreakRequests 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

Instance Attribute Details

#earliest_start_time::Google::Protobuf::Timestamp

Returns Required. Lower bound (inclusive) on the start of the break.

Returns:



726
727
728
729
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 726

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.

Returns:



726
727
728
729
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 726

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.

Returns:



726
727
728
729
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 726

class BreakRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end