Temperature

Represents a temperature value.

JSON representation
{
  "unit": enum (TemperatureUnit),
  "degrees": number
}
Fields
unit

enum (TemperatureUnit)

The code for the unit used to measure the temperature value.

degrees

number

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.