REST Resource: matters.holds.accounts
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: HeldAccount
Konto objęte blokadą. Ta struktura jest niezmienna. Może to być konto indywidualne lub grupa Google, w zależności od usługi.
Aby korzystać z zasobów Vault, konto musi mieć wymagane uprawnienia Vault i dostęp do sprawy. Aby uzyskać dostęp do sprawy, konto musi być jej twórcą, sprawa musi zostać udostępniona temu kontu lub konto musi mieć uprawnienie Wyświetlanie wszystkich spraw.
Zapis JSON |
{
"accountId": string,
"holdTime": string,
"email": string,
"firstName": string,
"lastName": string
} |
Pola |
accountId |
string
Identyfikator konta podany przez pakiet SDK administratora.
|
holdTime |
string (Timestamp format)
Tylko dane wyjściowe. Data zawieszenia konta. Używa standardu RFC 3339, w którym wygenerowany wynik jest zawsze znormalizowany według normy Z i zawiera 0, 3, 6 lub 9 cyfr ułamkowych. Akceptowane są też przesunięcia inne niż „Z”. Przykłady: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" lub "2014-10-02T15:01:23+05:30" .
|
email |
string
Podstawowy adres e-mail konta. Jeśli jest używany jako parametr wejściowy, ma pierwszeństwo przed parametrem accountId.
|
firstName |
string
Tylko dane wyjściowe. Imię właściciela konta.
|
lastName |
string
Tylko dane wyjściowe. Nazwisko właściciela konta.
|
Metody |
|
Dodaje konto do blokady. |
|
Zwalnia konto z blokady. |
|
Wyświetla listę kont objętych blokadą. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# REST Resource: matters.holds.accounts\n\n- [Resource: HeldAccount](#HeldAccount)\n - [JSON representation](#HeldAccount.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: HeldAccount\n---------------------\n\nAn account covered by a hold. This structure is immutable. It can be an individual account or a Google Group, depending on the service.\n\nTo work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------|\n| ``` { \"accountId\": string, \"holdTime\": string, \"email\": string, \"firstName\": string, \"lastName\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountId` | `string` The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). |\n| `holdTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. When the account was put on hold. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `email` | `string` The primary email address of the account. If used as an input, this takes precedence over **accountId**. |\n| `firstName` | `string` Output only. The first name of the account holder. |\n| `lastName` | `string` Output only. The last name of the account holder. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|---------------------------------------|\n| ### [create](/workspace/vault/reference/rest/v1/matters.holds.accounts/create) | Adds an account to a hold. |\n| ### [delete](/workspace/vault/reference/rest/v1/matters.holds.accounts/delete) | Removes an account from a hold. |\n| ### [list](/workspace/vault/reference/rest/v1/matters.holds.accounts/list) | Lists the accounts covered by a hold. |"]]