AI-generated Key Takeaways
-
DailySubEntityType encompasses the possible subentity types associated with DailyMetrics, which can be either dayOfWeek or timeOfDay.
-
dayOfWeek is represented by an enum indicating the day, like MONDAY or TUESDAY, and is not currently supported for any DailyMetrics.
-
timeOfDay is represented by an object containing hours, minutes, seconds, and nanoseconds in 24-hour format, also not currently supported for any DailyMetrics.
-
Neither dayOfWeek nor timeOfDay subentity types are currently supported for any DailyMetrics.
Represents all possible subentity types that are associated with DailyMetrics.
| JSON representation |
|---|
{ // Union field |
Type
. Represents that only one of the following proto fields must be present. The DailySubEntityType is not available for all metrics. Type
can be only one of the following:dayOfWeek
enum (
DayOfWeek
)
Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.
timeOfDay
object (
TimeOfDay
)
Represents the time of the day in 24 hour format. Eg: 13:34:20 Currently supported DailyMetrics = NONE.
DayOfWeek
Represents a day of the week.
| Enums | |
|---|---|
DAY_OF_WEEK_UNSPECIFIED
|
The day of the week is unspecified. |
MONDAY
|
Monday |
TUESDAY
|
Tuesday |
WEDNESDAY
|
Wednesday |
THURSDAY
|
Thursday |
FRIDAY
|
Friday |
SATURDAY
|
Saturday |
SUNDAY
|
Sunday |
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
.
| JSON representation |
|---|
{ "hours" : integer , "minutes" : integer , "seconds" : integer , "nanos" : integer } |
| Fields | |
|---|---|
hours
|
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. |
minutes
|
Minutes of hour of day. Must be from 0 to 59. |
seconds
|
Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. |
nanos
|
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. |

