Reference documentation and code samples for the Google Cloud Optimization V1 Client class Delay.
Deprecated: Use ShipmentRoute.Transition.delay_duration instead. Time interval spent on the route resulting from a TransitionAttributes.delay.
Generated from protobuf message google.cloud.optimization.v1.ShipmentRoute.Delay
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
Start of the delay. |
↳ duration |
Google\Protobuf\Duration
Duration of the delay. |
getStartTime
Start of the delay.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Start of the delay.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getDuration
Duration of the delay.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasDuration
clearDuration
setDuration
Duration of the delay.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |