Google云构建API客户端库
google-cloud-build的Python项目详细描述
Cloud Build API:在Google云平台上创建和管理构建。在
快速入门
要使用此库,首先需要执行以下步骤:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Cloud Build API.
- Setup Authentication.
安装
使用pip在virtualenv中安装此库。virtualenv是一个用于 创建隔离的Python环境。它解决的基本问题是 依赖项和版本,以及间接的权限。在
使用virtualenv,可以在不需要系统的情况下安装此库 安装权限,并且不会与已安装的系统冲突 依赖关系。在
支持的Python版本
Python>;=3.6
不推荐使用的Python版本
Python==2.7。在
这个库与python2.7兼容的最后一个版本是googlecloudbuild==1.1.0。在
Mac/Linux
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-build
窗口
^{pr2}$下一步
- 阅读云构建API的Client Library Documentation API以查看客户端上的其他可用方法。在
- 阅读Cloud Build API Product documentation学习 有关产品的更多信息,请参阅如何指南。在
- 查看此repository’s main README以查看云的完整列表 我们介绍的API。在
- 项目
标签: