Method: projects.deployments.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。要建立部署作業的專案名稱。 範例:projects/my_project 。
授權需要指定資源 parent 的下列 IAM 權限:
gsuiteaddons.deployments.list
|
查詢參數
參數 |
pageSize |
integer
要傳回的部署作業數量上限。服務傳回的產品數量可能會少於這個值。如未指定,最多會傳回 1,000 個部署。許可的最大值為 1,000;超出的數值將一律指定為 1,000。
|
pageToken |
string
從先前 deployments.list 呼叫收到的網頁權杖。提供此項目即可擷取後續網頁。 進行分頁時,提供至 deployments.list 的所有其他參數須與提供網頁權杖的呼叫相符。
|
回應主體
列出部署作業的回應訊息。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"deployments": [
{
object (Deployment )
}
],
"nextPageToken": string
} |
欄位 |
deployments[] |
object (Deployment )
指定專案的部署清單。
|
nextPageToken |
string
可做為 pageToken 傳送的權杖,用於擷取後續網頁。如果省略這個欄位,就不會有後續頁面。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platform
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-04-22 (世界標準時間)。
[null,null,["上次更新時間:2025-04-22 (世界標準時間)。"],[[["\u003cp\u003eLists all deployments within a specified Google Workspace Add-ons project.\u003c/p\u003e\n"],["\u003cp\u003eAllows for pagination to retrieve large sets of deployments.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003egsuiteaddons.deployments.list\u003c/code\u003e IAM permission and \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of deployments along with a token for accessing subsequent pages, if available.\u003c/p\u003e\n"]]],["This describes how to list deployments within a project using an HTTP GET request. The request URL structure is `https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments`, where `parent` specifies the project. Optional query parameters `pageSize` (max 1,000) and `pageToken` allow pagination. The request body must be empty. The successful response contains a list of `deployments` and a `nextPageToken` for subsequent pages, structured in JSON. Authorization requires the `gsuiteaddons.deployments.list` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"],null,[]]