Method: matters.addPermissions
HTTP 要求
POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
matterId |
string
案件 ID。
|
要求主體
要求主體的資料會採用以下結構:
JSON 表示法 |
{
"matterPermission": {
object (MatterPermission )
},
"sendEmails": boolean,
"ccMe": boolean
} |
欄位 |
matterPermission |
object (MatterPermission )
要新增的帳戶和角色。
|
sendEmails |
boolean
如要傳送通知電子郵件給新增的帳戶,請將其設為 true。如要停止傳送通知電子郵件,請將其設為 false。
|
ccMe |
boolean
只有在 sendEmails 為 true 時才適用。如要在電子郵件訊息中副本給要求者,請將此值設為 true。如要不將要求者設為副本收件者,請將其設為 false。
|
回應主體
如果成功,回應主體會包含 MatterPermission
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/ediscovery
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-27 (世界標準時間)。
[null,null,["上次更新時間:2025-02-27 (世界標準時間)。"],[[["Adds an account as a collaborator to a specified matter using the provided matter ID."],["Requires a request body specifying the account's permissions, along with optional notification email settings."],["Uses the `POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions` endpoint for the operation."],["Utilizes OAuth scope `https://www.googleapis.com/auth/ediscovery` for authorization."],["Returns a MatterPermission object in the response body upon successful completion."]]],["This outlines the process to add an account as a matter collaborator using a POST request to `https://vault.googleapis.com/v1/matters/{matterId}:addPermissions`. The request requires a `matterId` path parameter and a JSON request body containing `matterPermission`, `sendEmails`, and `ccMe` fields. Upon success, it returns a `MatterPermission` object. Authorization requires the `https://www.googleapis.com/auth/ediscovery` OAuth scope. The process allows an option to send an email to the new collaborator, with an option for the requestor to be copied.\n"]]