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

Capability with regard to support of alarms by the client.

Attributes

  • maxSupportedAlarms (type: integer(), default: nil) - Maximum number of alarms that can be created on the client. Zero or unset indicates no maximum limit.
  • restrictAlarmsToNextDay (type: boolean(), default: nil) - Whether the client restricts alarms to ring within the next 24 hours.
  • supportsGenericMutations (type: boolean(), default: nil) - Whether the client supports mutation of any alarm attribute such as time_pattern, recurrence_pattern, etc through the MUTATE action. If this is false, MUTATE may only be used to disable or dismiss an alarm. This field is true by default for backwards-compatibility; clients which don't support mutation outside of Disable/DismissAlarm should explicitly set this to false.
  • supportsStopAction (type: boolean(), default: nil) - Whether the client supports the STOP alarm action. If this is false, stop actions will be represented by the MUTATE action, and the device may need to check alarm state to determine if there's a firing alarm that needs to be dismissed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoAlarmCapability{
    maxSupportedAlarms: integer() | nil,
    restrictAlarmsToNextDay: boolean() | nil,
    supportsGenericMutations: boolean() | nil,
    supportsStopAction: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.