Cloud Endpoints 是 REST 还是 RPC 风格的技术?

Cloud Endpoints is REST or RPC style technology?

documentation 中,对于云端点,我读到:"One of the benefits of being able to easily build your own API is that you can design it any way you want. Cloud Endpoints gives you this flexibility—it allows REST- or RPC-style APIs, or a combination of both."。但是生成的端点方法是什么风格(RPC 或 REST)?看起来像 RPC(因为我在客户端调用函数然后在服务器端运行)但它们是 CRUD 方法。

REST 或 RPC 风格指的是协议。它们都调用要在服务器上执行的过程。然而,REST 风格通常更侧重于 CRUD 风格和对资源的操作,而 RPC 风格更注重过程。 Cloud Endpoints 允许您一次定义 API 并以 RESTful 和 RPC 样式公开接口。