简体   繁体   English

无需Google Cloud SDK即可授权Google Cloud

[英]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.

相关问题 Google Cloud SDK 创建 Cloud Run Job - Google Cloud SDK to create a Cloud Run Job 带有工作负载身份的 Google Cloud Java SDK? - Google Cloud Java SDK with Workload Identity? 谷歌云数据流 - Java SDK 与 Python ZF20E3C5E54C3AB3D376DAZ60F66 - Google Cloud Dataflow - Java SDK vs Python SDK Google Cloud Endpoint上的API密钥授权的Java注释? - Java Annotations for API-key authorization on Google Cloud Endpoint? Android:没有使用Cloud Code的Google登录与Sashido(Parse.com SDK)集成 - Android: Google Sign in Integration with Sashido (Parse.com SDK) without Cloud Code 如何在不下载Google Cloud Java SDK的情况下对服务帐户进行身份验证(不在App Engine上) - How to authenticate a service account without download for the Google Cloud Java SDK (not on App Engine) 没有WTP的Google Cloud SQL + JPA - Google Cloud SQL + JPA without WTP 在没有Google Cloud的情况下同步Android设备 - Syncing Android devices without Google Cloud 没有webview的Google云打印集成 - Google Cloud Print integration without webview Google Cloud SDK Datastore Emulator JRE 版本不匹配? - Google Cloud SDK Datastore Emulator JRE Version Mismatch?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM