Temperature
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
TemperatureUnit
枚举 |
TEMPERATURE_UNIT_UNSPECIFIED |
温度单位未指定。 |
CELSIUS |
温度以摄氏度为单位。 |
FAHRENHEIT |
温度以华氏度为单位。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Temperature\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TemperatureUnit](#TemperatureUnit)\n\nRepresents a temperature value.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"unit\": enum (/maps/documentation/weather/reference/rest/v1/Temperature#TemperatureUnit), \"degrees\": number } ``` |\n\n| Fields ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unit` | `enum (`[TemperatureUnit](/maps/documentation/weather/reference/rest/v1/Temperature#TemperatureUnit)`)` The code for the unit used to measure the temperature value. |\n| `degrees` | `number` The temperature value (in degrees) in the specified unit. |\n\nTemperatureUnit\n---------------\n\nRepresents a unit used to measure temperatures.\n\n| Enums ||\n|--------------------------------|--------------------------------------------|\n| `TEMPERATURE_UNIT_UNSPECIFIED` | The temperature unit is unspecified. |\n| `CELSIUS` | The temperature is measured in Celsius. |\n| `FAHRENHEIT` | The temperature is measured in Fahrenheit. |"]]