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.
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
minutes
integer
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
seconds
integer
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
nanos
integer
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
[[["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 \u003ccode\u003eTimePeriod\u003c/code\u003e object defines a period within a week, containing a \u003ccode\u003estartTime\u003c/code\u003e, \u003ccode\u003eendTime\u003c/code\u003e, and an array of \u003ccode\u003edays\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeOfDay\u003c/code\u003e object specifies a time using \u003ccode\u003ehours\u003c/code\u003e, \u003ccode\u003eminutes\u003c/code\u003e, \u003ccode\u003eseconds\u003c/code\u003e, and \u003ccode\u003enanos\u003c/code\u003e, represented in 24-hour format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDayOfWeek\u003c/code\u003e enumerates the days of the week, ranging from \u003ccode\u003eMONDAY\u003c/code\u003e to \u003ccode\u003eSUNDAY\u003c/code\u003e, and includes an unspecified option.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation for \u003ccode\u003eTimePeriod\u003c/code\u003e includes nested objects for \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e which refers to \u003ccode\u003eTimeOfDay\u003c/code\u003e and an array for \u003ccode\u003edays\u003c/code\u003e which refers to \u003ccode\u003eDayOfWeek\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeOfDay\u003c/code\u003e can represent the \u003ccode\u003e24:00:00\u003c/code\u003e closing time and can also use the \u003ccode\u003e60\u003c/code\u003e value for seconds if leap-seconds are allowed.\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/latest/docs/reference/hardware/rest/v1alpha/Date) and `google.protobuf.Timestamp`.\n\nDayOfWeek\n---------\n\nRepresents a day of the week."]]