Class WeeklyWindow (2.5.0)

WeeklyWindow(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
days_of_week MutableSequence[google.type.dayofweek_pb2.DayOfWeek]
Optional. Days of week. If left empty, all days of the week will be included.
start_time google.type.timeofday_pb2.TimeOfDay
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.
end_time google.type.timeofday_pb2.TimeOfDay
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.