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



722
723
724
725
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 722

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

#latest_start_time::Google::Protobuf::Timestamp



722
723
724
725
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 722

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

#min_duration::Google::Protobuf::Duration



722
723
724
725
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 722

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