Class: Google::Cloud::Optimization::V1::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:



1802
1803
1804
1805
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1802

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:



1802
1803
1804
1805
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1802

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:



1802
1803
1804
1805
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1802

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