REST Resource: matters.holds.accounts
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:HeldAccount
处于保全状态的账号。此结构不可更改。该账号可以是个人账号,也可以是 Google 群组,具体取决于服务。
若要使用保险柜资源,该账号必须拥有必要的保险柜权限,并且有权访问相应事项。若要访问某项诉讼或调查,相应账号必须是该诉讼或调查的创建者、该诉讼或调查的共享对象,或者拥有查看所有诉讼或调查权限。
JSON 表示法 |
{
"accountId": string,
"holdTime": string,
"email": string,
"firstName": string,
"lastName": string
} |
字段 |
accountId |
string
账号 ID(由 Admin SDK 提供)。
|
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
仅限输出。账号持有人的姓氏。
|
方法 |
|
为保全添加账号。 |
|
为账号解除保全。 |
|
列出保全交易涉及的账号。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]