AssistantApiSettingsDowntimeSchedule

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimeSchedule


Table of Contents ▼

Jump to a specific part of the page:

Description

Specification of when downtime is enabled on different days of the week. Contains up to 7 DowntimePeriod messages, up to one per day of the week.

Attributes List

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

View Attributes

Attributes

  1. enabled (type: boolean(), default: nil)
    - True if this downtime schedule should be enabled.
  2. periods (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod), default: nil)
    - Downtime entries for the days of the week, in no particular order. There can be at most one period defined for each day of the week. Days of the week with no explicit period defined are treated as disabled, so the device is available all day (modulo an end time that may spill over from the previous day).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimeSchedule{
enabled: boolean() | nil,
periods: [ GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod.t() ] | nil
}

Function

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

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