如何判断 Google App Engine 文档页面适用于第一/第二代标准还是柔性环境 [英] How to tell if a Google App Engine documentation page applies to the 1st/2nd generation standard or the flexible environment

查看:16
本文介绍了如何判断 Google App Engine 文档页面适用于第一/第二代标准还是柔性环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到很多 问题将

如果文档页面没有显示上述模式(例如,如果它是关于与 App Engine 有某种关联的其他 Google Cloud 产品的页面),请检查正在讨论的 App Engine 功能并尝试找到相应的 GAE 文档.

检查这些将 2 个环境和/或它们的功能并排放置的指南也可能有助于区分:

注意:标准环境下列出/提及多语言版本(Node.js除外)是指第一代和第二代标准环境,明显不同从彼此.您还应该查看这些情况的比较和/或迁移指南:

I see a lot of questions from users mixing up the standard environment with the flexible environment, especially when it comes to documentation, often attempting to follow the wrong instructions, obviously with undesired results.

How can one easily tell which GAE environment a certain page is applicable to?

解决方案

Most (if not all) of the GAE documentation is structured by the environment. When looking at a certain documentation page the environment is clearly indicated in several places:

  • the second section at the top of the left-side documentation navigation bar
  • the navigation trail at the top of the actual documentation page (which may vary slightly depending on the programming language)
  • the docs/flexible vs docs/standard strings in the doc page URLs
  • some pages applicable to multiple programming languages and/or environments (maybe with small differences) have tabs indicating:
    • the currently selected language and environment
    • the other languages and environments the page applies to (selectable)
    • the languages and environments the page doesn't apply to (grayed out)

Examples:

If the documentation page doesn't show the above mentioned patterns (for example if it's a page about some other Google Cloud product somehow related to the App Engine), then check about the App Engine feature being discussed and try to locate the respective GAE documentation.

What may also help with the distinction would be to check these guides putting the 2 environments and/or their features side by side:

Note: when multiple language versions are listed/mentioned under the standard environment (excepting Node.js) they refer to the 1st and 2nd generation standard environment, significantly different from each-other. You should also check the comparison and/or migration guides for these cases:

这篇关于如何判断 Google App Engine 文档页面适用于第一/第二代标准还是柔性环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆