Method: matters.addPermissions
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Aggiunge un account come collaboratore della richiesta.
Richiesta HTTP
POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
matterId |
string
L'ID della richiesta.
|
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"matterPermission": {
object (MatterPermission )
},
"sendEmails": boolean,
"ccMe": boolean
} |
Campi |
matterPermission |
object (MatterPermission )
L'account e il relativo ruolo da aggiungere.
|
sendEmails |
boolean
Per inviare un'email di notifica all'account aggiunto, imposta il valore su true. Per non inviare un'email di notifica, imposta il valore su false.
|
ccMe |
boolean
Pertinente solo se sendEmails è true. Per inserire il richiedente in Cc nel messaggio email, imposta il valore su true. Per non inserire il richiedente in Cc, imposta il valore su false.
|
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di MatterPermission
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/ediscovery
Per ulteriori informazioni, consulta la Guida all'autorizzazione.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[],[],null,["# Method: matters.addPermissions\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nAdds an account as a matter collaborator.\n\n### HTTP request\n\n`POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------|\n| `matterId` | `string` The matter ID. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"matterPermission\": { object (/workspace/vault/reference/rest/v1/matters#MatterPermission) }, \"sendEmails\": boolean, \"ccMe\": boolean } ``` |\n\n| Fields ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `matterPermission` | `object (`[MatterPermission](/workspace/vault/reference/rest/v1/matters#MatterPermission)`)` The account and its role to add. |\n| `sendEmails` | `boolean` To send a notification email to the added account, set to **true** . To not send a notification email, set to **false**. |\n| `ccMe` | `boolean` Only relevant if **sendEmails** is **true** . To CC the requestor in the email message, set to **true** . To not CC requestor, set to **false**. |\n\n### Response body\n\nIf successful, the response body contains an instance of [MatterPermission](/workspace/vault/reference/rest/v1/matters#MatterPermission).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/ediscovery`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]