Method: projects.deployments.install
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将部署安装到您的账号中以进行测试。如需了解详情,请参阅测试您的插件
HTTP 请求
POST https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}:install
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要安装的部署的完整资源名称。 示例:projects/my_project/deployments/my_deployment 。
必须对指定的资源 name 具有以下 IAM 权限才能进行授权:
gsuiteaddons.deployments.install
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/cloud-platform
如需了解详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-22。
[null,null,["最后更新时间 (UTC):2025-04-22。"],[[["\u003cp\u003eInstalls a specified add-on deployment to your account for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP POST request to the designated endpoint with the deployment's resource name.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns an empty JSON object upon successful installation.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eGrants permission through specific IAM roles for deployment installation.\u003c/p\u003e\n"]]],["This document details the process of installing a deployment for testing via an HTTP POST request to `https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}:install`. The `name` parameter, specifying the deployment, is required and needs the `gsuiteaddons.deployments.install` IAM permission. The request body must be empty. A successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope. The URL uses gRPC Transcoding.\n"],null,[]]