AssistantApiSettingsDowntimePeriod

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod


Table of Contents ▼

Jump to a specific part of the page:

Description

Specifies a period of up to 24 hours when downtime should be enabled, starting at certain time on a certain day of the week, and ending at a later time on either that day or the following day.

Attributes List

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

View Attributes

Attributes

  1. enabled (type: boolean(), default: nil)
    - True if downtime should be enabled during this period.
  2. endTime (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay, default: nil)
    - Time of day that this downtime period should end. Required. If end_time > start_time, end_time is relative to start_day. Otherwise, end_time is relative to the day after start_day. For example, start_day: MONDAY, start_time: 9 p.m., end_time: 6 a.m. means that the downtime period starts at 9 p.m. on Monday and ends at 6 a.m. on Tuesday.
  3. startDay (type: String.t, default: nil)
    - The day of the week when this downtime period starts. Required.
  4. startTime (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay, default: nil)
    - Time of day that this downtime period should start. Required.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod{
enabled: boolean() | nil,
endTime: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t() | nil,
startDay: String.t() | nil,
startTime: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t() | nil
}

Function

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

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