REST Resource: matters.holds.accounts
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:HeldAccount
已套用保留狀態的帳戶。這個結構體無法變更。這可以是個人帳戶或 Google 群組,具體取決於服務。
如要使用保管箱資源,帳戶必須具備必要的保管箱權限,並能存取案件。如要存取案件,帳戶必須是該案件的建立者、共用對象,或具備「查看所有案件」權限。
JSON 表示法 |
{
"accountId": string,
"holdTime": string,
"email": string,
"firstName": string,
"lastName": string
} |
欄位 |
accountId |
string
Admin SDK 提供的帳戶 ID。
|
holdTime |
string (Timestamp format)
僅供輸出。帳戶暫緩付款的時間。 使用 RFC 3339,產生的輸出內容一律會經過 Z 規格化,並使用 0、3、6 或 9 小數位數。系統也接受「Z」以外的偏移值。例如:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
email |
string
帳戶的主要電子郵件地址。如果用於輸入,則優先採用 accountId。
|
firstName |
string
僅供輸出。帳戶持有人的名字。
|
lastName |
string
僅供輸出。帳戶持有人的姓氏。
|
方法 |
|
將帳戶新增至訴訟保留。 |
|
將帳戶從保留狀態移除。 |
|
列出訴訟保留的帳戶。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],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. |"]]