Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
开始使用
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您必须先启用 Routes Preferred API 方法,然后才能在代码中使用这些方法。
如需在项目中启用 Routes Preferred API 方法,请执行以下操作:
登录 Cloud 控制台,然后选择“项目选择”标签页:

在从以下列表中选择窗口中,选择新建项目。

为项目指定名称和位置,然后选择创建。

请与您的 Google 代表联系。
如果您尚未为项目启用 Routes Preferred API,请前往 Google Cloud 控制台中的“API 和服务”库。如果已启用“首选路线”,则可以跳过此步骤。

然后,搜索 Routes Preferred 以打开 Routes Preferred API。

如需启用该 API,请选择启用。
如果您还没有与项目关联的 API 密钥,请前往“凭据”标签页。如果您已经有 API 密钥,则可以跳过此步骤。

依次选择创建凭据和 API 密钥。

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-24。
[[["易于理解","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):2025-04-24。"],[[["To utilize Routes Preferred API, you must first enable it for your project through the Google Cloud console."],["Enabling the API involves creating a new project, contacting your Google representative, and enabling the Routes Preferred API in the API library."],["Make sure to check and adjust your quota limits as needed and create an API key for your project to use the Routes Preferred API."]]],[]]