Method: matters.addPermissions
HTTP リクエスト
POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
matterId |
string
案件 ID。
|
リクエストの本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"matterPermission": {
object (MatterPermission )
},
"sendEmails": boolean,
"ccMe": boolean
} |
フィールド |
matterPermission |
object (MatterPermission )
追加するアカウントとそのロール。
|
sendEmails |
boolean
追加したアカウントに通知メールを送信するには、true に設定します。通知メールを送信しないようにするには、false に設定します。
|
ccMe |
boolean
sendEmails が true の場合にのみ関係します。メール メッセージでリクエスト元を Cc に追加するには、true に設定します。リクエスト元に Cc を付けないようにするには、false に設定します。
|
レスポンスの本文
成功した場合、レスポンスの本文には MatterPermission
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/ediscovery
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-27 UTC。
[null,null,["最終更新日 2025-02-27 UTC。"],[[["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"]]