Represents a temperature value.
| JSON representation |
|---|
{
"unit"
:
enum (
|
| Fields | |
|---|---|
unit
|
The code for the unit used to measure the temperature value. |
degrees
|
The temperature value (in degrees) in the specified unit. |
TemperatureUnit
Represents a unit used to measure temperatures.
| Enums | |
|---|---|
TEMPERATURE_UNIT_UNSPECIFIED
|
The temperature unit is unspecified. |
CELSIUS
|
The temperature is measured in Celsius. |
FAHRENHEIT
|
The temperature is measured in Fahrenheit. |

