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

Specification of times when most features on a device are disabled for certain users. During these periods, the device will respond to most interactions with something like "sorry, I'm sleeping right now". Design: go/home-ft-settings-storage PRD: go/home-family-tools-prd

Attributes

  • schedules (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsLabeledDowntimeSchedule.t), default: nil) -
  • targets (type: list(String.t), default: nil) - The set of users of this device that will have these downtime settings applied. Must have at least one element.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDeviceDowntimeSettings{
    schedules:
      [
        GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsLabeledDowntimeSchedule.t()
      ]
      | nil,
    targets: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.