设置 Data Portability API
您必须先在 Google Cloud 控制台中创建新项目、启用结算功能,并启用 Data Portability API,然后才能开始向 Data Portability API 发送请求。
创建项目
启用结算功能
启用 API
Data Portability API 已公开发布,并且可以在 API 库中搜索“Data Portability API”。可以在界面中启用这项服务,也可以通过 gcloud CLI 启用。
如需使用 gcloud CLI 启用它,请运行以下命令。
gcloud services enable dataportability.googleapis.com
如需确认 Data Portability API 已启用,请查看已启用的 API 和服务。
如果您在设置 gcloud CLI 时需要帮助,请参阅安装 gcloud CLI。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-03-05。
[null,null,["最后更新时间 (UTC):2024-03-05。"],[[["To use the Data Portability API, you must first create a new project in the Google Cloud console, enable billing for the project, and then enable the Data Portability API itself."],["You can enable the Data Portability API through the Google Cloud console UI or by using the gcloud CLI command `gcloud services enable dataportability.googleapis.com`."],["Before enabling the API, ensure you have an active billing account associated with your project, which can be created or managed through the Billing page in the Google Cloud console."]]],[]]