Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::ShipmentModel::BreakRule::BreakRequest.
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).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#earliest_start_time
def earliest_start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Required. Lower bound (inclusive) on the start of the break.
#earliest_start_time=
def earliest_start_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Required. Lower bound (inclusive) on the start of the break.
- (::Google::Protobuf::Timestamp) — Required. Lower bound (inclusive) on the start of the break.
#latest_start_time
def latest_start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Required. Upper bound (inclusive) on the start of the break.
#latest_start_time=
def latest_start_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Required. Upper bound (inclusive) on the start of the break.
- (::Google::Protobuf::Timestamp) — Required. Upper bound (inclusive) on the start of the break.
#min_duration
def min_duration() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — Required. Minimum duration of the break. Must be positive.
#min_duration=
def min_duration=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — Required. Minimum duration of the break. Must be positive.
- (::Google::Protobuf::Duration) — Required. Minimum duration of the break. Must be positive.