Temperature

Represents a temperature value.

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

enum (Unit)

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

degrees

number

The temperature value (in degrees) in the specified unit.

Unit

Represents a unit used to measure temperatures.

Enums
UNIT_UNSPECIFIED The temperature unit is unspecified.
CELSIUS The temperature is measured in Celsius.
FAHRENHEIT The temperature is measured in Fahrenheit.