struct Google::Maps::RouteOptimization::TimeWindow
- Google::Maps::RouteOptimization::TimeWindow
- Struct
- Value
- Object
Overview
Time windows constrain the time of an event
Included Modules
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
maps.crConstructors
Instance Method Summary
-
#cost_per_hour_after_soft_end_time : Float64 | Nil
Cost per hour added if event occurs after soft_end_time
-
#cost_per_hour_before_soft_start_time : Float64 | Nil
Cost per hour added if event occurs before soft_start_time
-
#end_time : Time
The hard time window end time
-
#soft_end_time : Time | Nil
The soft end time of the time window
-
#soft_start_time : Time | Nil
The soft start time of the time window
-
#start_time : Time
The hard time window start time
Macros inherited from module Google::Resource
define(name, *fields)
define,
field(var, key = nil, **options, &block)
field,
field!(var, key = nil, **options, &block)
field!,
field?(var, key = nil, **options, &block)
field?
Constructor Detail
Instance Method Detail
def cost_per_hour_after_soft_end_time : Float64 | Nil
#
Cost per hour added if event occurs after soft_end_time
def cost_per_hour_before_soft_start_time : Float64 | Nil
#
Cost per hour added if event occurs before soft_start_time