Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
Units
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
UNITS_UNSPECIFIED |
未指定测量单位。默认值为从请求推断出的计量单位。 |
METRIC |
公制度量单位。 |
IMPERIAL |
英制。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-26。"],[[["`UNITS_UNSPECIFIED` defaults to the unit of measure inferred from the request, allowing flexibility."],["Users can explicitly define units of measure as either `METRIC` or `IMPERIAL` for display purposes."],["This setting provides control over how measurements are presented in the display, improving user experience."]]],["The provided content defines the unit of measure for display, offering three options: `UNITS_UNSPECIFIED`, `METRIC`, and `IMPERIAL`. `UNITS_UNSPECIFIED` indicates no specified unit, defaulting to the request's inferred unit. `METRIC` sets the units to the metric system, and `IMPERIAL` sets them to the English, or imperial, system. These enums allow precise control over measurement units.\n"]]