クラウドエンドポイントポータルは、そうでない場合、ユーザはありませんAPIを使用すると、ビューへのアクセス権を持っていることを利用できます取得、GCP / IAMの権限が必要です

lordofmax:

私はクラウドエンドポイントFrameworkは私のApp Engineプロジェクトで実装していて、私は新しいエンドポイントポータルへの非推奨APIエクスプローラから移行したいと思います。

事は、古いAPIエクスプローラとは異なり、エンドポイントポータルは、誰もがアクセス可能ではありません、です。GCPプロジェクトへのアクセス何を持っていないユーザーがポータルにアクセスしようとすると、彼は取得します。

いいえAPIを使用すると、ビューへのアクセス権を持っていることを利用できません

クラウドエンドポイントポータル公開し、各エンドポイントは、認証部を管理できるようにする方法はありますか?

Luyi:

エンドポイントポータルへのアクセスは、一般公開することはできません。

You can find a complete discussion on this topic at this link.

A possible solution is also proposed in the discussion:

One other option in the meantime is that you could use Google groups for authentication --- that is, you can add a Google group as "Service Consumer", and then every member of that group can view the API + portal.

But if what you want is to make access completely public, not only to your customers / users, this solution is not the best, you should opt for another one.

SwaggerUI could be an excellent solution: it’s automatically generated from your OpenAPI document and it's accessible to any user.

おすすめ

転載: http://43.154.161.224:23101/article/api/json?id=24659&siteId=1