GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1Timer
Table of Contents ▼
Jump to a specific part of the page:
Description
Conceptually, timers are clocks that count down from an initial duration and ring when they reach 0. In practice, as a timer is running, it holds a stable expiration time and computes the remaining duration using the current time. When a timer is paused, it holds a stable remaining duration.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
expireTime
(type:DateTime.t
, default:nil
)
- The time the timer is scheduled to expire. google.protobuf.Timestamp is a Unix epoch time with a granularity of 1 nanosecond. -
label
(type:String.t
, default:nil
)
- A user-provided name for this timer. -
originalDuration
(type:String.t
, default:nil
)
- The duration of the timer when it was started. For the ADD_TIME action, this field contains the amount of time to add to the timer with the given timer_id. -
remainingDuration
(type:String.t
, default:nil
)
- The remaining duration for the timer. -
status
(type:String.t
, default:nil
)
- Describes the part of the lifecycle a timer is in. -
timerId
(type:String.t
, default:nil
)
- A string key used as an identifier to this timer. This key needs to be unique amongst all timers on the device. The client can choose a mechanism of its choice to ensure this. If the server suggests a timer_id, the client can either use the suggestion or create a new unique timer_id of its choosing.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1Timer