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

Contains information about on-device alarms for devices that support alarms.

Attributes

  • alarms (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1Alarm.t), default: nil) - Information about all on-device alarms.
  • snoozeDuration (type: String.t, default: nil) - The amount of time for which alarms should be snoozed. If not specified, the productivity vertical applies a default snooze duration, which may be seen here: http://google3/assistant/verticals/productivity/utils/alarm_utils.cc;l=2734;rcl=415933085
  • stateFetchError (type: String.t, default: nil) - Indicates if an error occurred while fetching alarm state. If this value is missing, it can be assumed that the state fetch was successful.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1Alarms{
  alarms:
    [GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1Alarm.t()]
    | nil,
  snoozeDuration: String.t() | nil,
  stateFetchError: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.