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).
Attributes
Name
Description
earliest_start_time
google.protobuf.timestamp_pb2.Timestamp
Required. Lower bound (inclusive) on the
start of the break.
latest_start_time
google.protobuf.timestamp_pb2.Timestamp
Required. Upper bound (inclusive) on the
start of the break.
min_duration
google.protobuf.duration_pb2.Duration
Required. Minimum duration of the break. Must
be positive.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class BreakRequest (1.11.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.2 (latest)](/python/docs/reference/optimization/latest/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.11.0](/python/docs/reference/optimization/1.11.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.10.0](/python/docs/reference/optimization/1.10.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.9.1](/python/docs/reference/optimization/1.9.1/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.8.5](/python/docs/reference/optimization/1.8.5/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.7.0](/python/docs/reference/optimization/1.7.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.6.0](/python/docs/reference/optimization/1.6.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.5.0](/python/docs/reference/optimization/1.5.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.4.3](/python/docs/reference/optimization/1.4.3/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.3.2](/python/docs/reference/optimization/1.3.2/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.2.0](/python/docs/reference/optimization/1.2.0/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.1.3](/python/docs/reference/optimization/1.1.3/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [1.0.1](/python/docs/reference/optimization/1.0.1/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest)\n- [0.1.1](/python/docs/reference/optimization/0.1.1/google.cloud.optimization_v1.types.ShipmentModel.BreakRule.BreakRequest) \n\n BreakRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe sequence of breaks (i.e. their number and order) that apply to\neach vehicle must be known beforehand. The repeated\n`BreakRequest`\\\\ s define that sequence, in the order in which they\nmust occur. Their time windows (`earliest_start_time` /\n`latest_start_time`) may overlap, but they must be compatible with\nthe order (this is checked)."]]