QualityActionsTimer

GoogleApi.ContentWarehouse.V1.Model.QualityActionsTimer


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. creationTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp, default: nil)
    - The time when this timer was created
  2. device (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDeviceSettings, default: nil)
    - Identifies the device this timer belongs to.
  3. 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).
  4. expireTimerTime (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, 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.
  5. id (type: String.t, default: nil)
    - A string key used as an identifier to this timer, unique for a given Provider.
  6. label (type: String.t, default: nil)
    - The label, provided by a user, associated with this timer.
  7. lastUpdated (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp, default: nil)
    - The time when this timer was last updated (creation, paused, resumed, etc.)
  8. originalDuration (type: String.t, default: nil)
    - The duration of the timer when it was started, in milliseconds.
  9. originalTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration, 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.
  10. provider (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider, 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.
  11. remainingDuration (type: String.t, default: nil)
    - When PAUSED: the remaining duration in milliseconds.
  12. remainingTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration, 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.
  13. ringtone (type: GoogleApi.ContentWarehouse.V1.Model.QualityActionsRingtone, default: nil)
    - The ringtone will be played when the timer fires, it will replace the beep sound if it is not empty.
  14. ringtoneTaskMetadata (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesRingtoneTaskMetadata, default: nil)
    - Ringtone Task Metadata information used to generate sound for firing the timer.
  15. room (type: GoogleApi.ContentWarehouse.V1.Model.QualityActionsRoom, default: nil)
    - Contains info about the room the timer is in
  16. status (type: String.t, default: nil)
    - The current status of the timer.
  17. vibrate (type: boolean(), default: nil)
    - Whether or not the device will vibrate when the timer fires.

Type

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.QualityActionsTimer