在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):googleapis/google-cloud-go开源软件地址(OpenSource Url):https://github.com/googleapis/google-cloud-go开源编程语言(OpenSource Language):Go 98.9%开源软件介绍(OpenSource Introduction):Google Cloud Client Libraries for GoGo packages for Google Cloud Platform services. import "cloud.google.com/go" To install the packages on your system, do not clone the repo. Instead:
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes. Supported APIsFor an updated list of all of our released APIs please see our reference docs. Go Versions SupportedOur libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
AuthorizationBy default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration. client, err := storage.NewClient(ctx) To authorize using a
JSON key file,
pass
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json")) You can exert more control over authorization by using the
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource)) ContributingContributions are welcome. Please, see the CONTRIBUTING document for details. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information. Links
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论