View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesRingtoneTaskMetadataGentleWakeInfo (google_api_content_warehouse v0.4.0)

Gentle wake actions like slowly brightening the room/device screen leading up to the alarm firing (go/cube-gentle-wake-up).

Attributes

  • effectDurationMs (type: String.t, default: nil) - Specifies how long the effect lasts. Allowed for effect to last after the alarm has started ringing. If unset or negative or 0, effect is assumed to last until alarm trigger time.
  • isEnabled (type: boolean(), default: nil) - Indicates if gentle wake action is to be performed before this alarm fires. This is enabled only if the device supports sunrise alarm capability. http://cs/symbol:assistant.api.SunriseFeaturesSupport
  • startTimedeltaMs (type: String.t, default: nil) - Specifies how long before the alarm fire time, the wakeup effect will start. ALWAYS POSITIVE.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesRingtoneTaskMetadataGentleWakeInfo{
    effectDurationMs: String.t() | nil,
    isEnabled: boolean() | nil,
    startTimedeltaMs: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.