【问题标题】:Google cloud endpoints vs. endpoints realized with android studio谷歌云端点与使用 android studio 实现的端点
【发布时间】:2017-02-18 22:35:39
【问题描述】:

使用 android Studio(云模块)实现的端点应用引擎与谷歌云控制台菜单点“工具”下的“端点”中显示的谷歌云端点有什么区别?

感谢您快速回答。

【问题讨论】:

    标签: google-app-engine android-studio google-cloud-endpoints


    【解决方案1】:

    自 2.0 版以来,Cloud Endpoints 不仅仅是 Endpoints v1.0,后者是一组“允许您从 App Engine 应用程序生成 API 和客户端库的工具、库和功能”。 Endpoints 1.0 =“端点应用引擎,用android Studio实现”在你的问题中。

    2.0 版允许“在 任何 Google Cloud Platform 后端开发、部署和管理 API”,详见文档和 Cloud Console 帮助中的“端点”菜单项:

    使用 Endpoints 管理 API

    Google Cloud Platform 支持使用 Cloud Endpoints 来管理在 Google Compute Engine、Google Container Engine 或 App Engine 柔性环境中运行的 API。 Google Cloud Endpoints 可让您管理和控制对 API 的访问。您可以将 API 保密或与合作伙伴共享,还可以监控 API 使用情况。

    端点概述

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

    在控制台中查看 API 指标

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

    与开发者共享您的 API

    默认情况下,Google Cloud Endpoints API 是私有的,因此只有管理 API 的项目成员才能看到它。将您的 API 提供给其他开发人员:

    1. 转到云平台控制台

    2. 从项目列表中,选择一个项目。

    3. 打开控制台左侧菜单并选择端点。

    4. 选择您的 API。点击共享 API。

    5. 要添加用户或 Google 群组电子邮件地址,请点击添加开发者。

    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

    最后,请注意,“Android Studio 支持 Cloud Endpoints 1.0”目前不支持 2.0 版。见https://cloud.google.com/appengine/docs/java/endpoints/migrating

    【讨论】:

    • 非常感谢您的详细解释。我现在有一个很好的基础来继续我的下一步工作。我留在这个项目中,通过端点 1.0 连接到云 sql。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-27
    • 2014-07-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多