Google Cloud SDK与Google Cloud Client库 [英] Google Cloud SDK vs Google Cloud Client Libraries

查看:169
本文介绍了Google Cloud SDK与Google Cloud Client库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它们有何不同?每种的用例是什么?

How do they differ? and what is the use case for each?

我是否可以只使用一个,例如,如果我更熟悉.NET,我可以使用客户端库(适用于.NET)完成所有工作,就像使用python和SDK一样?

Is it possible for me to use one exclusively, such as if I'm more familiar with .NET I could do everything using the Client Library (for .NET) that I could with python and the SDK?

Google Cloud SDK https://cloud.google.com/sdk/docs/

Google Cloud SDK https://cloud.google.com/sdk/docs/

Google Cloud Client库 https://cloud.google.com/apis/docs/cloud-client-libraries

Google Cloud Client Libraries https://cloud.google.com/apis/docs/cloud-client-libraries

推荐答案

Cloud SDK是一组命令行工具(gcloud,gsutil和bq).此处使用"SDK"一词似乎具有误导性,应将其称为Google Cloud Tools或Google Cloud CLI.

The Cloud SDK is a set of command line tools (gcloud, gsutil, and bq). The use of the term 'SDK' here seems to be misleading and they should probably be called Google Cloud Tools or Google Cloud CLI.

Cloud Client Libraries是您可以编程的各种语言的最新库集.

The Cloud Client Libraries are the latest set of libraries available in various languages that you can program against.

还有一组较旧的客户端库,称为Google API客户端库.它们是从Google服务界面自动生成的,是REST调用的简单包装.如果可以的话,您应该使用较新的Cloud Client Libraries,因为它们更加惯用并提供更好的抽象.

There's also an older set of client libraries called the Google API Client Libraries. They're autogenerated from Google service interfaces and are simple wrappers to REST calls. You should probably use the newer Cloud Client Libraries if you can as they are more idiomatic and provide better abstraction.

这篇关于Google Cloud SDK与Google Cloud Client库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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