View Source GoogleApi.ContentWarehouse.V1.Model.QualityActionsTimer (google_api_content_warehouse v0.3.0)

Conceptually, timers are clocks that count down from an initial duration and notify 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

  • creationTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t, default: nil) - The time when this timer was created
  • device (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDeviceSettings.t, default: nil) - Identifies the device this timer belongs to.
  • expireTime (type: String.t, default: nil) - When not paused: the time the timer is (or was) scheduled to expire, in milliseconds since the Unix epoch. This should be deprecated and replaced by the expire_timer_time with DateTime type once DateTime proto includes unix timestamp (b/63636831).
  • expireTimerTime (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t, default: nil) - This is currently being only used only for the response generation when the user describe the expired datatime as a search constraint. We will used it for everything else once that for filtering once DateTime proto includes unix timestamp (b/63636831) and expire_time is deprecated.
  • id (type: String.t, default: nil) - A string key used as an identifier to this timer, unique for a given Provider.
  • label (type: String.t, default: nil) - The label, provided by a user, associated with this timer.
  • lastUpdated (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t, default: nil) - The time when this timer was last updated (creation, paused, resumed, etc.)
  • originalDuration (type: String.t, default: nil) - The duration of the timer when it was started, in milliseconds.
  • originalTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration.t, default: nil) - The duration set for the timer. The DateTimeModifier field is ignored. This field is currently only experimental until we switch the Dialog code and gramnar to the new format.
  • provider (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider.t, default: nil) - The provider that owns this alarm. For Android, this includes the app that owns this alarm, where an intent should be sent to modify it.
  • remainingDuration (type: String.t, default: nil) - When PAUSED: the remaining duration in milliseconds.
  • remainingTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration.t, default: nil) - The duration remained for the timer. This is needed because there is no expiration date for paused timer. The DateTimeModifier field is ignored. This field is currently only experimental until we switch the Dialog code and gramnar to the new format.
  • ringtone (type: GoogleApi.ContentWarehouse.V1.Model.QualityActionsRingtone.t, default: nil) - The ringtone will be played when the timer fires, it will replace the beep sound if it is not empty.
  • ringtoneTaskMetadata (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesGovernedRingtoneTaskMetadata.t, default: nil) - Ringtone Task Metadata information used to generate sound for firing the timer.
  • room (type: GoogleApi.ContentWarehouse.V1.Model.QualityActionsRoom.t, default: nil) - Contains info about the room the timer is in
  • status (type: String.t, default: nil) - The current status of the timer.
  • vibrate (type: boolean(), default: nil) - Whether or not the device will vibrate when the timer fires.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.