Google Cloud Endpoints与Android Studio实现的Endpoints

3vpjnl9f  于 11个月前  发布在  Android
关注(0)|答案(1)|浏览(125)

使用android Studio(Cloud模块)实现的endpoints应用程序引擎与Google Cloud endpoints(显示在Google Cloud Console菜单点“工具”下的“Endpoints”中)之间有什么区别?
谢谢您这么快回答。

y3bcpkx1

y3bcpkx11#

自2.0版本以来,Cloud Endpoints不仅仅是Endpoints v1.0,它是一套“工具,库和功能,允许您从App Engine应用程序生成API和客户端库”。Endpoints 1.0 =“端点应用程序引擎,使用Android Studio实现”。
版本2.0允许“在任何Google Cloud Platform后端上开发、部署和管理API”,如文档和“Endpoints”菜单项的Cloud Console帮助中所述:

使用端点管理API

Google Cloud Platform支持使用Cloud Endpoints管理在Google Compute Engine、Google Container Engine或App Engine Flexible Environment中运行的API。Google Cloud Endpoints允许您管理和控制对API的访问。您可以将API保留为私有或与合作伙伴共享,还可以监控API的使用情况。

端点概述

有关使用Endpoints管理API的一般概述,请参阅什么是Cloud Endpoints。本文介绍了您可以使用Endpoints执行的操作以及指向更详细信息的链接。

控制台查看API指标

端点跟踪活动和性能的某些使用指标,并使这些指标可在Cloud Platform Console中的各种图表中查看。有关这些图表所包含内容的说明,请参阅Google Cloud Platform文档中的查看API图表。

与开发人员共享您的API

默认情况下,Google Cloud Endpoints API是私有的,因此只有管理API的项目成员才能看到它。要使其他开发人员可以使用您的API,请执行以下操作:
1.转到Cloud Platform控制台
1.从项目列表中选择一个项目。
1.打开控制台左侧菜单并选择Endpoints。
1.选择您的API。单击共享API。
1.要添加用户或Google Group电子邮件地址,请单击添加开发人员。
Endpoints v1.0已重命名为“Cloud Endpoints Frameworks for App Engine”,请参阅https://cloud.google.com/appengine/docs/java/endpoints/
您也可以从GCP博客中查看以下博客文章:
https://cloudplatform.googleblog.com/2016/09/manage-your-APIs-with-Google-Cloud-Endpoints.html
https://cloudplatform.googleblog.com/2017/02/Google-Cloud-Endpoints-now-GA-a-fast-scalable-API-gateway.html
最后,请注意2.0版目前不支持“Android Studio对Cloud Endpoints 1.0的支持”。

相关问题