[英]Authorization to Google Cloud without Google Cloud SDK
Is it possible to authorize with Google Cloud with Service Account without using google cloud SDK? 是否可以在不使用Google Cloud SDK的情况下通过带有服务帐户的Google Cloud授权? I'm developing integration with DialogFlow with our java project, but dialogflow java library is still on alpha (0-74.0-alpha), so, I want to integrate via custom requests.
我正在使用我们的Java项目开发与DialogFlow的集成,但是dialogflow Java库仍位于alpha(0-74.0-alpha)上,因此,我想通过自定义请求进行集成。
Here you can find step by step instructions how to set up authentication for Dialogflow. 在这里,您可以找到有关如何设置Dialogflow身份验证的分步说明。 .
。 V2 of the Dialogflow API relies on a Google Cloud Platform Service Account for authentication, instead of the previously used client and developer access tokens.
Dialogflow API的V2依赖于Google Cloud Platform服务帐户进行身份验证,而不是先前使用的客户端和开发者访问令牌。
Building your app in Java, you can also use Java Google API Client library Then you can build credentials using OAuth 2.0 使用Java构建您的应用程序,您还可以使用Java Google API客户端库然后您可以使用OAuth 2.0构建凭据
Here you can see samples of the implementation of the libraries 在这里,您可以看到这些库的实现示例
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.