Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::BreakRule::BreakRequest (v0.6.0)

Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::BreakRule::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).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#earliest_start_time

def earliest_start_time() -> ::Google::Protobuf::Timestamp
Returns

#earliest_start_time=

def earliest_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#latest_start_time

def latest_start_time() -> ::Google::Protobuf::Timestamp
Returns

#latest_start_time=

def latest_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#min_duration

def min_duration() -> ::Google::Protobuf::Duration
Returns

#min_duration=

def min_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns