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-28 UTC."],[[["\u003cp\u003eThis content describes the representation of a time of day, where the date and time zone are not relevant or specified elsewhere.\u003c/p\u003e\n"],["\u003cp\u003eThe time is represented in JSON format as an object containing \u003ccode\u003ehours\u003c/code\u003e, \u003ccode\u003eminutes\u003c/code\u003e, \u003ccode\u003eseconds\u003c/code\u003e, and \u003ccode\u003enanos\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ehours\u003c/code\u003e are represented in 24-hour format (0-23), although 24 is acceptable in some scenarios.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eminutes\u003c/code\u003e and \u003ccode\u003eseconds\u003c/code\u003e range from 0-59, with an exception where \u003ccode\u003eseconds\u003c/code\u003e can be 60 if leap seconds are allowed by the API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003enanos\u003c/code\u003e represent fractions of seconds in nanoseconds, ranging from 0 to 999,999,999.\u003c/p\u003e\n"]]],[],null,["# TimeOfDay\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\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](/compute/docs/osconfig/rest/Shared.Types/Date) and `google.protobuf.Timestamp`."]]