Units
Stay organized with collections
Save and categorize content based on your preferences.
A set of values that specify the unit of measure used in the display.
Enums |
UNITS_UNSPECIFIED |
Units of measure not specified. Defaults to the unit of measure inferred from the request. |
METRIC |
Metric units of measure. |
IMPERIAL |
Imperial (English) units of measure. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eUnits of measure define how measurements are displayed.\u003c/p\u003e\n"],["\u003cp\u003eOptions include unspecified (defaults to inferred), metric, or imperial units.\u003c/p\u003e\n"]]],[],null,["# Units\n\nA set of values that specify the unit of measure used in the display.\n\n| Enums ||\n|---------------------|--------------------------------------------------------------------------------------------|\n| `UNITS_UNSPECIFIED` | Units of measure not specified. Defaults to the unit of measure inferred from the request. |\n| `METRIC` | Metric units of measure. |\n| `IMPERIAL` | Imperial (English) units of measure. |"]]