启用 API
本页面介绍了如何启用 Recommender API。如要使用 gcloud
和 REST 界面查看和管理建议和数据分析,必须启用 API。
如要启用 Recommender API,请执行以下操作:
gcloud
如果您还没有 Google Cloud 项目,请立即创建一个。
设置默认项目,其中 PROJECT_ID 是您的项目 ID:
gcloud config set project PROJECT_ID
启用所需的 API。
gcloud services enable recommender.googleapis.com
控制台
-
登录您的 Google Cloud 帐号。如果您是 Google Cloud 新手,请创建一个帐号来评估我们的产品在实际场景中的表现。新客户还可获享 $300 赠金,用于运行、测试和部署工作负载。
-
在 Google Cloud Console 中的项目选择器页面上,选择或创建一个 Google Cloud 项目。
转到“项目选择器”
-
启用 Recommender API。
启用 API
-
在 Google Cloud Console 中的项目选择器页面上,选择或创建一个 Google Cloud 项目。
转到“项目选择器”
-
启用 Recommender API。
启用 API
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 2022-08-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]