View Source GoogleApi.CloudDeploy.V1.Model.WeeklyWindow (google_api_cloud_deploy v0.11.1)

Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.

Attributes

  • daysOfWeek (type: list(String.t), default: nil) - Optional. Days of week. If left empty, all days of the week will be included.
  • endTime (type: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t, default: nil) - Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
  • startTime (type: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t, default: nil) - Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.WeeklyWindow{
  daysOfWeek: [String.t()] | nil,
  endTime: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t() | nil,
  startTime: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.