Temperature
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentuje wartość temperatury.
Pola |
unit |
enum (TemperatureUnit )
Kod jednostki używanej do pomiaru wartości temperatury.
|
degrees |
number
Wartość temperatury (w stopniach) w określonej jednostce.
|
TemperatureUnit
Reprezentuje jednostkę służącą do pomiaru temperatury.
Wartości w polu enum |
TEMPERATURE_UNIT_UNSPECIFIED |
Jednostka temperatury jest nieokreślona. |
CELSIUS |
Temperatura jest mierzona w stopniach Celsjusza. |
FAHRENHEIT |
Temperatura jest mierzona w stopniach Fahrenheita. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[],[],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. |"]]