Cloud Optimization v1 API - Class ShipmentModel.Types.BreakRule.Types.BreakRequest (2.6.0)

public sealed class ShipmentModel.Types.BreakRule.Types.BreakRequest : IMessage<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IEquatable<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IDeepCloneable<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Optimization v1 API class ShipmentModel.Types.BreakRule.Types.BreakRequest.

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).

Inheritance

object > ShipmentModel.Types.BreakRule.Types.BreakRequest

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

BreakRequest()

public BreakRequest()

BreakRequest(BreakRequest)

public BreakRequest(ShipmentModel.Types.BreakRule.Types.BreakRequest other)
Parameter
Name Description
other ShipmentModelTypesBreakRuleTypesBreakRequest

Properties

EarliestStartTime

public Timestamp EarliestStartTime { get; set; }

Required. Lower bound (inclusive) on the start of the break.

Property Value
Type Description
Timestamp

LatestStartTime

public Timestamp LatestStartTime { get; set; }

Required. Upper bound (inclusive) on the start of the break.

Property Value
Type Description
Timestamp

MinDuration

public Duration MinDuration { get; set; }

Required. Minimum duration of the break. Must be positive.

Property Value
Type Description
Duration