Reference documentation and code samples for the Google Cloud Optimization V1 Client class BreakRequest.
The sequence of breaks (i.e. their number and order) that apply to each
vehicle must be known beforehand. The repeatedBreakRequests 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).
Generated from protobuf messagegoogle.cloud.optimization.v1.BreakRule.BreakRequest
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Optimization V1 Client - Class BreakRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-optimization/latest/V1.BreakRule.BreakRequest)\n- [1.0.4](/php/docs/reference/cloud-optimization/1.0.4/V1.BreakRule.BreakRequest)\n- [0.7.0](/php/docs/reference/cloud-optimization/0.7.0/V1.BreakRule.BreakRequest)\n- [0.6.5](/php/docs/reference/cloud-optimization/0.6.5/V1.BreakRule.BreakRequest)\n- [0.5.1](/php/docs/reference/cloud-optimization/0.5.1/V1.BreakRule.BreakRequest)\n- [0.4.0](/php/docs/reference/cloud-optimization/0.4.0/V1.BreakRule.BreakRequest)\n- [0.3.4](/php/docs/reference/cloud-optimization/0.3.4/V1.BreakRule.BreakRequest)\n- [0.2.0](/php/docs/reference/cloud-optimization/0.2.0/V1.BreakRule.BreakRequest)\n- [0.1.9](/php/docs/reference/cloud-optimization/0.1.9/V1.BreakRule.BreakRequest) \nReference documentation and code samples for the Google Cloud Optimization V1 Client class BreakRequest.\n\nThe sequence of breaks (i.e. their number and order) that apply to each\nvehicle must be known beforehand. The repeated `BreakRequest`s define\nthat sequence, in the order in which they must occur. Their time windows\n(`earliest_start_time` / `latest_start_time`) may overlap, but they must\nbe compatible with the order (this is checked).\n\nGenerated from protobuf message `google.cloud.optimization.v1.BreakRule.BreakRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Optimization \\\\ V1 \\\\ BreakRule\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEarliestStartTime\n\nRequired. Lower bound (inclusive) on the start of the break.\n\n### hasEarliestStartTime\n\n### clearEarliestStartTime\n\n### setEarliestStartTime\n\nRequired. Lower bound (inclusive) on the start of the break.\n\n### getLatestStartTime\n\nRequired. Upper bound (inclusive) on the start of the break.\n\n### hasLatestStartTime\n\n### clearLatestStartTime\n\n### setLatestStartTime\n\nRequired. Upper bound (inclusive) on the start of the break.\n\n### getMinDuration\n\nRequired. Minimum duration of the break. Must be positive.\n\n### hasMinDuration\n\n### clearMinDuration\n\n### setMinDuration\n\nRequired. Minimum duration of the break. Must be positive."]]