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

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

  • enabled (type: boolean(), default: nil) - True if downtime should be enabled during this period.
  • endTime (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t, 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.
  • startDay (type: String.t, default: nil) - The day of the week when this downtime period starts. Required.
  • startTime (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t, default: nil) - Time of day that this downtime period should start. Required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.