Required. The days of the week that the time period is active.
TimeOfDay
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-11 UTC."],[[["\u003cp\u003eThe content defines a \u003ccode\u003eTimePeriod\u003c/code\u003e which specifies a recurring time frame within a week, including the start time, end time, and active days.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTimeOfDay\u003c/code\u003e defines a specific time using hours, minutes, seconds, and nanoseconds, with a 24-hour format, and possible leap-second allowances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimePeriod\u003c/code\u003e requires both \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e to be \u003ccode\u003eTimeOfDay\u003c/code\u003e objects, and also needs an array of \u003ccode\u003eDayOfWeek\u003c/code\u003e to identify the active days.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDayOfWeek\u003c/code\u003e is an enum that enumerates the days of the week, from \u003ccode\u003eDAY_OF_WEEK_UNSPECIFIED\u003c/code\u003e to \u003ccode\u003eSUNDAY\u003c/code\u003e, indicating a day within the week.\u003c/p\u003e\n"]]],[],null,["# TimePeriod\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TimeOfDay](#TimeOfDay)\n - [JSON representation](#TimeOfDay.SCHEMA_REPRESENTATION)\n- [DayOfWeek](#DayOfWeek)\n\nRepresents a time period in a week.\n\nTimeOfDay\n---------\n\nRepresents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are [google.type.Date](/distributed-cloud/edge/1.7.0/docs/reference/hardware/rest/v1alpha/Date) and `google.protobuf.Timestamp`.\n\nDayOfWeek\n---------\n\nRepresents a day of the week."]]